latest version v1.9 - last update 10 Apr 2010 |
the parameters for the class geometricFeaturesFromMask More...
#include <ltiGeometricFeaturesFromMask.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 | |
int | nBest |
int | minimumMergedObjectSize |
point | minimumDistance |
bool | merge |
the parameters for the class geometricFeaturesFromMask
lti::geometricFeaturesFromMask::parameters::parameters | ( | ) |
default constructor
Reimplemented from lti::fastRelabeling::parameters.
Reimplemented in lti::multiGeometricFeaturesFromMask::parameters.
lti::geometricFeaturesFromMask::parameters::parameters | ( | const parameters & | other | ) |
copy constructor
other | the parameters object to be copied |
Reimplemented from lti::fastRelabeling::parameters.
Reimplemented in lti::multiGeometricFeaturesFromMask::parameters.
lti::geometricFeaturesFromMask::parameters::~parameters | ( | ) | [virtual] |
destructor
Reimplemented from lti::fastRelabeling::parameters.
Reimplemented in lti::multiGeometricFeaturesFromMask::parameters.
virtual functor::parameters* lti::geometricFeaturesFromMask::parameters::clone | ( | ) | const [virtual] |
returns a pointer to a clone of the parameters
Reimplemented from lti::fastRelabeling::parameters.
Reimplemented in lti::multiGeometricFeaturesFromMask::parameters.
parameters& lti::geometricFeaturesFromMask::parameters::copy | ( | const parameters & | other | ) |
copy the contents of a parameters object
other | the parameters object to be copied |
Reimplemented from lti::fastRelabeling::parameters.
Reimplemented in lti::multiGeometricFeaturesFromMask::parameters.
const char* lti::geometricFeaturesFromMask::parameters::getTypeName | ( | ) | const [virtual] |
returns name of this type
Reimplemented from lti::fastRelabeling::parameters.
Reimplemented in lti::multiGeometricFeaturesFromMask::parameters.
parameters& lti::geometricFeaturesFromMask::parameters::operator= | ( | const parameters & | other | ) |
copy the contents of a parameters object
other | the parameters object to be copied |
Reimplemented from lti::fastRelabeling::parameters.
Reimplemented in lti::multiGeometricFeaturesFromMask::parameters.
virtual bool lti::geometricFeaturesFromMask::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::fastRelabeling::parameters.
Reimplemented in lti::multiGeometricFeaturesFromMask::parameters.
virtual bool lti::geometricFeaturesFromMask::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::fastRelabeling::parameters.
Reimplemented in lti::multiGeometricFeaturesFromMask::parameters.
The objects may be merged if close (true) or not (false).
Default: false
The minimum distance in x and y direction between labeled regions that belong to the same object.
The labeled regions are approximated by rectangles and thus the distances are computed between those rectangles along the x and y axis.
Default: (0,0) (i.e. rectangles must overlap)
If the number of pixels of an object after merging is less than the minimumMergedObjectSize, it will be assigned to the background label (0).
The inherited parameter minimumObjectSize applies to objects before merging.
Default value: 1 (i.e. consider all objects)
If this value is greater than 0 and sortSize is true, only the n biggest objects will be processed and all other objects are suppressed.
Default: 0