46 #ifndef vpHistogramValey_h 47 #define vpHistogramValey_h 49 #include <visp3/core/vpHistogramPeak.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)
void setValue(unsigned val)
vpHistogramValey(unsigned char lvl, unsigned val)
virtual ~vpHistogramValey()
Declaration of the peak (maximum value) in a gray level image histogram.
vpHistogramPeak & operator=(const vpHistogramPeak &p)
unsigned char getLevel() const
unsigned getValue() const
vpHistogramValey(const vpHistogramValey &v)
unsigned value
Gray level ot the peak.
friend VISP_EXPORT std::ostream & operator<<(std::ostream &s, const vpHistogramPeak &p)
std::cout a peak
Declaration of the valey (minimum value) in a gray level image histogram.
bool operator==(const vpHistogramPeak &p) const
void setLevel(unsigned char lvl)