TrackerStatRot implements a slightly extended version of TrackerStat which can also detect sideways rotation. More...
#include <TrackerStat.h>
Public Member Functions | |
virtual void | Compensate (double *x, double *y) |
double | Track (IplImage *img) |
Translation + rotation tracker. | |
TrackerStatRot (int binsize=8, int binsize_rot=3) | |
Constructor. | |
Public Attributes | |
double | rotd |
Track result rotation in degrees | |
Private Attributes | |
HistogramSubpixel | hist_rot |
int | x_res |
int | y_res |
TrackerStatRot implements a slightly extended version of TrackerStat which can also detect sideways rotation.
Definition at line 65 of file TrackerStat.h.
alvar::TrackerStatRot::TrackerStatRot | ( | int | binsize = 8 , |
int | binsize_rot = 3 |
||
) |
Constructor.
Definition at line 61 of file TrackerStat.cpp.
void alvar::TrackerStatRot::Compensate | ( | double * | x, |
double * | y | ||
) | [virtual] |
Reimplemented from alvar::TrackerStat.
Definition at line 104 of file TrackerStat.cpp.
double alvar::TrackerStatRot::Track | ( | IplImage * | img | ) | [virtual] |
Translation + rotation tracker.
Reimplemented from alvar::TrackerStat.
Definition at line 65 of file TrackerStat.cpp.
Definition at line 67 of file TrackerStat.h.
double alvar::TrackerStatRot::rotd |
Track result rotation in degrees
Definition at line 70 of file TrackerStat.h.
int alvar::TrackerStatRot::x_res [private] |
Definition at line 66 of file TrackerStat.h.
int alvar::TrackerStatRot::y_res [private] |
Definition at line 66 of file TrackerStat.h.