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

lti::lkTracker::parameters Class Reference

the parameters for the class lkTracker More...

#include <ltiLkTracker.h>

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

List of all members.

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

int windowSize
int numLevels
int maxStepsPerLevel
float eta2Threshold
float errorThreshold

Protected Attributes

cornerDetector * cornerFinder

Corner Extraction

The following parameters controls the internal corner detection algorithms.



bool autoCorners
bool setCornerDetector (const cornerDetector &cdet)
cornerDetector & getCornerDetector ()
const cornerDetector & getCornerDetector () const

Detailed Description

the parameters for the class lkTracker


Constructor & Destructor Documentation

lti::lkTracker::parameters::parameters (  ) 

default constructor

Reimplemented from lti::modifier::parameters.

lti::lkTracker::parameters::parameters ( const parameters &  other  ) 

copy constructor

Parameters:
other the parameters object to be copied

Reimplemented from lti::modifier::parameters.

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

destructor

Reimplemented from lti::functor::parameters.


Member Function Documentation

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

returns a pointer to a clone of the parameters

Reimplemented from lti::modifier::parameters.

parameters& lti::lkTracker::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 cornerDetector& lti::lkTracker::parameters::getCornerDetector (  )  const

get a read only reference to the corner detector object being used

cornerDetector& lti::lkTracker::parameters::getCornerDetector (  ) 

get a reference to the corner detector functor being used

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

returns name of this type

Reimplemented from lti::modifier::parameters.

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

bool lti::lkTracker::parameters::setCornerDetector ( const cornerDetector &  cdet  ) 

set the corner detector to be used.

A copy of the given functor will be made.

virtual bool lti::lkTracker::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

if true, a corner detector is used.

Default is true

cornerDetector used to generate the corners.

Default value:

if the difference between both matched windows is greater than this threshold, the point will be marked as invalid, and it will not be tracked any more.

Default value: 0.99f

This is the square of the computed pixel residual which must be reached before the algorithm stops.

Default value: 0.0009f (0.03*0.03);

maximal number of iteration steps per pyramid level.

Default value: 10

NumLevels gives the number of levels in the Pyramid.

Default value is 4

WindowSize gives the size of the window used for comparsion of the features.

Default value is 4


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

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