NVIDIA DriveOS Linux NSR SDK API Reference

7.0.3.0 Release
nvsipl::NvSiplISPHistogramStats Struct Reference

Detailed Description

Holds controls for histogram statistics (HIST Stats).

Definition at line 439 of file NvSIPLISPStat.hpp.

Collaboration diagram for nvsipl::NvSiplISPHistogramStats:

Data Fields

NvSiplBool enable
 Holds a Boolean to enable histogram statistics block. More...
 
float_t offset
 Holds offset to be applied to input data prior to bin mapping. More...
 
std::array< uint8_t, NVSIPL_ISP_HIST_KNEE_POINTSknees
 Holds bin index specifying different zones in the histogram. More...
 
std::array< uint8_t, NVSIPL_ISP_HIST_KNEE_POINTSranges
 Holds \(log_2\) range of the pixel values to be considered for each zone. More...
 
NvSiplRect rectangularMask
 Holds a rectangular mask for excluding pixels outside a specified area. More...
 
NvSiplBool ellipticalMaskEnable
 Holds a Boolean to enable an elliptical mask for excluding pixels outside a specified area. More...
 
NvSiplISPEllipse ellipticalMask
 Holds an elliptical mask for excluding pixels outside a specified area. More...
 
NvSiplBool ellipticalWeightEnable
 Holds a Boolean to enable elliptical weighting of pixels based on spatial location. More...
 
NvSiplISPRadialTF radialTF
 Holds a radial transfer function for elliptical weight. More...
 

Field Documentation

◆ ellipticalMask

NvSiplISPEllipse nvsipl::NvSiplISPHistogramStats::ellipticalMask

Holds an elliptical mask for excluding pixels outside a specified area.

Coordinates of the image top left and bottom right points are (0, 0) and (width, height), respectively.

Definition at line 488 of file NvSIPLISPStat.hpp.

◆ ellipticalMaskEnable

NvSiplBool nvsipl::NvSiplISPHistogramStats::ellipticalMaskEnable

Holds a Boolean to enable an elliptical mask for excluding pixels outside a specified area.

Definition at line 481 of file NvSIPLISPStat.hpp.

◆ ellipticalWeightEnable

NvSiplBool nvsipl::NvSiplISPHistogramStats::ellipticalWeightEnable

Holds a Boolean to enable elliptical weighting of pixels based on spatial location.

This can be used to compensate for lens shading when the histogram is measured before lens shading correction.

Definition at line 494 of file NvSIPLISPStat.hpp.

◆ enable

NvSiplBool nvsipl::NvSiplISPHistogramStats::enable

Holds a Boolean to enable histogram statistics block.

Definition at line 443 of file NvSIPLISPStat.hpp.

◆ knees

std::array<uint8_t, NVSIPL_ISP_HIST_KNEE_POINTS> nvsipl::NvSiplISPHistogramStats::knees

Holds bin index specifying different zones in the histogram.

Each zone can have a different number of bins. Valid Range: [1, 255]

Definition at line 454 of file NvSIPLISPStat.hpp.

◆ offset

float_t nvsipl::NvSiplISPHistogramStats::offset

Holds offset to be applied to input data prior to bin mapping.

Valid Range: [-2.0, 2.0]

Definition at line 448 of file NvSIPLISPStat.hpp.

◆ radialTF

NvSiplISPRadialTF nvsipl::NvSiplISPHistogramStats::radialTF

Holds a radial transfer function for elliptical weight.

Valid Range: Check the declaration of NvSiplISPRadialTF.

Definition at line 499 of file NvSIPLISPStat.hpp.

◆ ranges

std::array<uint8_t, NVSIPL_ISP_HIST_KNEE_POINTS> nvsipl::NvSiplISPHistogramStats::ranges

Holds \(log_2\) range of the pixel values to be considered for each zone.

The whole pixel range is divided into NVSIPL_ISP_HIST_KNEE_POINTS zones. Valid Range: [0, 21]

Definition at line 461 of file NvSIPLISPStat.hpp.

◆ rectangularMask

NvSiplRect nvsipl::NvSiplISPHistogramStats::rectangularMask

Holds a rectangular mask for excluding pixels outside a specified area.

The coordinates of image top left and bottom right points are (0, 0) and (width, height), respectively. Set the rectangle mask to include the full image (or cropped image for the case input cropping is enabled) if no pixels need to be excluded.

The rectangle settings(x0, y0, x1, y1) must follow the constraints listed below:

  • (x0 >= 0) and (y0 >= 0)
  • x0 and x1 should be even
  • (x1 <= image width) and (y1 <= image height)
  • rectangle width(x1 - x0) >= 2 and height(y1 - y0) >= 2

Definition at line 476 of file NvSIPLISPStat.hpp.


The documentation for this struct was generated from the following file: