#include <MultiSenseTypes.hh>
Public Member Functions | |
Histogram () | |
Public Attributes | |
uint32_t | bins |
uint32_t | channels |
std::vector< uint32_t > | data |
Class which stores a image histogram from a camera image. This is used as an input when querying a image histogram.
Example code to query a image histogram for a left image corresponding to frameId 100
Definition at line 1258 of file MultiSenseTypes.hh.
|
inline |
Default constructor
Definition at line 1264 of file MultiSenseTypes.hh.
uint32_t crl::multisense::image::Histogram::bins |
The number of possible pixel values for each color channel
Definition at line 1271 of file MultiSenseTypes.hh.
uint32_t crl::multisense::image::Histogram::channels |
The number of color channels in the given histogram. For color images this is 4 corresponding to the GRBG Bayer channels
Definition at line 1266 of file MultiSenseTypes.hh.
std::vector<uint32_t> crl::multisense::image::Histogram::data |
The histogram data concatinated serially in GRBG order. The length of data is equal to channels * bins
Definition at line 1274 of file MultiSenseTypes.hh.