25#include <fvmodels/color/thresholds_luminance.h>
43 threshold_white_low_ = threshold_white_low;
49 if (y >= threshold_white_low_) {
59 return "ColorModelLuminance";
67 cout <<
"ColorModelLuminance" << endl
68 <<
"==========================================================" << endl
69 <<
"White: y_low=" << threshold_white_low_ << endl;
void print_thresholds()
Print the thresholds to stdout.
const char * get_name()
Get name of color model.
color_t determine(unsigned int y, unsigned int u, unsigned int v) const
Determine classification of YUV pixel.
ColorModelLuminance(const unsigned int threshold_white_low=THRESHOLD_WHITE_Y_LOW)
Constructor.