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

lti::camshiftTracker::parameters Class Reference

the parameters for the class camshiftTracker More...

#include <ltiCamshiftTracker.h>

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

List of all members.

Public Types

enum  eKernelType { Constant, Gaussian }

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

double sizeRatio
double threshold
eKernelType kernelType

Detailed Description

the parameters for the class camshiftTracker


Member Enumeration Documentation

Kernel Type.

Enumerator:
Constant 

All data gets equal weight (default).

Gaussian 

Data in the center of search window gets more weight.


Constructor & Destructor Documentation

lti::camshiftTracker::parameters::parameters (  ) 

default constructor

Reimplemented from lti::modifier::parameters.

lti::camshiftTracker::parameters::parameters ( const parameters other  ) 

copy constructor

Parameters:
other the parameters object to be copied

Reimplemented from lti::modifier::parameters.

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

destructor

Reimplemented from lti::functor::parameters.


Member Function Documentation

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

returns a pointer to a clone of the parameters

Reimplemented from lti::modifier::parameters.

parameters& lti::camshiftTracker::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::modifier::parameters.

const char* lti::camshiftTracker::parameters::getTypeName (  )  const [virtual]

returns name of this type

Reimplemented from lti::modifier::parameters.

parameters& lti::camshiftTracker::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::camshiftTracker::parameters::read ( ioHandler handler,
const bool  complete = true 
) [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::modifier::parameters.

virtual bool lti::camshiftTracker::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::modifier::parameters.


Member Data Documentation

This indicates, how the Data inside the search window should be weighted.

Default is "Constant".

Please see eKernelType for further information.

In order to let the tracker adapt the window size, you have to specify a ratio of height to width, that has to be kept constant.

Otherwise the window size will not be changed by the tracker (this is the default, which means 0.0).

height=sizeRatio*width

This is meant for dealing with missing or insufficient data within the search window.

If zeroth moment within search window doesn't exceed this quota of the maximum possible zeroth moment, then the tracker simply doesn't react.

Set this to a value between 0.0 and 1.0 for 0% resp. 100% (although 100% is not a reasonable value)

Default is 0.0


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

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