40#ifndef VP_HISTOGRAM_PEAK_H
41#define VP_HISTOGRAM_PEAK_H
43#include <visp3/core/vpConfig.h>
83 inline void setLevel(
unsigned char lvl) { this->level = lvl; }
94 inline void setValue(
unsigned val) { this->value = val; }
105 inline void set(
unsigned char lvl,
unsigned val)
137 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