|
latest version v1.9 - last update 24 Nov 2005 |
|
#include <ltiOrientationFeature.h>
Inheritance diagram for lti::orientationFeature:


Public Member Functions | |
| orientationFeature () | |
| orientationFeature (const orientationFeature &other) | |
| virtual | ~orientationFeature () |
| virtual const char * | getTypeName () const |
| bool | apply (const channel &orientation, const channel &magnitude, dvector &dest) const |
| orientationFeature & | copy (const orientationFeature &other) |
| virtual functor * | clone () const |
| const parameters & | getParameters () const |
Classes | |
| class | parameters |
| the parameters for the class orientationFeature More... | |
Due to the fact that the orientation is Pi cyclic (0° is the same thing as 180°) the histogram created will consider the angles as being between 0 and Pi (angle mod Pi).
A relevance/orientation pair can be for example the gradient magnitude and phase channels (see lti::gradientKernelX and lti::cartesicToPolar) and the OGD local energy maps (lti::axOGDFeature). Both methods are ready implemented in the lti::orientationMap functor.
lti::orientationMap omapper; lti::orientationFeature ofeat; lti::channel chnl,mag,dir; lti::vector<double> vct; // construct a channel with a rectangle on it: chnl.resize(256,256,0.0); chnl.fill(1.0,32,32,200,240); // extract the orientation map from the channel omapper.apply(chnl,dir,mag); // generate the orientation feature ofeat.apply(dir,mag,vct);
If you need a rotation invariant feature vector see also lti::shiftInvariance
|
|
default constructor
|
|
|
copy constructor
|
|
|
destructor
|
|
||||||||||||||||
|
generates the "weighted histogram" of the given magnitude and orientations channels.
|
|
|
returns a pointer to a clone of this functor.
Reimplemented from lti::globalFeatureExtractor. |
|
|
copy data of "other" functor.
|
|
|
returns used parameters
Reimplemented from lti::globalFeatureExtractor. |
|
|
returns the name of this type ("orientationFeature")
Reimplemented from lti::globalFeatureExtractor. |