Public Member Functions | Public Attributes | Protected Attributes | List of all members
alvar::TrackerPsa Class Reference

TrackerPsa implements a very simple PSA tracker More...

#include <TrackerPsa.h>

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

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
 

Detailed Description

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)

Examples:
SampleTrack.cpp.

Definition at line 42 of file TrackerPsa.h.

Constructor & Destructor Documentation

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.

Member Function Documentation

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

Reimplemented from alvar::Tracker.

Reimplemented in alvar::TrackerPsaRot.

Examples:
SampleTrack.cpp.

Definition at line 144 of file TrackerPsa.cpp.

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

Track using PSA.

Implements alvar::Tracker.

Reimplemented in alvar::TrackerPsaRot.

Examples:
SampleTrack.cpp.

Definition at line 46 of file TrackerPsa.cpp.

Member Data Documentation

long alvar::TrackerPsa::framecount
protected

Definition at line 48 of file TrackerPsa.h.

long* alvar::TrackerPsa::hor
protected

Definition at line 46 of file TrackerPsa.h.

long * alvar::TrackerPsa::horprev
protected

Definition at line 46 of file TrackerPsa.h.

int alvar::TrackerPsa::max_shift
protected

Definition at line 44 of file TrackerPsa.h.

long* alvar::TrackerPsa::ver
protected

Definition at line 47 of file TrackerPsa.h.

long * alvar::TrackerPsa::verprev
protected

Definition at line 47 of file TrackerPsa.h.

int alvar::TrackerPsa::x_res
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.

int alvar::TrackerPsa::y_res
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.


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


ar_track_alvar
Author(s): Scott Niekum
autogenerated on Mon Jun 10 2019 12:47:05