Interface to RGB histogram metadata (provided by ICaptureMetadata::getRGBHistogram()).
Bins are evenly distributed across the possible range of values, each containing the number of pixels whose value fell within the range for that bin.
Definition at line 113 of file CaptureMetadata.h.
Public Member Functions | |
virtual uint32_t | getBinCount () const =0 |
Returns the number of bins in the histogram. More... | |
virtual Status | getHistogram (std::vector< RGBTuple< uint32_t > > *histogram) const =0 |
Returns the histogram data. More... | |
Static Public Member Functions | |
static const InterfaceID & | id () |
Protected Member Functions | |
~IRGBHistogram () | |
|
inlineprotected |
Definition at line 135 of file CaptureMetadata.h.
|
pure virtual |
Returns the number of bins in the histogram.
|
pure virtual |
Returns the histogram data.
[out] | histogram | The output vector to store the histogram data. Upon successful return, this vector will be replaced with getBinCount() bin values, each containing per-channel pixel counts within an RGBTuple container. |
|
inlinestatic |
Definition at line 117 of file CaptureMetadata.h.