24 #ifndef TRACKERORIENTATION_H 25 #define TRACKERORIENTATION_H 47 : _image_scale(image_scale)
48 , _outlier_limit(outlier_limit)
61 enum {NOT_TRACKED=0, IS_TRACKED} status2D;
67 status2D = NOT_TRACKED;
75 status2D = NOT_TRACKED;
85 std::map<int,Feature>
_F_v;
101 void GetPose(
Pose &pose);
106 double Track(IplImage *
image);
109 static void Project(CvMat* state, CvMat* projection,
void *
param);
110 bool UpdatePose(IplImage* image=0);
111 bool UpdateRotationOnly(IplImage *
gray, IplImage *image=0);
bool param(const std::string ¶m_name, T ¶m_val, const T &default_val)
This file implements a tracking interface.
This file implements a camera used for projecting points and computing homographies.
void GetMatrixGL(double gl[16], bool mirror=true)
Get the transformation matrix representation of the Pose using OpenGL's transposed format...
Feature(double vx, double vy)
void GetPose(double gl_mat[16])
Track orientation based only on features in the image plane.
Simple Camera class for calculating distortions, orientation or projections with pre-calibrated camer...
static void Project(CvMat *state, CvMat *projection, void *x)
Pure virtual base class for tracking optical flow.
std::map< int, Feature > _F_v
This file implements a feature tracker.
Pose representation derived from the Rotation class
TrackerOrientation(int width, int height, int image_scale=1, int outlier_limit=20)
TrackerFeatures tracks features using OpenCV's cvGoodFeaturesToTrack and cvCalcOpticalFlowPyrLK ...
void SetCamera(Camera *camera)
This file implements a pose.