|
latest version v1.9 - last update 10 Apr 2010 |
|
the parameters for the class coilBackgroundSegmentation More...
#include <ltiCoilBackgroundSegmentation.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 | iterations |
| int | maxNumberBestOfN |
| float | maskFactor |
| double | thresholdFactor |
| int | meanBackgroundColor |
| dmatrix | covarMatrixBackground |
the parameters for the class coilBackgroundSegmentation
| lti::coilBackgroundSegmentation::parameters::parameters | ( | ) |
default constructor
Reimplemented from lti::segmentation::parameters.
| lti::coilBackgroundSegmentation::parameters::parameters | ( | const parameters & | other | ) |
copy constructor
| other | the parameters object to be copied |
Reimplemented from lti::segmentation::parameters.
| lti::coilBackgroundSegmentation::parameters::~parameters | ( | ) | [virtual] |
destructor
Reimplemented from lti::segmentation::parameters.
| virtual functor::parameters* lti::coilBackgroundSegmentation::parameters::clone | ( | ) | const [virtual] |
returns a pointer to a clone of the parameters
Reimplemented from lti::segmentation::parameters.
| parameters& lti::coilBackgroundSegmentation::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::coilBackgroundSegmentation::parameters::getTypeName | ( | ) | const [virtual] |
returns name of this type
Reimplemented from lti::segmentation::parameters.
| parameters& lti::coilBackgroundSegmentation::parameters::operator= | ( | const parameters & | other | ) |
copy the contents of a parameters object
| other | the parameters object to be copied |
| virtual bool lti::coilBackgroundSegmentation::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::coilBackgroundSegmentation::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.
The size and shape of the additional covariace matrix.
Only affecting the result if meanBackgroundColor >= 0. (See also: meanBackgroundColor)
Default value: 100 on the main diagonal, 0 otherwise
The number of iterations the object- and background-masks take to grow outside and inside the object.
Default value: 10
The factor the first object- and background-mask is stretchend.
Values > 1 should be used if the image is larger than 128*128 pixels in order to get a sharper segmentation around the object.
Minimum value: 1 Default value: 1
The number of masks created.
From them the final mask will be generated with the value zero where not all masks were nonzero. 4 is enough for a good result, but values >= 100 will generate the best possible solution (high values will cause a long time to do the segmentation).
Minimum value: 2 Default value: 100
The mean background color to be expected in order to improve results by estimating with another covariance matrix.
If the backgroundcolor is unknown use meanBackgroundColor = -1 to disable. Otherwise use only values between 0 and 255. (See also: covarMatrixBackground.)
Default value: 0 (black)