25 #ifndef __FIREVISION_COLORMODEL_LUMINANCE_H_ 26 #define __FIREVISION_COLORMODEL_LUMINANCE_H_ 28 #include <fvmodels/color/colormodel.h> 41 #define THRESHOLD_WHITE_Y_LOW 170 51 unsigned int v)
const;
56 unsigned int threshold_white_low_;
Really simple thresholds-based model with some hard-coded thresholds.
color_t determine(unsigned int y, unsigned int u, unsigned int v) const
Determine classification of YUV pixel.
const char * get_name()
Get name of color model.
void print_thresholds()
Print the thresholds to stdout.
ColorModelLuminance(const unsigned int threshold_white_low=THRESHOLD_WHITE_Y_LOW)
Constructor.