Classes | Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
alvar::TrackerOrientation Class Reference

Track orientation based only on features in the image plane. More...

#include <TrackerOrientation.h>

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

Classes

struct  Feature
 

Public Member Functions

void GetPose (Pose &pose)
 
void GetPose (double gl_mat[16])
 
void Reset ()
 
void SetCamera (Camera *camera)
 
double Track (IplImage *image)
 Pure virtual function for making the next track step. This analyses the image and updates class member variables accordingly. More...
 
 TrackerOrientation (int width, int height, int image_scale=1, int outlier_limit=20)
 
- Public Member Functions inherited from alvar::Tracker
virtual void Compensate (double *x, double *y)
 
 Tracker ()
 

Private Member Functions

bool UpdatePose (IplImage *image=0)
 
bool UpdateRotationOnly (IplImage *gray, IplImage *image=0)
 

Static Private Member Functions

static void Project (CvMat *state, CvMat *projection, void *param)
 

Private Attributes

Camera_camera
 
std::map< int, Feature_F_v
 
TrackerFeatures _ft
 
IplImage * _grsc
 
int _image_scale
 
CvMat * _object_model
 
int _outlier_limit
 
Pose _pose
 
int _xres
 
int _yres
 

Detailed Description

Track orientation based only on features in the image plane.

Definition at line 43 of file TrackerOrientation.h.

Constructor & Destructor Documentation

alvar::TrackerOrientation::TrackerOrientation ( int  width,
int  height,
int  image_scale = 1,
int  outlier_limit = 20 
)
inline

Definition at line 46 of file TrackerOrientation.h.

Member Function Documentation

void alvar::TrackerOrientation::GetPose ( Pose pose)
void alvar::TrackerOrientation::GetPose ( double  gl_mat[16])
inline

Definition at line 102 of file TrackerOrientation.h.

void alvar::TrackerOrientation::Project ( CvMat *  state,
CvMat *  projection,
void *  param 
)
staticprivate

Definition at line 32 of file TrackerOrientation.cpp.

void alvar::TrackerOrientation::Reset ( )

Definition at line 44 of file TrackerOrientation.cpp.

void alvar::TrackerOrientation::SetCamera ( Camera camera)
inline

Definition at line 98 of file TrackerOrientation.h.

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

Pure virtual function for making the next track step. This analyses the image and updates class member variables accordingly.

Implements alvar::Tracker.

Definition at line 51 of file TrackerOrientation.cpp.

bool alvar::TrackerOrientation::UpdatePose ( IplImage *  image = 0)
private

Definition at line 57 of file TrackerOrientation.cpp.

bool alvar::TrackerOrientation::UpdateRotationOnly ( IplImage *  gray,
IplImage *  image = 0 
)
private

Definition at line 121 of file TrackerOrientation.cpp.

Member Data Documentation

Camera* alvar::TrackerOrientation::_camera
private

Definition at line 94 of file TrackerOrientation.h.

std::map<int,Feature> alvar::TrackerOrientation::_F_v
private

Definition at line 85 of file TrackerOrientation.h.

TrackerFeatures alvar::TrackerOrientation::_ft
private

Definition at line 84 of file TrackerOrientation.h.

IplImage* alvar::TrackerOrientation::_grsc
private

Definition at line 93 of file TrackerOrientation.h.

int alvar::TrackerOrientation::_image_scale
private

Definition at line 89 of file TrackerOrientation.h.

CvMat* alvar::TrackerOrientation::_object_model
private

Definition at line 95 of file TrackerOrientation.h.

int alvar::TrackerOrientation::_outlier_limit
private

Definition at line 90 of file TrackerOrientation.h.

Pose alvar::TrackerOrientation::_pose
private

Definition at line 92 of file TrackerOrientation.h.

int alvar::TrackerOrientation::_xres
private

Definition at line 87 of file TrackerOrientation.h.

int alvar::TrackerOrientation::_yres
private

Definition at line 88 of file TrackerOrientation.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