Track orientation based only on features in the image plane. More...
#include <TrackerOrientation.h>
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. | |
| TrackerOrientation (int width, int height, int image_scale=1, int outlier_limit=20) | |
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 |
Track orientation based only on features in the image plane.
Definition at line 43 of file TrackerOrientation.h.
| alvar::TrackerOrientation::TrackerOrientation | ( | int | width, |
| int | height, | ||
| int | image_scale = 1, |
||
| int | outlier_limit = 20 |
||
| ) | [inline] |
Definition at line 46 of file TrackerOrientation.h.
| 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 | ||
| ) | [static, private] |
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.
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.
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.