latest version v1.9 - last update 10 Apr 2010 |
the parameters for the class borderSignature More...
#include <ltiBorderSignature.h>
Public Types | |
enum | eMethod { distance, area } |
enum | eDistanceType { min, max, average } |
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 | |
tpoint< double > | center |
int | numberOfSegments |
double | orientation |
eMethod | method |
eDistanceType | distanceType |
the parameters for the class borderSignature
lti::borderSignature::parameters::parameters | ( | ) |
default constructor
Reimplemented from lti::featureExtractor::parameters.
lti::borderSignature::parameters::parameters | ( | const parameters & | other | ) |
copy constructor
other | the parameters object to be copied |
Reimplemented from lti::featureExtractor::parameters.
lti::borderSignature::parameters::~parameters | ( | ) | [virtual] |
destructor
Reimplemented from lti::featureExtractor::parameters.
virtual functor::parameters* lti::borderSignature::parameters::clone | ( | ) | const [virtual] |
returns a pointer to a clone of the parameters
Reimplemented from lti::featureExtractor::parameters.
parameters& lti::borderSignature::parameters::copy | ( | const parameters & | other | ) |
copy the contents of a parameters object
other | the parameters object to be copied |
Reimplemented from lti::featureExtractor::parameters.
const char* lti::borderSignature::parameters::getTypeName | ( | ) | const [virtual] |
returns name of this type
Reimplemented from lti::featureExtractor::parameters.
parameters& lti::borderSignature::parameters::operator= | ( | const parameters & | other | ) |
copy the contents of a parameters object
other | the parameters object to be copied |
virtual bool lti::borderSignature::parameters::read | ( | ioHandler & | handler, | |
const bool | complete = true | |||
) | [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.
virtual bool lti::borderSignature::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.
The origin of the segments, can be e.g.
the center of gravity of a 2D-shape the borderpoints (see lti::geometricFeatures). The default value is (0.0 , 0.0).
This specifies the sub-method of the "distance" method (see eDistanceType).
The mode of operation (see eMethod).
The number of segments that the 2D-space is divided into.
Note: If you want to use FFT later set the value to pow(2,x). The default value is 32.
This parameter specifies the orientation of the first segment.
The segments are ordered clockwise cyclic around "center". An angle in radient between -2Pi and 2Pi is required. The default value is 0.0 (Horizontal orientation).