latest version v1.9 - last update 10 Apr 2010 |
This class extracts a 1D histogram from a channel or channel8. More...
#include <ltiHistograming1D.h>
Classes | |
class | parameters |
the parameters for the class histograming1D More... | |
Public Member Functions | |
histograming1D () | |
histograming1D (const parameters &par) | |
histograming1D (const histograming1D &other) | |
virtual | ~histograming1D () |
virtual const char * | getTypeName () const |
virtual bool | apply (const channel &src, dvector &dest) const |
virtual bool | apply (const channel8 &src, dvector &dest) const |
virtual bool | apply (const channel &src, histogram1D &dest) const |
virtual bool | apply (const channel8 &src, histogram1D &dest) const |
histograming1D & | copy (const histograming1D &other) |
virtual functor * | clone () const |
const parameters & | getParameters () const |
This class extracts a 1D histogram from a channel or channel8.
The result can be a lti::histogram1D or a lti::vector<double>, which is the standard type for feature vectors. It is possible to apply a smoothing filter to the extracted histogram
lti::histograming1D::histograming1D | ( | ) |
default constructor
lti::histograming1D::histograming1D | ( | const parameters & | par | ) |
Construct with given parameters.
lti::histograming1D::histograming1D | ( | const histograming1D & | other | ) |
copy constructor
other | the object to be copied |
virtual lti::histograming1D::~histograming1D | ( | ) | [virtual] |
destructor
virtual bool lti::histograming1D::apply | ( | const channel8 & | src, | |
histogram1D & | dest | |||
) | const [virtual] |
virtual bool lti::histograming1D::apply | ( | const channel & | src, | |
histogram1D & | dest | |||
) | const [virtual] |
generates feature vector for the src channel, and leaves the result in the dest vector
src | channel8 with the source data. | |
dest | vector<double> where the result will be left. |
Reimplemented from lti::globalFeatureExtractor.
generates feature vector for the src channel, and leaves the result in the dest vector
src | channel with the source data. | |
dest | dvector where the result will be left. |
Reimplemented from lti::globalFeatureExtractor.
virtual functor* lti::histograming1D::clone | ( | ) | const [virtual] |
returns a pointer to a clone of this functor.
Reimplemented from lti::globalFeatureExtractor.
histograming1D& lti::histograming1D::copy | ( | const histograming1D & | other | ) |
copy data of "other" functor.
other | the functor to be copied |
Reimplemented from lti::globalFeatureExtractor.
const parameters& lti::histograming1D::getParameters | ( | ) | const |
returns used parameters
Reimplemented from lti::globalFeatureExtractor.
virtual const char* lti::histograming1D::getTypeName | ( | ) | const [virtual] |
returns the name of this type ("histograming1D")
Reimplemented from lti::globalFeatureExtractor.