27 #include <fvmodels/color/thresholds_luminance.h> 44 ColorModelLuminance::ColorModelLuminance(
const unsigned int threshold_white_low)
46 threshold_white_low_ = threshold_white_low;
50 ColorModelLuminance::determine(
unsigned int y,
54 if ( y >= threshold_white_low_) {
63 ColorModelLuminance::get_name()
65 return "ColorModelLuminance";
72 ColorModelLuminance::print_thresholds()
74 cout <<
"ColorModelLuminance" << endl
75 <<
"==========================================================" << endl
76 <<
"White: y_low=" << threshold_white_low_