|
NVIDIA DriveOS Linux NSR SDK API Reference
|
7.0.3.0 Release
|
Go to the documentation of this file.
18 #ifndef NVSIPL_ISP_STAT_H
19 #define NVSIPL_ISP_STAT_H
28 #define NVSIPL_ISP_HIST_BINS (256U)
32 #define NVSIPL_ISP_MAX_COLOR_COMPONENT (4U)
37 #define NVSIPL_ISP_HIST_KNEE_POINTS (8U)
42 #define NVSIPL_ISP_RADTF_POINTS (6U)
48 #define NVSIPL_ISP_MAX_LAC_ROI (4U)
53 #define NVSIPL_ISP_MAX_INPUT_PLANES (3U)
58 #define NVSIPL_ISP_MAX_COLORMATRIX_DIM (3U)
65 #define NVSIPL_ISP_MAX_LAC_ROI_WINDOWS (1024U)
433 std::array<NvSiplISPSplineControlPoint, NVSIPL_ISP_RADTF_POINTS>
controlPoints;
454 std::array<uint8_t, NVSIPL_ISP_HIST_KNEE_POINTS>
knees;
461 std::array<uint8_t, NVSIPL_ISP_HIST_KNEE_POINTS>
ranges;
509 std::array<NvSiplISPLocalAvgClipStatsROIData, NVSIPL_ISP_MAX_LAC_ROI>
data;
524 std::array<float_t, NVSIPL_ISP_MAX_COLOR_COMPONENT>
min;
529 std::array<float_t, NVSIPL_ISP_MAX_COLOR_COMPONENT>
max;
533 std::array<NvSiplBool, NVSIPL_ISP_MAX_LAC_ROI>
roiEnable;
537 std::array<NvSiplISPStatisticsWindows, NVSIPL_ISP_MAX_LAC_ROI>
windows;
598 std::array<uint8_t, NVSIPL_ISP_HIST_KNEE_POINTS>
knees;
605 std::array<uint8_t, NVSIPL_ISP_HIST_KNEE_POINTS>
ranges;
660 std::array<NvSiplISPHistogramStatsOverride, 2>
histStats;
668 std::array<NvSiplISPLocalAvgClipStats, 2>
lacStats;
676 std::array<NvSiplISPBadPixelStats, 1>
bpStats;
NvSiplRect rectangularMask
Holds a rectangular mask for excluding pixels outside a specified area.
uint32_t highMagOutWin
Holds accumulated pixel adjustment for pixels corrected upward outside the window.
std::array< uint32_t, NVSIPL_ISP_MAX_COLOR_COMPONENT > excludedCount
Holds the number of pixels excluded by the elliptical mask for each color component.
float_t offset
Holds offset to be applied to input data prior to bin mapping.
NvIspStatsHeaderInfo statsInfo
stats header info
double_t slope
Holds slope of the spline curve at the control point.
Holds local average and clip statistics block (LAC Stats).
Holds controls for local average and clip statistics (LAC Stats).
Holds local average and clip statistics data for a region of interest.
std::array< float_t, NVSIPL_ISP_MAX_COLOR_COMPONENT > max
Holds maximum value of pixels in RGGB/RCCB/RCCC order.
float_t angle
Holds angle of the ellipse horizontal axis from X axis in degrees in clockwise direction.
uint32_t numWindowsH
Holds number of windows horizontally in one region of interest.
std::array< NvSiplISPLocalAvgClipStatsROIData, NVSIPL_ISP_MAX_LAC_ROI > data
Holds statistics data for each region of interest.
uint32_t topOutlierOutWin
Number of pixels detected as top outlier if extremum thresholding is enabled outside of the ROI Valid...
Holds dead pixel correction statistics (DPC Stats).
uint32_t inlierCond3OutWin
Number of pixels flagged as inlier under Condition 3 outside of the ROI Valid Range: [0,...
NvSiplPoint startOffset
Holds the position of the top left pixel in the top left window.
NvSiplBool ellipticalMaskEnable
Holds a Boolean to enable an elliptical mask for excluding pixels outside a specified area.
uint32_t highMagInWin
Holds accumulated pixel adjustment for pixels corrected upward within the window.
uint32_t inlierCond6OutWin
Number of pixels flagged as inlier under Condition 6 outside of the ROI Valid Range: [0,...
NVIDIA SIPL: Common Data Structures - SIPL
Defines a radial transform.
Holds controls for histogram statistics (HIST Stats).
uint32_t inlierCond1OutWin
Number of pixels flagged as inlier under Condition 1 outside of the ROI Valid Range: [0,...
std::array< uint8_t, NVSIPL_ISP_HIST_KNEE_POINTS > ranges
Holds range of the pixel values to be considered for each zone.
uint32_t lowMagOutWin
Holds accumulated pixel adjustment for pixels corrected downward outside the window.
uint32_t detectedOutWin
Number of pixels for which a local gradient is detected outside of the ROI Valid Range: [0,...
NvSiplRect rectangularMask
Holds a rectangular mask for excluding pixels outside a specified area.
NvSiplBool disableLensShadingCorrection
boolean flag to disable lens shading compensation for histogram statistics block
Holds dead pixel correction statistics (DPC Stats) metrics.
uint32_t lowMagInWin
Holds accumulated pixel adjustment for pixels corrected downward within the window.
NvSiplISPRadialTF radialTF
Holds a radial transfer function for elliptical weight.
NvSiplBool enable
Holds a Boolean to enable the local average and clip statistics block.
#define NVSIPL_ISP_HIST_BINS
Number of histogram bins.
std::array< float_t, NVSIPL_ISP_MAX_COLOR_COMPONENT > min
Holds minimum value of pixels in RGGB/RCCB/RCCC order.
NvSiplPointFloat center
Holds center of the ellipse.
uint32_t inlierCond2OutWin
Number of pixels flagged as inlier under Condition 2 outside of the ROI Valid Range: [0,...
std::array< uint8_t, NVSIPL_ISP_HIST_KNEE_POINTS > ranges
Holds range of the pixel values to be considered for each zone.
NvSiplISPDeadPixelCorrectionStatsROIData outsideRoi
Holds the statistics for dead pixels outside the ROI specified.
NvSiplISPEllipse ellipticalMask
Holds an elliptical mask for excluding pixels outside a specified area.
Defines the location of a point on a two-dimensional object.
NvSiplISPEllipse ellipticalMask
Holds an elliptical mask for excluding pixels outside specified area.
std::array< uint8_t, NVSIPL_ISP_HIST_KNEE_POINTS > knees
Holds bin index specifying different zones in the histogram.
uint32_t horizontalAxis
Holds horizontal axis of the ellipse.
NvSiplBool enable
Holds a Boolean to enable the bad pixel statistics block.
std::array< NvSiplISPHistogramStats, 3 > histStatsSettings
Structure containing settings for histogram statistics block.
SIPL ISP Histogram Statistics Override Params.
std::array< uint8_t, NVSIPL_ISP_HIST_KNEE_POINTS > knees
Holds bin index specifying different zones in the histogram.
std::array< NvSiplISPStatisticsWindows, NVSIPL_ISP_MAX_LAC_ROI > windows
Holds local average and clip windows for each region of interest.
std::array< std::array< uint32_t, NVSIPL_ISP_MAX_COLOR_COMPONENT >, NVSIPL_ISP_MAX_LAC_ROI_WINDOWS > clippedCount
Holds number of clipped pixels for each color component in each window in RGGB/RCCB/RCCC order.
ISP statistics container for settings attributes.
std::array< std::array< uint32_t, NVSIPL_ISP_MAX_COLOR_COMPONENT >, NVSIPL_ISP_HIST_BINS > data
Holds histogram data for each color component in RGGB/RCCB/RCCC order.
std::array< NvSiplBool, 2 > enableHistStatsOverride
boolean flag to enable histogram statistics settings override
NvIspStatsHeaderInfo statsInfo
stats header info
uint32_t inlierCond5OutWin
Number of pixels flagged as inlier under Condition 5 outside of the ROI Valid Range: [0,...
#define NVSIPL_ISP_MAX_LAC_ROI_WINDOWS
Maximum number of windows for local average and clip in a region of interest.
ISP statistics container for data attributes.
float_t y
Holds Y coordinate of the control point.
Defines the windows used in ISP LAC stats calculations.
uint32_t bottomOutlierOutWin
Number of pixels detected as bottom outlier if extremum thresholding is enabled outside of the ROI Va...
NvSiplISPDeadPixelCorrectionStatsData dpStatsData
Structure containing dead pixel statistics block data (ISP7)
NvSiplISPBadPixelStatsData bpStatsData
Structure containing bad pixel statistics block data (ISP6)
NvSiplBool ellipticalMaskEnable
Holds a Boolean to enable an elliptical mask for excluding pixels outside a specified area.
NvSiplBool enable
Holds a Boolean to enable histogram statistics block.
uint32_t outlierOutWin
Number of pixels flagged as outlier outside of the ROI Valid Range: [0, UINT32_MAX].
std::array< NvSiplISPSplineControlPoint, NVSIPL_ISP_RADTF_POINTS > controlPoints
Defines spline control point for radial transfer function.
NvSiplISPEllipse ellipticalMask
Holds an elliptical mask for excluding pixels outside a specified area.
Holds a rectangular region of a surface.
uint32_t height
Holds height of the window in pixels.
ISP statistics container for settings and data.
std::array< NvSiplBool, NVSIPL_ISP_MAX_LAC_ROI > ellipticalMaskEnable
Holds a Boolean to enable an elliptical mask for excluding pixels outside a specified area for each r...
uint32_t verticalInterval
Holds the distance between the top edge of one window and a vertically adjacent window.
Holds bad pixel statistics (BP Stats).
uint32_t lowOutWin
Holds bad pixel count for pixels corrected downward outside the window.
NvSiplRect rectangularMask
Holds rectangular mask for excluding pixel outside a specified area.
std::array< NvSiplISPLocalAvgClipStats, 2 > lacStats
Structure containing override settings for local average clip statistics block.
std::array< NvSiplBool, 2 > enableLacStatsOverride
boolean flag to enable local average clip statistics settings override
float_t offset
Holds offset to be applied to input data prior to bin mapping.
Holds histogram statistics (HIST Stats).
std::array< NvSiplISPLocalAvgClipStats, 2 > lacStatsSettings
Structure containing settings for local average clip statistics block.
uint32_t numWindowsV
Holds number of windows vertically.
uint32_t lowInWin
Holds bad pixel count for pixels corrected downward within the window.
NvSiplBool ellipticalWeightEnable
Holds a Boolean to enable elliptical weighting of pixels based on spatial location.
uint32_t horizontalInterval
Holds the distance between the left edge of one window and a horizontally adjacent window.
std::array< NvSiplBool, 1 > enableBpStatsOverride
boolean flag to enable bad pixel statistics settings override
Defines the float-precision location of a point on a two-dimensional object.
uint32_t numWindowsH
Holds number of windows horizontally.
Defines a spline control point.
Holds controls for bad pixel statistics (BP Stats).
std::array< NvSiplBool, NVSIPL_ISP_MAX_LAC_ROI > roiEnable
Holds a Boolean to enable an individual region of interest.
NvSiplISPEllipse radialTransform
Holds ellipse for radial transform.
uint32_t NvSiplBool
A boolean value, holding SIPL_TRUE or SIPL_FALSE.
SIPL ISP Statistics Override Parameters.
std::array< std::array< float_t, NVSIPL_ISP_MAX_COLOR_COMPONENT >, NVSIPL_ISP_MAX_LAC_ROI_WINDOWS > average
Holds average pixel value for each color component in each window in RGGB/RCCB/RCCC order.
std::array< std::array< uint32_t, NVSIPL_ISP_MAX_COLOR_COMPONENT >, NVSIPL_ISP_MAX_LAC_ROI_WINDOWS > maskedOffCount
Holds the number of pixels excluded by the elliptical mask for each color component in each window in...
uint32_t numWindowsV
Holds number of windows vertically in one region of interest.
std::array< NvSiplISPHistogramStatsOverride, 2 > histStats
Structure containing override settings for histogram statistics block.
uint32_t inlierCond4OutWin
Number of pixels flagged as inlier under Condition 4 outside of the ROI Valid Range: [0,...
NvSiplISPDeadPixelCorrectionStatsROIData insideRoi
Holds the statistics for dead pixels inside the ROI specified.
IspStatsSettings ispStatsSettings
Holds the ISP statistics settings for the previous ISP output frame.
Contains the classes and variables for implementation of SIPL.
std::array< NvSiplISPLocalAvgClipStatsData, 2 > lacStatsData
Structure containing local average clip statistics block data.
NvIspStatsHeaderInfo statsInfo
stats header info
std::array< NvSiplISPBadPixelStats, 1 > bpStats
Structure containing override settings for bad pixel statistics block.
IspStatsData ispStatsData
Holds the ISP statistics data for the previous ISP output frame.
std::array< NvSiplISPHistogramStatsData, 3 > histStatsData
Structure containing histogram statistics block data.
float_t x
Holds X coordinate of the control point.
uint32_t width
Holds width of the window in pixels.
NvSiplISPBadPixelStats bpStatsSettings
Structure containing settings for bad pixel statistics block.
uint32_t verticalAxis
Holds vertical axis of the ellipse.
uint32_t highInWin
Holds bad pixel count for pixels corrected upward within the window.
NvSiplBool enable
Holds a Boolean to enable histogram statistics Control block.
uint32_t highOutWin
Holds bad pixel count for pixels corrected upward outside the window.