Very basic implementation of the 2D-3D model-based tracking algorithm. More...
#include <Tracker2d3d.h>
Public Member Functions | |
CTracker2d3d () | |
void | Init (const CCalibration *pCalibration) |
void | SetParameters (int nPixelsDelta, int nPixelsSearchDistance) |
bool | Track (const CByteImage *pEdgeImage, Vec3d *pOutlinePoints, int nOutlinePoints, Mat3d &rotation, Vec3d &translation) |
~CTracker2d3d () | |
Private Attributes | |
int | m_nPixelsDelta |
int | m_nPixelsSearchDistance |
const CCalibration * | m_pCalibration |
Very basic implementation of the 2D-3D model-based tracking algorithm.
This class offers a very basic implementation of the approach proposed in (E. Marchand, P. Bouthemy, F. Chaumette and V. Moreau, "Robust Real-Time Visual Tracking using a 2D-3D Model-based Approach", 1999).
Definition at line 75 of file Tracker2d3d.h.
Definition at line 78 of file Tracker2d3d.cpp.
Definition at line 84 of file Tracker2d3d.cpp.
void CTracker2d3d::Init | ( | const CCalibration * | pCalibration | ) | [virtual] |
Implements CRigidObjectTrackingInterface.
Definition at line 93 of file Tracker2d3d.cpp.
void CTracker2d3d::SetParameters | ( | int | nPixelsDelta, |
int | nPixelsSearchDistance | ||
) | [inline] |
Definition at line 86 of file Tracker2d3d.h.
bool CTracker2d3d::Track | ( | const CByteImage * | pEdgeImage, |
Vec3d * | pOutlinePoints, | ||
int | nOutlinePoints, | ||
Mat3d & | rotation, | ||
Vec3d & | translation | ||
) | [virtual] |
Implements CRigidObjectTrackingInterface.
Definition at line 98 of file Tracker2d3d.cpp.
int CTracker2d3d::m_nPixelsDelta [private] |
Definition at line 101 of file Tracker2d3d.h.
int CTracker2d3d::m_nPixelsSearchDistance [private] |
Definition at line 102 of file Tracker2d3d.h.
const CCalibration* CTracker2d3d::m_pCalibration [private] |
Definition at line 99 of file Tracker2d3d.h.