LTI-Lib latest version v1.9 - last update 10 Apr 2010

lti::coilBackgroundSegmentation::parameters Class Reference

the parameters for the class coilBackgroundSegmentation More...

#include <ltiCoilBackgroundSegmentation.h>

Inheritance diagram for lti::coilBackgroundSegmentation::parameters:
Inheritance graph
[legend]
Collaboration diagram for lti::coilBackgroundSegmentation::parameters:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 parameters ()
 parameters (const parameters &other)
 ~parameters ()
const char * getTypeName () const
parameterscopy (const parameters &other)
parametersoperator= (const parameters &other)
virtual functor::parametersclone () 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

Detailed Description

the parameters for the class coilBackgroundSegmentation


Constructor & Destructor Documentation

lti::coilBackgroundSegmentation::parameters::parameters (  ) 

default constructor

Reimplemented from lti::segmentation::parameters.

lti::coilBackgroundSegmentation::parameters::parameters ( const parameters other  ) 

copy constructor

Parameters:
other the parameters object to be copied

Reimplemented from lti::segmentation::parameters.

lti::coilBackgroundSegmentation::parameters::~parameters (  )  [virtual]

destructor

Reimplemented from lti::segmentation::parameters.


Member Function Documentation

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

Parameters:
other the parameters object to be copied
Returns:
a reference to this parameters object

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

Parameters:
other the parameters object to be copied
Returns:
a reference to this parameters object
virtual bool lti::coilBackgroundSegmentation::parameters::read ( ioHandler handler,
const bool  complete = true 
) [virtual]

read the parameters from the given ioHandler

Parameters:
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.
Returns:
true if write was successful

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

Parameters:
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.
Returns:
true if write was successful

Reimplemented from lti::segmentation::parameters.


Member Data Documentation

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)

The factor the threshold decinding between object and background is stretched.

Lower values will cause better results with objects containing many dark spots. Higher values prevent 'noise' outside the object.

Default value: 1.30


The documentation for this class was generated from the following file:

Generated on Sat Apr 10 15:27:07 2010 for LTI-Lib by Doxygen 1.6.1