|
ViSP
|
#include <vpHistogramValey.h>
Inheritance diagram for vpHistogramValey:
Collaboration diagram for vpHistogramValey:Public Member Functions | |
| vpHistogramValey () | |
| vpHistogramValey (unsigned char level, unsigned value) | |
| vpHistogramValey (const vpHistogramValey &v) | |
| vpHistogramValey & | operator= (const vpHistogramValey &v) |
| bool | operator== (const vpHistogramValey &v) const |
| void | setLevel (unsigned char level) |
| void | setValue (unsigned value) |
| void | set (unsigned char level, unsigned value) |
| unsigned char | getLevel () const |
| unsigned | getValue () const |
Private Member Functions | |
| bool | operator== (const vpHistogramPeak &p) const |
Private Attributes | |
| unsigned char | level |
| unsigned | value |
Friends | |
| VISP_EXPORT std::ostream & | operator<< (std::ostream &s, const vpHistogramValey &v) |
Declaration of the valey (minimum value) in a gray level image histogram.
A valey is internally represented as a gray level and a value. The value represents the number of pixels having the gray level.
Definition at line 68 of file vpHistogramValey.h.
|
inline |
Definition at line 71 of file vpHistogramValey.h.
|
inline |
Definition at line 74 of file vpHistogramValey.h.
|
inline |
Definition at line 77 of file vpHistogramValey.h.
|
inline |
Get the valey gray level. The number of pixels having this gray level is available through getValue().
Definition at line 137 of file vpHistogramValey.h.
References vpHistogramPeak::level.
|
inline |
Get the valey number of pixels having a same gray level. The corresponding gray level is available through getLevel().
Definition at line 151 of file vpHistogramValey.h.
References vpHistogramPeak::value.
| vpHistogramValey & vpHistogramValey::operator= | ( | const vpHistogramValey & | v | ) |
Copy operator.
| v | : Histogram valey to copy. |
Definition at line 62 of file vpHistogramValey.cpp.
References vpHistogramPeak::level, setLevel(), setValue(), and vpHistogramPeak::value.
| bool vpHistogramValey::operator== | ( | const vpHistogramValey & | v | ) | const |
Comparison operator.
| v | : Gray level histogram valey to compar. |
Definition at line 78 of file vpHistogramValey.cpp.
References vpHistogramPeak::level, and vpHistogramPeak::value.
|
inline |
Set the valey gray level and number of pixels at this location.
| level | : Location of the valey or gray level. |
| value | : Number of pixels having the same location or gray level. |
Definition at line 121 of file vpHistogramValey.h.
References vpHistogramPeak::level, and vpHistogramPeak::value.
Referenced by vpHistogram::getPeaks(), and vpHistogram::getValey().
Here is the caller graph for this function:
|
inline |
Set the valey gray level. To set the number of pixels having this gray level use setValue().
| level | : Location of the valey or gray level. |
Definition at line 93 of file vpHistogramValey.h.
References vpHistogramPeak::level.
Referenced by operator=().
Here is the caller graph for this function:
|
inline |
Set the valey number of pixels having a same gray level. To set the gray level of this valey use setLevel().
| value | : Number of pixels having the same location or gray level. |
Definition at line 107 of file vpHistogramValey.h.
References vpHistogramPeak::value.
Referenced by operator=().
Here is the caller graph for this function:
|
friend |
std::cout a valey
Definition at line 86 of file vpHistogramValey.cpp.