Public Member Functions | Public Attributes | Private Attributes | List of all members
alvar::TrackerStatRot Class Reference

TrackerStatRot implements a slightly extended version of TrackerStat which can also detect sideways rotation. More...

#include <TrackerStat.h>

Inheritance diagram for alvar::TrackerStatRot:
Inheritance graph
[legend]

Public Member Functions

virtual void Compensate (double *x, double *y)
 
double Track (IplImage *img)
 Translation + rotation tracker. More...
 
 TrackerStatRot (int binsize=8, int binsize_rot=3)
 Constructor. More...
 
- Public Member Functions inherited from alvar::TrackerStat
void Reset ()
 Reset. More...
 
 TrackerStat (int binsize=8)
 Constructor. More...
 
- Public Member Functions inherited from alvar::Tracker
 Tracker ()
 

Public Attributes

double rotd
 Track result rotation in degrees More...
 
- Public Attributes inherited from alvar::TrackerStat
double xd
 Track result x-translation in pixels More...
 
double yd
 Track result y-translation in pixels More...
 

Private Attributes

HistogramSubpixel hist_rot
 
int x_res
 
int y_res
 

Additional Inherited Members

- Protected Attributes inherited from alvar::TrackerStat
TrackerFeatures f
 
HistogramSubpixel hist
 

Detailed Description

TrackerStatRot implements a slightly extended version of TrackerStat which can also detect sideways rotation.

Examples:
SampleTrack.cpp.

Definition at line 65 of file TrackerStat.h.

Constructor & Destructor Documentation

alvar::TrackerStatRot::TrackerStatRot ( int  binsize = 8,
int  binsize_rot = 3 
)

Constructor.

Definition at line 61 of file TrackerStat.cpp.

Member Function Documentation

void alvar::TrackerStatRot::Compensate ( double *  x,
double *  y 
)
virtual

Reimplemented from alvar::TrackerStat.

Examples:
SampleTrack.cpp.

Definition at line 104 of file TrackerStat.cpp.

double alvar::TrackerStatRot::Track ( IplImage *  img)
virtual

Translation + rotation tracker.

Reimplemented from alvar::TrackerStat.

Examples:
SampleTrack.cpp.

Definition at line 65 of file TrackerStat.cpp.

Member Data Documentation

HistogramSubpixel alvar::TrackerStatRot::hist_rot
private

Definition at line 67 of file TrackerStat.h.

double alvar::TrackerStatRot::rotd

Track result rotation in degrees

Examples:
SampleTrack.cpp.

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.


The documentation for this class was generated from the following files:


ar_track_alvar
Author(s): Scott Niekum
autogenerated on Thu Jun 6 2019 19:27:24