NVIDIA DRIVE OS Linux SDK API Reference

5.2.6 Release
For Test and Development only

Detailed Description

Holds controls for histogram statistics (HIST Stats).

Definition at line 160 of file nvmedia_isp_stat.h.

Collaboration diagram for NvMediaISPHistogramStats:

Data Fields

NvMediaBool 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 [NVM_ISP_HIST_KNEE_POINTS]
 Holds bin index specifying different zones in the histogram. More...
 
uint8_t ranges [NVM_ISP_HIST_KNEE_POINTS]
 Holds \(log_2\) range of the pixel values to be considered for each zone. More...
 
NvMediaRect rectangularMask
 Holds a rectangular mask for excluding pixels outside a specified area. More...
 
NvMediaBool ellipticalMaskEnable
 Holds a Boolean to enable an elliptical mask for excluding pixels outside a specified area. More...
 
NvMediaISPEllipse ellipticalMask
 Holds an elliptical mask for excluding pixels outside a specified area. More...
 
NvMediaBool ellipticalWeightEnable
 Holds a Boolean to enable elliptical weighting of pixels based on spatial location. More...
 
NvMediaISPRadialTF radialTF
 Holds a radial transfer function for elliptical weight. More...
 

Field Documentation

◆ ellipticalMask

NvMediaISPEllipse NvMediaISPHistogramStats::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 215 of file nvmedia_isp_stat.h.

◆ ellipticalMaskEnable

NvMediaBool NvMediaISPHistogramStats::ellipticalMaskEnable

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

Definition at line 202 of file nvmedia_isp_stat.h.

◆ ellipticalWeightEnable

NvMediaBool NvMediaISPHistogramStats::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 221 of file nvmedia_isp_stat.h.

◆ enable

NvMediaBool NvMediaISPHistogramStats::enable

Holds a Boolean to enable histogram statistics block.

Definition at line 164 of file nvmedia_isp_stat.h.

◆ knees

uint8_t NvMediaISPHistogramStats::knees[NVM_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 175 of file nvmedia_isp_stat.h.

◆ offset

float_t NvMediaISPHistogramStats::offset

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

  • Supported values: [-2.0, 2.0]

Definition at line 169 of file nvmedia_isp_stat.h.

◆ radialTF

NvMediaISPRadialTF NvMediaISPHistogramStats::radialTF

Holds a radial transfer function for elliptical weight.

Definition at line 226 of file nvmedia_isp_stat.h.

◆ ranges

uint8_t NvMediaISPHistogramStats::ranges[NVM_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 NVM_ISP_HIST_KNEE_POINTS zones.

  • Supported values: [0, 21]

Definition at line 182 of file nvmedia_isp_stat.h.

◆ rectangularMask

NvMediaRect NvMediaISPHistogramStats::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 197 of file nvmedia_isp_stat.h.


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