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

lti::geometricFeaturesFromMask::parameters Class Reference

the parameters for the class geometricFeaturesFromMask More...

#include <ltiGeometricFeaturesFromMask.h>

Inheritance diagram for lti::geometricFeaturesFromMask::parameters:
Inheritance graph
[legend]
Collaboration diagram for lti::geometricFeaturesFromMask::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 nBest
int minimumMergedObjectSize
point minimumDistance
bool merge

Detailed Description

the parameters for the class geometricFeaturesFromMask


Constructor & Destructor Documentation

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

Parameters:
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.


Member Function Documentation

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

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

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

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

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

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::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

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::fastRelabeling::parameters.

Reimplemented in lti::multiGeometricFeaturesFromMask::parameters.


Member Data Documentation

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


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

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