Public Member Functions | Public Attributes | Protected Attributes
alvar::TrackerPsa Class Reference

TrackerPsa implements a very simple PSA tracker More...

#include <TrackerPsa.h>

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

List of all members.

Public Member Functions

virtual void Compensate (double *x, double *y)
double Track (IplImage *img)
 Track using PSA.
 TrackerPsa (int _max_shift=50)
 Constructor.
 ~TrackerPsa ()
 Destructor.

Public Attributes

double xd
 Track result x-translation in pixels
double yd
 Track result y-translation in pixels

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.

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

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.

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.

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.

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 Thu Feb 16 2017 03:23:03