40 #ifndef vpHistogramPeak_h
41 #define vpHistogramPeak_h
43 #include <visp3/core/vpConfig.h>
82 inline void setLevel(
unsigned char lvl) { this->level = lvl; };
93 inline void setValue(
unsigned val) { this->value = val; };
104 inline void set(
unsigned char lvl,
unsigned val)
120 inline unsigned char getLevel()
const {
return level; };
131 inline unsigned getValue()
const {
return value; };
136 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 set(unsigned char lvl, unsigned val)
void setLevel(unsigned char lvl)
virtual ~vpHistogramPeak()
unsigned value
Gray level ot the peak.
void setValue(unsigned val)
unsigned getValue() const
unsigned char getLevel() const