46 #ifndef vpHistogramPeak_h 47 #define vpHistogramPeak_h 49 #include <visp3/core/vpConfig.h> 88 inline void setLevel(
unsigned char lvl) { this->level = lvl; };
99 inline void setValue(
unsigned val) { this->value = val; };
110 inline void set(
unsigned char lvl,
unsigned val)
126 inline unsigned char getLevel()
const {
return level; };
137 inline unsigned getValue()
const {
return value; };
142 friend VISP_EXPORT std::ostream &operator<<(std::ostream &s,
const vpHistogramPeak &p);
Declaration of the peak (maximum value) in a gray level image histogram.
void setLevel(unsigned char lvl)
unsigned char getLevel() const
unsigned value
Gray level ot the peak.
virtual ~vpHistogramPeak()
unsigned getValue() const
void setValue(unsigned val)