latest version v1.9 - last update 10 Apr 2010 |
the parameters for the class backgroundModel More...
#include <ltiBackgroundModel.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 | outputThreshold |
bool | binaryOutput |
float | adaptationThreshold |
bool | adaptModel |
float | alpha |
the parameters for the class backgroundModel
lti::backgroundModel::parameters::parameters | ( | ) |
default constructor
Reimplemented from lti::segmentation::parameters.
lti::backgroundModel::parameters::parameters | ( | const parameters & | other | ) |
copy constructor
other | the parameters object to be copied |
Reimplemented from lti::segmentation::parameters.
lti::backgroundModel::parameters::~parameters | ( | ) | [virtual] |
destructor
Reimplemented from lti::segmentation::parameters.
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
other | the parameters object to be copied |
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
other | the parameters object to be copied |
virtual bool lti::backgroundModel::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::backgroundModel::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.
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.
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.