41 #ifndef VP_HISTOGRAM_VALEY_H
42 #define VP_HISTOGRAM_VALEY_H
44 #include <visp3/core/vpHistogramPeak.h>
81 inline void setLevel(
unsigned char lvl) { this->level = lvl; };
92 inline void setValue(
unsigned val) { this->value = val; };
103 inline void set(
unsigned char lvl,
unsigned val)
Declaration of the peak (maximum value) in a gray level image histogram.
friend VISP_EXPORT std::ostream & operator<<(std::ostream &s, const vpHistogramPeak &p)
std::cout a peak
bool operator==(const vpHistogramPeak &p) const
unsigned value
Gray level ot the peak.
vpHistogramPeak & operator=(const vpHistogramPeak &p)
Declaration of the valey (minimum value) in a gray level image histogram.
vpHistogramValey(const vpHistogramValey &v)
void setLevel(unsigned char lvl)
vpHistogramValey(unsigned char lvl, unsigned val)
unsigned char getLevel() const
unsigned getValue() const
void set(unsigned char lvl, unsigned val)
void setValue(unsigned val)