TrackerStat deduces the optical flow based on tracked features using Seppo Valli's statistical tracking. More...
#include <TrackerStat.h>
Public Member Functions | |
virtual void | Compensate (double *x, double *y) |
void | Reset () |
Reset. | |
double | Track (IplImage *img) |
Translation tracker (the simplest possible) | |
TrackerStat (int binsize=8) | |
Constructor. | |
Public Attributes | |
double | xd |
Track result x-translation in pixels | |
double | yd |
Track result y-translation in pixels | |
Protected Attributes | |
TrackerFeatures | f |
HistogramSubpixel | hist |
TrackerStat deduces the optical flow based on tracked features using Seppo Valli's statistical tracking.
Definition at line 42 of file TrackerStat.h.
alvar::TrackerStat::TrackerStat | ( | int | binsize = 8 | ) |
Constructor.
Definition at line 31 of file TrackerStat.cpp.
void alvar::TrackerStat::Compensate | ( | double * | x, |
double * | y | ||
) | [virtual] |
Reimplemented from alvar::Tracker.
Reimplemented in alvar::TrackerStatRot.
Definition at line 57 of file TrackerStat.cpp.
void alvar::TrackerStat::Reset | ( | ) |
Reset.
Definition at line 36 of file TrackerStat.cpp.
double alvar::TrackerStat::Track | ( | IplImage * | img | ) | [virtual] |
Translation tracker (the simplest possible)
Implements alvar::Tracker.
Reimplemented in alvar::TrackerStatRot.
Definition at line 40 of file TrackerStat.cpp.
TrackerFeatures alvar::TrackerStat::f [protected] |
Definition at line 44 of file TrackerStat.h.
HistogramSubpixel alvar::TrackerStat::hist [protected] |
Definition at line 45 of file TrackerStat.h.
double alvar::TrackerStat::xd |
Track result x-translation in pixels
Definition at line 48 of file TrackerStat.h.
double alvar::TrackerStat::yd |
Track result y-translation in pixels
Definition at line 50 of file TrackerStat.h.