|
Jafar
|
Wrap cvHistogram. More...
Wrap cvHistogram.
This class wraps cvHistogram and provides more convinient access to its functions. In particular for the work with std::vector.and jafar::image::Image
Definition at line 19 of file histogram.hpp.
#include <histogram.hpp>
Public Member Functions | |
| Histogram (const Histogram &refHisto) | |
| void | initHisto () |
| Clear old data and creates new cvHistogram. | |
| void | addVectorInfo (std::vector< int > &vec) |
| Add content of a std::vector<int> to the histogram. Think about if you first want to clear the histogram. | |
| void | addImageInfo (jafar::image::Image *image) |
| Add content of an image to the histogram. Think about if you first want to clear the histogram. | |
| void | print () const |
| Print content of bins on std out. | |
| int | isValid () |
| Indicates if histogram is initialized. | |
| Histogram & | operator= (const Histogram &refHisto) |
Public Attributes | |
| CvHistogram * | histo |
| Pointer to histogram data. | |
Private Attributes | |
| int | valid |
| Generated on Wed Oct 15 2014 00:37:42 for Jafar by doxygen 1.7.6.1 |
|