latest version v1.9 - last update 10 Apr 2010 |
The parameters for the class localMoments. More...
#include <ltiLocalMoments.h>
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 | |
eSamplingMethod | samplingMethod |
bool | calculateMean |
bool | calculateVariance |
bool | calculateSkew |
bool | calculateKurtosis |
float | scale |
int | gridRadius |
int | numCircles |
int | numRays |
The parameters for the class localMoments.
lti::localMoments::parameters::parameters | ( | ) |
Default constructor.
Reimplemented from lti::localFeatureExtractor::parameters.
lti::localMoments::parameters::parameters | ( | const parameters & | other | ) |
Copy constructor.
other | the parameters object to be copied |
Reimplemented from lti::localFeatureExtractor::parameters.
lti::localMoments::parameters::~parameters | ( | ) | [virtual] |
Destructor.
Reimplemented from lti::localFeatureExtractor::parameters.
virtual functor::parameters* lti::localMoments::parameters::clone | ( | ) | const [virtual] |
Returns a pointer to a clone of the parameters.
Reimplemented from lti::localFeatureExtractor::parameters.
parameters& lti::localMoments::parameters::copy | ( | const parameters & | other | ) |
Copy the contents of a parameters object.
other | the parameters object to be copied |
Reimplemented from lti::localFeatureExtractor::parameters.
const char* lti::localMoments::parameters::getTypeName | ( | ) | const [virtual] |
Returns name of this type.
Reimplemented from lti::localFeatureExtractor::parameters.
parameters& lti::localMoments::parameters::operator= | ( | const parameters & | other | ) |
Copy the contents of a parameters object.
other | the parameters object to be copied |
Reimplemented from lti::localFeatureExtractor::parameters.
virtual bool lti::localMoments::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::localFeatureExtractor::parameters.
virtual bool lti::localMoments::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::localFeatureExtractor::parameters.
Radius of the fixed grid used for fixedGridSampling().
This parameter has no effect if FixedRaySampling is used.
Default: 3
Number of Circles used for fixedRaySampling().
This parameter has no effect if FixedGridSampling is used.
Default: 3
Number of Rays used for fixedRaySampling().
This parameter has no effect if FixedGridSampling is used.
Default: 24
Which method is used to extract pixels of the original image.
Default: FixedRaySampling
Factor used to scale the radius of the given locations.
Default: 1.0f