latest version v1.9 - last update 10 Apr 2010 |
The parameters for the class quadTreeSegmentation. More...
#include <ltiQuadTreeSegmentation.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 | |
float | splitThreshold |
float | mergeThreshold |
point | minRegionSize |
The parameters for the class quadTreeSegmentation.
lti::quadTreeSegmentation::parameters::parameters | ( | ) |
Default constructor.
Reimplemented from lti::segmentation::parameters.
lti::quadTreeSegmentation::parameters::parameters | ( | const parameters & | other | ) |
Copy constructor.
other | the parameters object to be copied |
Reimplemented from lti::segmentation::parameters.
lti::quadTreeSegmentation::parameters::~parameters | ( | ) | [virtual] |
Destructor.
Reimplemented from lti::segmentation::parameters.
virtual functor::parameters* lti::quadTreeSegmentation::parameters::clone | ( | ) | const [virtual] |
Returns a pointer to a clone of the parameters.
Reimplemented from lti::segmentation::parameters.
parameters& lti::quadTreeSegmentation::parameters::copy | ( | const parameters & | other | ) |
Copy the contents of a parameters object.
other | the parameters object to be copied |
Reimplemented from lti::segmentation::parameters.
const char* lti::quadTreeSegmentation::parameters::getTypeName | ( | ) | const [virtual] |
Returns name of this type.
Reimplemented from lti::segmentation::parameters.
parameters& lti::quadTreeSegmentation::parameters::operator= | ( | const parameters & | other | ) |
Copy the contents of a parameters object.
other | the parameters object to be copied |
virtual bool lti::quadTreeSegmentation::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::segmentation::parameters.
virtual bool lti::quadTreeSegmentation::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::segmentation::parameters.
If two neighbor regions have in all three color components a mean distance under the given threshold, they will be merged.
Default value: 3
Minimum region size in the split stage.
This value must always be greater or equal (1,1)
Default value: (3,3)
If any of the std.
deviation of the R,G or B components of the colors in a region exceeds one of the given threshold, the region will be split.
The value range of the given components is assumed to be between 0 and 255.
Default value: 5