latest version v1.9 - last update 10 Apr 2010 |
the parameters for the class multiGeometricFeaturesFromMask More...
#include <ltiMultiGeometricFeaturesFromMask.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 | |
genericVector< bool > | mergeEntries |
ivector | maskValues |
bool | manualPostProcess |
the parameters for the class multiGeometricFeaturesFromMask
lti::multiGeometricFeaturesFromMask::parameters::parameters | ( | ) |
default constructor
Reimplemented from lti::geometricFeaturesFromMask::parameters.
lti::multiGeometricFeaturesFromMask::parameters::parameters | ( | const parameters & | other | ) |
copy constructor
other | the parameters object to be copied |
Reimplemented from lti::geometricFeaturesFromMask::parameters.
lti::multiGeometricFeaturesFromMask::parameters::~parameters | ( | ) | [virtual] |
destructor
Reimplemented from lti::geometricFeaturesFromMask::parameters.
virtual functor::parameters* lti::multiGeometricFeaturesFromMask::parameters::clone | ( | ) | const [virtual] |
returns a pointer to a clone of the parameters
Reimplemented from lti::geometricFeaturesFromMask::parameters.
parameters& lti::multiGeometricFeaturesFromMask::parameters::copy | ( | const parameters & | other | ) |
copy the contents of a parameters object
other | the parameters object to be copied |
Reimplemented from lti::geometricFeaturesFromMask::parameters.
const char* lti::multiGeometricFeaturesFromMask::parameters::getTypeName | ( | ) | const [virtual] |
returns name of this type
Reimplemented from lti::geometricFeaturesFromMask::parameters.
parameters& lti::multiGeometricFeaturesFromMask::parameters::operator= | ( | const parameters & | other | ) |
copy the contents of a parameters object
other | the parameters object to be copied |
Reimplemented from lti::geometricFeaturesFromMask::parameters.
virtual bool lti::multiGeometricFeaturesFromMask::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::geometricFeaturesFromMask::parameters.
virtual bool lti::multiGeometricFeaturesFromMask::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::geometricFeaturesFromMask::parameters.
Sometimes it is advantageous to perform the merge operation separately from the apply, i.e.
when labeling several roi's one after the other. If manualPostProcess is true the apply won't compute the complete result, but only perform the labeling and initialization of the geometric feature vectors. Thus some geometric features are not consistent after the apply in the manual case, e.g. the center of gravity is not divided by the area yet.
Default: false
Specifies which mask values will be processed by this class.
The vectors mergeEntries and maskValues must be of the same size.
Default: empty
Each object kind may be merged (true) or not (false).
The inherited parameter merge is ignored. The vectors mergeEntries and maskValues must be of the same size.
Default: empty