25 #include <fvmodels/color/thresholds_luminance.h> 31 namespace firevision {
41 ColorModelLuminance::ColorModelLuminance(
const unsigned int threshold_white_low)
43 threshold_white_low_ = threshold_white_low;
47 ColorModelLuminance::determine(
unsigned int y,
unsigned int u,
unsigned int v)
const 49 if (y >= threshold_white_low_) {
57 ColorModelLuminance::get_name()
59 return "ColorModelLuminance";
65 ColorModelLuminance::print_thresholds()
67 cout <<
"ColorModelLuminance" << endl
68 <<
"==========================================================" << endl
69 <<
"White: y_low=" << threshold_white_low_ << endl;