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.
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.
- Parameters
-
[out] | binValues | Returns 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]; }