![]() |
latest version v1.9 - last update 10 Apr 2010 |
![]() |
the parameters for the class meanshiftTracker More...
#include <ltiMeanshiftTracker.h>
Public Types | |
enum | eKernelType { Normal, Epanechnikov } |
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 | precision |
float | threshold |
eKernelType | kernelType |
float | sizeAdaptRatio |
the parameters for the class meanshiftTracker
lti::meanshiftTracker::parameters::parameters | ( | ) |
default constructor
Reimplemented from lti::modifier::parameters.
lti::meanshiftTracker::parameters::parameters | ( | const parameters & | other | ) |
copy constructor
other | the parameters object to be copied |
Reimplemented from lti::modifier::parameters.
lti::meanshiftTracker::parameters::~parameters | ( | ) | [virtual] |
destructor
Reimplemented from lti::functor::parameters.
virtual functor::parameters* lti::meanshiftTracker::parameters::clone | ( | ) | const [virtual] |
returns a pointer to a clone of the parameters
Reimplemented from lti::modifier::parameters.
parameters& lti::meanshiftTracker::parameters::copy | ( | const parameters & | other | ) |
copy the contents of a parameters object
other | the parameters object to be copied |
Reimplemented from lti::modifier::parameters.
const char* lti::meanshiftTracker::parameters::getTypeName | ( | ) | const [virtual] |
returns name of this type
Reimplemented from lti::modifier::parameters.
parameters& lti::meanshiftTracker::parameters::operator= | ( | const parameters & | other | ) |
copy the contents of a parameters object
other | the parameters object to be copied |
virtual bool lti::meanshiftTracker::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::modifier::parameters.
virtual bool lti::meanshiftTracker::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::modifier::parameters.
Kerneltypes are Normal or Epanechnikov-Kernel Default is Normal.
precision for iterations: 0.1 for deep iteration , 10.0 for fast runtime default is 2.
allowed range is [0.1 ... ]
The size adaption ratio tells how strong the size adaptation may be with one call of an apply() method.
Range is 0.0 to 1.0 (reasonable values lie between 0.0 and 0.5). Default is 0.1
Threshold for tracker validity.
Range is from 0.0 to 1.0. If color distribution distance after apply is below this threshold, then the tracker simply doesn't react. Default is 0.8