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

◆ TrackerOrientation()

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

◆ GetPose() [1/2]

void alvar::TrackerOrientation::GetPose ( Pose pose)

◆ GetPose() [2/2]

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

Definition at line 102 of file TrackerOrientation.h.

◆ Project()

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

Definition at line 32 of file TrackerOrientation.cpp.

◆ Reset()

void alvar::TrackerOrientation::Reset ( )

Definition at line 44 of file TrackerOrientation.cpp.

◆ SetCamera()

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

Definition at line 98 of file TrackerOrientation.h.

◆ Track()

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.

◆ UpdatePose()

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

Definition at line 57 of file TrackerOrientation.cpp.

◆ UpdateRotationOnly()

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

Definition at line 121 of file TrackerOrientation.cpp.

Member Data Documentation

◆ _camera

Camera* alvar::TrackerOrientation::_camera
private

Definition at line 94 of file TrackerOrientation.h.

◆ _F_v

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

Definition at line 85 of file TrackerOrientation.h.

◆ _ft

TrackerFeatures alvar::TrackerOrientation::_ft
private

Definition at line 84 of file TrackerOrientation.h.

◆ _grsc

IplImage* alvar::TrackerOrientation::_grsc
private

Definition at line 93 of file TrackerOrientation.h.

◆ _image_scale

int alvar::TrackerOrientation::_image_scale
private

Definition at line 89 of file TrackerOrientation.h.

◆ _object_model

CvMat* alvar::TrackerOrientation::_object_model
private

Definition at line 95 of file TrackerOrientation.h.

◆ _outlier_limit

int alvar::TrackerOrientation::_outlier_limit
private

Definition at line 90 of file TrackerOrientation.h.

◆ _pose

Pose alvar::TrackerOrientation::_pose
private

Definition at line 92 of file TrackerOrientation.h.

◆ _xres

int alvar::TrackerOrientation::_xres
private

Definition at line 87 of file TrackerOrientation.h.

◆ _yres

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 Feb 28 2022 21:43:23