NVIDIA DRIVE OS Linux SDK API Reference

6.0.5 Release
nvsipl::NvSiplISPHistogramStats Struct Reference

Detailed Description

Holds controls for histogram statistics (HIST Stats).

Definition at line 376 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...
 
uint8_t knees [NVSIPL_ISP_HIST_KNEE_POINTS]
 Holds bin index specifying different zones in the histogram. More...
 
uint8_t ranges [NVSIPL_ISP_HIST_KNEE_POINTS]
 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.

  • Supported values for X coordinate of the center: [0, input width]
  • Supported values for Y coordinate of the center: [0, input height]
  • Supported values for horizontal axis: [16, 2 x input width]
  • Supported values for vertical axis: [16, 2 x input height]
  • Supported values for angle: [0.0, 360.0]

Definition at line 431 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 418 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 437 of file NvSIPLISPStat.hpp.

◆ enable

NvSiplBool nvsipl::NvSiplISPHistogramStats::enable

Holds a Boolean to enable histogram statistics block.

Definition at line 380 of file NvSIPLISPStat.hpp.

◆ knees

uint8_t nvsipl::NvSiplISPHistogramStats::knees[NVSIPL_ISP_HIST_KNEE_POINTS]

Holds bin index specifying different zones in the histogram.

Each zone can have a different number of bins.

  • Supported values: [1, 255]

Definition at line 391 of file NvSIPLISPStat.hpp.

◆ offset

float_t nvsipl::NvSiplISPHistogramStats::offset

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

  • Supported values: [-2.0, 2.0]

Definition at line 385 of file NvSIPLISPStat.hpp.

◆ radialTF

NvSiplISPRadialTF nvsipl::NvSiplISPHistogramStats::radialTF

Holds a radial transfer function for elliptical weight.

Definition at line 442 of file NvSIPLISPStat.hpp.

◆ ranges

uint8_t nvsipl::NvSiplISPHistogramStats::ranges[NVSIPL_ISP_HIST_KNEE_POINTS]

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.

  • Supported values: [0, 21]

Definition at line 398 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. A rectangle ((right > left) && (bottom > top)), or must be ((0,0), (0,0)) to disable the rectangular mask.

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 413 of file NvSIPLISPStat.hpp.


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