TrackerPsaRot implements a slightly extended version of a TrackerPsa which can also detect sideways rotation More...
#include <TrackerPsa.h>
Public Member Functions | |
virtual void | Compensate (double *x, double *y) |
double | Track (IplImage *img) |
Track using PSA with rotation. | |
TrackerPsaRot (int _max_shift=50) | |
Constructor. | |
~TrackerPsaRot () | |
Destructor. | |
Public Attributes | |
double | rotd |
Track result rotation in degrees | |
Protected Attributes | |
double * | rot |
int * | rot_count |
double * | rotprev |
TrackerPsaRot implements a slightly extended version of a TrackerPsa which can also detect sideways rotation
Definition at line 68 of file TrackerPsa.h.
alvar::TrackerPsaRot::TrackerPsaRot | ( | int | _max_shift = 50 | ) |
Constructor.
Definition at line 148 of file TrackerPsa.cpp.
Destructor.
Definition at line 155 of file TrackerPsa.cpp.
void alvar::TrackerPsaRot::Compensate | ( | double * | x, |
double * | y | ||
) | [virtual] |
Reimplemented from alvar::TrackerPsa.
Definition at line 227 of file TrackerPsa.cpp.
double alvar::TrackerPsaRot::Track | ( | IplImage * | img | ) | [virtual] |
Track using PSA with rotation.
Reimplemented from alvar::TrackerPsa.
Definition at line 161 of file TrackerPsa.cpp.
double* alvar::TrackerPsaRot::rot [protected] |
Definition at line 70 of file TrackerPsa.h.
int* alvar::TrackerPsaRot::rot_count [protected] |
Definition at line 71 of file TrackerPsa.h.
double alvar::TrackerPsaRot::rotd |
Track result rotation in degrees
Definition at line 75 of file TrackerPsa.h.
double * alvar::TrackerPsaRot::rotprev [protected] |
Definition at line 70 of file TrackerPsa.h.