latest version v1.9 - last update 10 Apr 2010 |
the parameters for the class regionShapeFeatures More...
#include <ltiRegionShapeFeatures.h>
Public Types | |
enum | basisFunctionsType { MPEG7, OrthoRadial, Zernike } |
Public Member Functions | |
parameters () | |
parameters (const parameters &other) | |
~parameters () | |
const char * | getTypeName () const |
parameters & | copy (const parameters &other) |
parameters & | operator= (const parameters &other) |
virtual functor::parameters * | clone () const |
virtual bool | write (ioHandler &handler, const bool complete=true) const |
virtual bool | read (ioHandler &handler, const bool complete=true) |
Public Attributes | |
point | size |
int | maskSize |
bool | polar |
basisFunctionsType | basisFunctionSet |
the parameters for the class regionShapeFeatures
lti::regionShapeFeatures::parameters::parameters | ( | ) |
default constructor
Reimplemented from lti::globalFeatureExtractor::parameters.
lti::regionShapeFeatures::parameters::parameters | ( | const parameters & | other | ) |
copy constructor
other | the parameters object to be copied |
Reimplemented from lti::globalFeatureExtractor::parameters.
lti::regionShapeFeatures::parameters::~parameters | ( | ) | [virtual] |
destructor
Reimplemented from lti::globalFeatureExtractor::parameters.
virtual functor::parameters* lti::regionShapeFeatures::parameters::clone | ( | ) | const [virtual] |
returns a pointer to a clone of the parameters
Reimplemented from lti::globalFeatureExtractor::parameters.
parameters& lti::regionShapeFeatures::parameters::copy | ( | const parameters & | other | ) |
copy the contents of a parameters object
other | the parameters object to be copied |
Reimplemented from lti::globalFeatureExtractor::parameters.
const char* lti::regionShapeFeatures::parameters::getTypeName | ( | ) | const [virtual] |
returns name of this type
Reimplemented from lti::globalFeatureExtractor::parameters.
parameters& lti::regionShapeFeatures::parameters::operator= | ( | const parameters & | other | ) |
copy the contents of a parameters object
other | the parameters object to be copied |
virtual bool lti::regionShapeFeatures::parameters::read | ( | ioHandler & | handler, | |
const bool | complete = true | |||
) | [virtual] |
read the parameters from the given ioHandler
handler | the ioHandler to be used | |
complete | if true (the default) the enclosing begin/end will be also written, otherwise only the data block will be written. |
Reimplemented from lti::functor::parameters.
virtual bool lti::regionShapeFeatures::parameters::write | ( | ioHandler & | handler, | |
const bool | complete = true | |||
) | const [virtual] |
write the parameters in the given ioHandler
handler | the ioHandler to be used | |
complete | if true (the default) the enclosing begin/end will be also written, otherwise only the data block will be written. |
Reimplemented from lti::functor::parameters.
Which basis function set should be used.
Default: MPEG7
In order to achieve scale invariance, the given mask will always be first scaled to fit into square mask of the given size at one side.
Default size: 65
Specify if the computed coefficients should be in cartesic form (false) (i.e.
real and imaginary parts) or polar form (true) (i.e. magnitude and phase).
Default value: true (i.e. polar form: magnitude and phase)
size of the descriptor matrix.
The x component will correspond to the number of angular frequencies to be used, and the y component to the number of radial frequencies.
The feature vectors will have size.x*size.y elements.
For Zernike moments the matrix is symmetric with (size.y,size.y)
Default value: (12 , 3)