Jafar
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Public Attributes | Private Attributes
jafar::lines::Histogram Class Reference

Wrap cvHistogram. More...


Detailed Description

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>

List of all members.

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.
Histogramoperator= (const Histogram &refHisto)

Public Attributes

CvHistogram * histo
 Pointer to histogram data.

Private Attributes

int valid

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Wed Oct 15 2014 00:37:42 for Jafar by doxygen 1.7.6.1
LAAS-CNRS