00001 #ifndef HSVRANGE_H 00002 #define HSVRANGE_H 00003 00004 #include "recognition.h" 00005 00006 namespace seemicro 00007 { 00008 00016 struct HSVRange : RecognitionModule 00017 { 00018 int hmin, hmax, smin, smax, vmin, vmax; 00019 00020 HSVRange() 00021 { 00022 hmin = 40; 00023 hmax = 110; 00024 smin = 85; 00025 smax = 255; 00026 vmin = 50; 00027 vmax = 255; 00028 } 00029 00030 }; 00031 00035 std::ostream& operator<<(std::ostream& s, const HSVRange& r); 00036 00037 } // seemicro 00038 00039 #endif 00040
1.3.2