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)
bool operator==(const vpHistogramPeak &p) const
void setValue(unsigned val)
unsigned char getLevel() const
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)
vpHistogramValey(const vpHistogramValey &v)
unsigned value
Gray level ot the peak.
unsigned getValue() const
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.
void setLevel(unsigned char lvl)