NVIDIA DRIVE OS Linux SDK API Reference

5.1.12.0 Release

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
NvMediaISPHistogramStats Struct Reference

Detailed Description

Holds controls for histogram statistics (HIST Stats).

Definition at line 161 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

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 212 of file nvmedia_isp_stat.h.

NvMediaBool NvMediaISPHistogramStats::ellipticalMaskEnable

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

Definition at line 199 of file nvmedia_isp_stat.h.

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 218 of file nvmedia_isp_stat.h.

NvMediaBool NvMediaISPHistogramStats::enable

Holds a Boolean to enable histogram statistics block.

Definition at line 165 of file nvmedia_isp_stat.h.

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 176 of file nvmedia_isp_stat.h.

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 170 of file nvmedia_isp_stat.h.

NvMediaISPRadialTF NvMediaISPHistogramStats::radialTF

Holds a radial transfer function for elliptical weight.

Definition at line 223 of file nvmedia_isp_stat.h.

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 183 of file nvmedia_isp_stat.h.

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.

The rectangle must be within the input image, and must be a valid rectangle ((right > left) && (bottom > top)), or must be ((0,0), (0,0)) to disable the rectangular mask.

Definition at line 194 of file nvmedia_isp_stat.h.


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