TrackerPsa implements a very simple PSA tracker More...
#include <TrackerPsa.h>
Public Member Functions | |
virtual void | Compensate (double *x, double *y) |
double | Track (IplImage *img) |
Track using PSA. More... | |
TrackerPsa (int _max_shift=50) | |
Constructor. More... | |
~TrackerPsa () | |
Destructor. More... | |
Public Member Functions inherited from alvar::Tracker | |
Tracker () | |
Public Attributes | |
double | xd |
Track result x-translation in pixels More... | |
double | yd |
Track result y-translation in pixels More... | |
Protected Attributes | |
long | framecount |
long * | hor |
long * | horprev |
int | max_shift |
long * | ver |
long * | verprev |
int | x_res |
int | y_res |
TrackerPsa implements a very simple PSA tracker
(See Drab, Stephan A. & Artner, Nicole M. "Motion Detection as Interaction Technique for Games & Applications on Mobile Devices" PERMID 2005)
Definition at line 42 of file TrackerPsa.h.
alvar::TrackerPsa::TrackerPsa | ( | int | _max_shift = 50 | ) |
Constructor.
Definition at line 31 of file TrackerPsa.cpp.
alvar::TrackerPsa::~TrackerPsa | ( | ) |
Destructor.
Definition at line 39 of file TrackerPsa.cpp.
|
virtual |
Reimplemented from alvar::Tracker.
Reimplemented in alvar::TrackerPsaRot.
Definition at line 144 of file TrackerPsa.cpp.
|
virtual |
Track using PSA.
Implements alvar::Tracker.
Reimplemented in alvar::TrackerPsaRot.
Definition at line 46 of file TrackerPsa.cpp.
|
protected |
Definition at line 48 of file TrackerPsa.h.
|
protected |
Definition at line 46 of file TrackerPsa.h.
|
protected |
Definition at line 46 of file TrackerPsa.h.
|
protected |
Definition at line 44 of file TrackerPsa.h.
|
protected |
Definition at line 47 of file TrackerPsa.h.
|
protected |
Definition at line 47 of file TrackerPsa.h.
|
protected |
Definition at line 45 of file TrackerPsa.h.
double alvar::TrackerPsa::xd |
Track result x-translation in pixels
Definition at line 52 of file TrackerPsa.h.
|
protected |
Definition at line 45 of file TrackerPsa.h.
double alvar::TrackerPsa::yd |
Track result y-translation in pixels
Definition at line 54 of file TrackerPsa.h.