The configuration of the histogram generator. More...
#include <Histogram.h>
Public Member Functions | |
HistogramConfig () | |
The default constructor disables the histogram generator. | |
bool | operator== (const HistogramConfig &other) const |
Compare two requested configurations to see if they would return the same data. | |
bool | operator!= (const HistogramConfig &other) const |
Compare two requested configurations to see if they would return the same data. | |
Public Attributes | |
Rect | region |
Rectangle specifying the region over which a histogram is computed. | |
unsigned | buckets |
The requested number of buckets in the histogram. | |
bool | enabled |
Whether or not a histogram should be generated at all. |
The configuration of the histogram generator.
Definition at line 12 of file Histogram.h.
FCam::HistogramConfig::HistogramConfig | ( | ) | [inline] |
The default constructor disables the histogram generator.
Definition at line 16 of file Histogram.h.
bool FCam::HistogramConfig::operator== | ( | const HistogramConfig & | other | ) | const [inline] |
Compare two requested configurations to see if they would return the same data.
Definition at line 32 of file Histogram.h.
bool FCam::HistogramConfig::operator!= | ( | const HistogramConfig & | other | ) | const [inline] |
Compare two requested configurations to see if they would return the same data.
Definition at line 41 of file Histogram.h.
Rectangle specifying the region over which a histogram is computed.
Definition at line 20 of file Histogram.h.
unsigned FCam::HistogramConfig::buckets |
The requested number of buckets in the histogram.
The N900 implementation ignores this request and gives you a 64-bucket histogram.
Definition at line 25 of file Histogram.h.