LTI-Lib latest version v1.9 - last update 10 Apr 2010

lti::histograming1D Class Reference

This class extracts a 1D histogram from a channel or channel8. More...

#include <ltiHistograming1D.h>

Inheritance diagram for lti::histograming1D:
Inheritance graph
[legend]
Collaboration diagram for lti::histograming1D:
Collaboration graph
[legend]

List of all members.

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
histograming1Dcopy (const histograming1D &other)
virtual functorclone () const
const parametersgetParameters () const

Detailed Description

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


Constructor & Destructor Documentation

lti::histograming1D::histograming1D (  ) 

default constructor

lti::histograming1D::histograming1D ( const parameters par  ) 

Construct with given parameters.

lti::histograming1D::histograming1D ( const histograming1D other  ) 

copy constructor

Parameters:
other the object to be copied
virtual lti::histograming1D::~histograming1D (  )  [virtual]

destructor


Member Function Documentation

virtual bool lti::histograming1D::apply ( const channel8 src,
histogram1D dest 
) const [virtual]

generates feature vector for the src channel, and leaves the result in the dest vector

Parameters:
src channel8 with the source data.
dest vector<double> where the result will be left.
Returns:
true if successful, false otherwise.
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

Parameters:
src channel with the source data.
dest dvector where the result will be left.
Returns:
true if successful, false otherwise.
virtual bool lti::histograming1D::apply ( const channel8 src,
dvector dest 
) const [virtual]

generates feature vector for the src channel, and leaves the result in the dest vector

Parameters:
src channel8 with the source data.
dest vector<double> where the result will be left.
Returns:
true if successful, false otherwise.

Reimplemented from lti::globalFeatureExtractor.

virtual bool lti::histograming1D::apply ( const channel src,
dvector dest 
) const [virtual]

generates feature vector for the src channel, and leaves the result in the dest vector

Parameters:
src channel with the source data.
dest dvector where the result will be left.
Returns:
true if successful, false otherwise.

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.

Parameters:
other the functor to be copied
Returns:
a reference to this functor object

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.


The documentation for this class was generated from the following file:

Generated on Sat Apr 10 15:27:25 2010 for LTI-Lib by Doxygen 1.6.1