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

lti::backgroundModel::parameters Class Reference

the parameters for the class backgroundModel More...

#include <ltiBackgroundModel.h>

Inheritance diagram for lti::backgroundModel::parameters:
Inheritance graph
[legend]
Collaboration diagram for lti::backgroundModel::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

float outputThreshold
bool binaryOutput
float adaptationThreshold
bool adaptModel
float alpha

Detailed Description

the parameters for the class backgroundModel


Constructor & Destructor Documentation

lti::backgroundModel::parameters::parameters (  ) 

default constructor

Reimplemented from lti::segmentation::parameters.

lti::backgroundModel::parameters::parameters ( const parameters other  ) 

copy constructor

Parameters:
other the parameters object to be copied

Reimplemented from lti::segmentation::parameters.

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

destructor

Reimplemented from lti::segmentation::parameters.


Member Function Documentation

virtual functor::parameters* lti::backgroundModel::parameters::clone (  )  const [virtual]

returns a pointer to a clone of the parameters

Reimplemented from lti::segmentation::parameters.

parameters& lti::backgroundModel::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::backgroundModel::parameters::getTypeName (  )  const [virtual]

returns name of this type

Reimplemented from lti::segmentation::parameters.

parameters& lti::backgroundModel::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::backgroundModel::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::backgroundModel::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

Al pixels with a malanowis distance smaler than 'adaptationThreshold' are adept.

The other pixel are not touched because they do not belong to the background.

If this is set true the backgroundModel is updatet on every apply.

Only the regions with a diatance smaler than adaptationThreshold become adapt.

The weight of the new images added adaptModelive to the background.

Range 0 to 1. If 'alpha' is set to 0.5 the saved model and the new image witch become adapt are wighted 50%. If 'alpha' is set to 0 the new image is ignored.

If 'alpha' is set to 1 the new model constist only of the new image.

If this is set true every value bigger than outputThreshold is set to one.

every other value is set to zero. You get a kind of a mask as output.

The value of each pixel in the distance output channel must be grater than outputThreshold to be drawn.

Every other pixels are set to zero.


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

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