latest version v1.9 - last update 10 Apr 2010 |
Extracts the 7 moment invariants as described in "Visual Pattern Recognition by Moment Invariants" by Ming-Kuei Hu (IRE Transactions on Information Theory, 1962). More...
#include <ltiHuMoments.h>
Classes | |
class | parameters |
the parameters for the class huMoments More... | |
Public Member Functions | |
huMoments () | |
huMoments (const huMoments &other) | |
virtual | ~huMoments () |
virtual const char * | getTypeName () const |
bool | apply (const channel8 &src, dvector &dest, dvector &more) const |
bool | apply (const channel &src, dvector &dest, dvector &more) const |
bool | apply (const channel8 &src, dvector &dest) const |
bool | apply (const channel &src, dvector &dest) const |
bool | apply (const channel8 &src, const rectangle &rect, dvector &dest, dvector &more) const |
bool | apply (const channel &src, const rectangle &rect, dvector &dest, dvector &more) const |
bool | apply (const channel8 &src, const rectangle &rect, dvector &dest) const |
bool | apply (const channel &src, const rectangle &rect, dvector &dest) const |
huMoments & | copy (const huMoments &other) |
huMoments & | operator= (const huMoments &other) |
virtual functor * | clone () const |
const parameters & | getParameters () const |
Extracts the 7 moment invariants as described in "Visual Pattern Recognition by Moment Invariants" by Ming-Kuei Hu (IRE Transactions on Information Theory, 1962).
lti::huMoments::huMoments | ( | ) |
default constructor
lti::huMoments::huMoments | ( | const huMoments & | other | ) |
copy constructor
other | the object to be copied |
virtual lti::huMoments::~huMoments | ( | ) | [virtual] |
destructor
operates on a copy of the given parameters.
src | channel with the source data. | |
rect | bounding rectangle of data to be regarded. | |
dest | dvector containing the 7 hu moments. |
operates on a copy of the given parameters.
src | channel8 with the source data. | |
rect | bounding rectangle of data to be regarded. | |
dest | dvector containing the 7 hu moments. |
bool lti::huMoments::apply | ( | const channel & | src, | |
const rectangle & | rect, | |||
dvector & | dest, | |||
dvector & | more | |||
) | const |
operates on a copy of the given parameters.
src | channel with the source data. | |
rect | bounding rectangle of data to be regarded. | |
dest | dvector containing the 7 hu moments. | |
more | additional feature vector with
|
bool lti::huMoments::apply | ( | const channel8 & | src, | |
const rectangle & | rect, | |||
dvector & | dest, | |||
dvector & | more | |||
) | const |
operates on a copy of the given parameters.
src | channel8 with the source data. | |
rect | bounding rectangle of data to be regarded. | |
dest | dvector containing the 7 hu moments. | |
more | additional feature vector with
|
operates on a copy of the given parameters.
src | channel with the source data. | |
dest | dvector containing the 7 hu moments. |
Reimplemented from lti::globalFeatureExtractor.
operates on a copy of the given parameters.
src | channel8 with the source data. | |
dest | dvector containing the 7 hu moments. |
Reimplemented from lti::globalFeatureExtractor.
virtual functor* lti::huMoments::clone | ( | ) | const [virtual] |
returns a pointer to a clone of this functor.
Reimplemented from lti::globalFeatureExtractor.
copy data of "other" functor.
other | the functor to be copied |
Reimplemented from lti::globalFeatureExtractor.
const parameters& lti::huMoments::getParameters | ( | ) | const |
returns used parameters
Reimplemented from lti::globalFeatureExtractor.
virtual const char* lti::huMoments::getTypeName | ( | ) | const [virtual] |
returns the name of this type ("huMoments")
Reimplemented from lti::globalFeatureExtractor.