NVIDIA DRIVE 5.0 Linux SDK API Reference

5.0.10.3 Release

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

Detailed Description

Holds the focus metric statistics settings.

It calculates the focus metric in each focus window. The stats can only be generated on Bayer data.

Definition at line 589 of file nvmedia_isp.h.

Collaboration diagram for NvMediaISPStatsFocusMetricSettings:

Data Fields

NvMediaBool enable
 Enable focus metric statistics. More...
 
NvMediaBool noiseCompensation
 Whether to enable noise compensate when calculating focus metrics. More...
 
float noiseCompensationGain
 Application of the noise compensation when noise compensation is enabled. More...
 
float metricGain
 Gain applied to the accumulated focus metric. More...
 
unsigned int numCoefficients
 Number of the coefficients for each color component. More...
 
float * coefficient [NVMEDIA_ISP_COLOR_COMPONENT_NUM]
 Coefficients of the filter to compute the focus metric for each color component. More...
 
float metricLowerLimit
 Focus metric values lower than this limit will be clamped to zero. More...
 
float inputThreshold
 Maximum value of the input pixels to be used in the calculation of the focus metric. More...
 
NvMediaISPStatsWindows windows
 Windows for focus metric calculation. More...
 

Field Documentation

float* NvMediaISPStatsFocusMetricSettings::coefficient[NVMEDIA_ISP_COLOR_COMPONENT_NUM]

Coefficients of the filter to compute the focus metric for each color component.

An example of 9-tap filter: (-1, -2, -1, 2, 4, 2, -1, -2, -1)

Definition at line 620 of file nvmedia_isp.h.

NvMediaBool NvMediaISPStatsFocusMetricSettings::enable

Enable focus metric statistics.

Definition at line 592 of file nvmedia_isp.h.

float NvMediaISPStatsFocusMetricSettings::inputThreshold

Maximum value of the input pixels to be used in the calculation of the focus metric.

Definition at line 629 of file nvmedia_isp.h.

float NvMediaISPStatsFocusMetricSettings::metricGain

Gain applied to the accumulated focus metric.

This value will be rounded to the nearest value that the hardware supports. Example of valid values are 1, 0.5, 0.25.

Definition at line 609 of file nvmedia_isp.h.

float NvMediaISPStatsFocusMetricSettings::metricLowerLimit

Focus metric values lower than this limit will be clamped to zero.

Definition at line 623 of file nvmedia_isp.h.

NvMediaBool NvMediaISPStatsFocusMetricSettings::noiseCompensation

Whether to enable noise compensate when calculating focus metrics.

Definition at line 595 of file nvmedia_isp.h.

float NvMediaISPStatsFocusMetricSettings::noiseCompensationGain

Application of the noise compensation when noise compensation is enabled.

This value will be rounded to the nearest value that the hardware supports.

Definition at line 602 of file nvmedia_isp.h.

unsigned int NvMediaISPStatsFocusMetricSettings::numCoefficients

Number of the coefficients for each color component.

Definition at line 614 of file nvmedia_isp.h.

NvMediaISPStatsWindows NvMediaISPStatsFocusMetricSettings::windows

Windows for focus metric calculation.

Definition at line 632 of file nvmedia_isp.h.


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