Jetson Linux API Reference

32.7.1 Release
Argus::Ext::INonLinearHistogram Class Referenceabstract

Detailed Description

Interface used to query the metadata to correctly interpret the compressed histogram data. Returns the normalized bin values to correctly interpret the compressed bayer histogram data. This interface will only be exposed in case the histogram is compressed.

This interface is available from:

Definition at line 69 of file NonLinearHistogram.h.

Inheritance diagram for Argus::Ext::INonLinearHistogram:
Collaboration diagram for Argus::Ext::INonLinearHistogram:

Public Member Functions

virtual Status getHistogramBinValues (std::vector< BayerTuple< float > > *binValues) const =0
 Returns the average bayer values of bins for bayer histogram data. More...

Static Public Member Functions

static const InterfaceIDid ()

Protected Member Functions

 ~INonLinearHistogram ()

Constructor & Destructor Documentation

◆ ~INonLinearHistogram()

Argus::Ext::INonLinearHistogram::~INonLinearHistogram ( )

Definition at line 100 of file NonLinearHistogram.h.

Member Function Documentation

◆ getHistogramBinValues()

virtual Status Argus::Ext::INonLinearHistogram::getHistogramBinValues ( std::vector< BayerTuple< float > > *  binValues) const
pure virtual

Returns the average bayer values of bins for bayer histogram data.

[out]binValuesReturns the normalized average bin values (float in [0,1]) for bins provided by IBayerHistogram interface. In case the histogram data provided by IBayerHistogram::getHistogram() is non-linear, this method will return a vector having the same size as histogram (i.e. IBayerHistogram::getBinCount()), and will contain normalized bayer colour values to which the histogram bin of the same index corresponds.

For Example, in case of Non Linear Histogram

IBayerHistogram->getHistogram(&histogram); INonLinearHistogram->getBinValues(&values);

for(int i = 0 ; i < histogram.size() ; i++) { cout<<" bin: " << i <<" normalized bin Value: " << values[i] <<" frequency: " << histogram[i]; }

◆ id()

static const InterfaceID& Argus::Ext::INonLinearHistogram::id ( )

Definition at line 72 of file NonLinearHistogram.h.

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