NVIDIA DRIVE OS Linux API Reference

5.1.3.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 1196 of file nvmedia_isp.h.

Collaboration diagram for NvMediaISPHistogramStats:

Data Fields

NvMediaBool enable
 Holds 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 rectangular mask for selecting pixels. More...
 
NvMediaBool ellipticalMaskEnable
 Holds boolean to enable mask for excluding pixels outside specified elliptical area. More...
 
NvMediaISPEllipse ellipticalMask
 Holds elliptical mask for excluding pixels outside specified elliptical area. More...
 
NvMediaBool ellipticalWeightEnable
 Holds 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 elliptical mask for excluding pixels outside specified elliptical area.

Coordinates of image top-left & bottom-right points are (0, 0) & (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 hortizontal 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 1248 of file nvmedia_isp.h.

NvMediaBool NvMediaISPHistogramStats::ellipticalMaskEnable

Holds boolean to enable mask for excluding pixels outside specified elliptical area.

Definition at line 1234 of file nvmedia_isp.h.

NvMediaBool NvMediaISPHistogramStats::ellipticalWeightEnable

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

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

Definition at line 1254 of file nvmedia_isp.h.

NvMediaBool NvMediaISPHistogramStats::enable

Holds boolean to enable histogram statistics block.

Definition at line 1200 of file nvmedia_isp.h.

uint8_t NvMediaISPHistogramStats::knees[NVM_ISP_HIST_KNEE_POINTS]

Holds bin index specifying different zones in the histogram.

Each zone can have different number of bins.

  • Supported values: [1, 255]

Definition at line 1211 of file nvmedia_isp.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 1205 of file nvmedia_isp.h.

NvMediaISPRadialTF NvMediaISPHistogramStats::radialTF

Holds a radial transfer function for elliptical weight.

Definition at line 1259 of file nvmedia_isp.h.

uint8_t NvMediaISPHistogramStats::ranges[NVM_ISP_HIST_KNEE_POINTS]

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

Whole pixel range is divided into NVM_ISP_HIST_KNEE_POINTS zones.

  • Supported values: [0, 21]

Definition at line 1218 of file nvmedia_isp.h.

NvMediaRect NvMediaISPHistogramStats::rectangularMask

Holds rectangular mask for selecting pixels.

Coordinates of image top-left & bottom-right points are (0, 0) & (width, height) respectively. Either memset the rectangular to 0 or set it rectangle to include full image to have no rectangular mask.

  • Supported values: Rectangle must be within input image & must be a valid rectangle ((right > left) && (bottom > top))

Definition at line 1229 of file nvmedia_isp.h.


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