latest version v1.9 - last update 10 Apr 2010 |
the parameters for the class lkTracker More...
#include <ltiLkTracker.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 | |
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 |
the parameters for the class lkTracker
lti::lkTracker::parameters::parameters | ( | ) |
default constructor
Reimplemented from lti::modifier::parameters.
lti::lkTracker::parameters::parameters | ( | const parameters & | other | ) |
copy constructor
other | the parameters object to be copied |
Reimplemented from lti::modifier::parameters.
lti::lkTracker::parameters::~parameters | ( | ) | [virtual] |
destructor
Reimplemented from lti::functor::parameters.
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
other | the parameters object to be copied |
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
other | the parameters object to be copied |
virtual bool lti::lkTracker::parameters::read | ( | ioHandler & | handler, | |
const bool | complete = true | |||
) | [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.
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
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.
if true, a corner detector is used.
Default is true
cornerDetector* lti::lkTracker::parameters::cornerFinder [protected] |
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