44 #ifndef vpMbEdgeKltTracker_HH
45 #define vpMbEdgeKltTracker_HH
47 #include <visp/vpConfig.h>
49 #ifdef VISP_HAVE_OPENCV
51 #include <visp/vpRobust.h>
52 #include <visp/vpSubMatrix.h>
53 #include <visp/vpSubColVector.h>
54 #include <visp/vpExponentialMap.h>
55 #include <visp/vpMbtXmlParser.h>
56 #include <visp/vpMbTracker.h>
57 #include <visp/vpKltOpencv.h>
58 #include <visp/vpMbEdgeTracker.h>
59 #include <visp/vpPoseVector.h>
60 #include <visp/vpMbKltTracker.h>
230 const vpColor& col ,
const unsigned int thickness=1,
const bool displayFullModel =
false);
232 const vpColor& col ,
const unsigned int thickness=1,
const bool displayFullModel =
false);
259 virtual void loadModel(
const std::string& modelFile);
299 inline void setMaxIter(
const unsigned int max) {maxIter = max;}
321 virtual void initFaceFromCorners(
const std::vector<vpPoint>& corners,
const unsigned int indexFace = -1);
322 unsigned int initMbtTracking(
const unsigned int level=0);
325 const unsigned int lvl=0);
326 void postTrackingMbt(
vpColVector &w,
const unsigned int level=0);
335 #endif //VISP_HAVE_OPENCV
double lambda
The gain of the virtual visual servoing stage.
Definition of the vpMatrix class.
unsigned int maxIter
The maximum iteration of the virtual visual servoing stage.
void computeVVS(const vpImage< unsigned char > &_I)
The class provides a data structure for the homogeneous matrices as well as a set of operations on th...
void init(const vpImage< unsigned char > &I)
void track(const vpImage< unsigned char > &I)
double lambda
The gain of the virtual visual servoing stage.
Class to define colors available for display functionnalities.
bool postTracking(const vpImage< unsigned char > &I, vpColVector &w)
double thresholdKLT
The threshold used in the robust estimation of KLT.
Make the complete tracking of an object by using its CAD model.
virtual void setPose(const vpImage< unsigned char > &I, const vpHomogeneousMatrix &cdMo)
void loadConfigFile(const std::string &configFile)
void setMaxIter(const unsigned int max)
void setLambda(const double lambda)
Class that defines what is a point.
virtual void setAngleAppear(const double &a)
virtual void setOgreVisibilityTest(const bool &v)
virtual double getAngleAppear()
virtual void initCylinder(const vpPoint &_p1, const vpPoint _p2, const double _radius, const unsigned int _indexCylinder=0)
Generic class defining intrinsic camera parameters.
virtual void setAngleAppear(const double &a)
vpMbHiddenFaces< vpMbtKltPolygon > faces
Set of faces describing the object.
bool compute_interaction
If true, compute the interaction matrix at each iteration of the minimisation. Otherwise, compute it only on the first iteration.
virtual void setAngleDisappear(const double &a)
Model based tracker using only KLT.
virtual void initFaceFromCorners(const std::vector< vpPoint > &_corners, const unsigned int _indexFace=-1)
void setLambda(const double lambda)
virtual double getAngleAppear()
vpMbHiddenFaces< vpMbtKltPolygon > & getFaces()
virtual double getAngleDisappear()
virtual void setAngleDisappear(const double &a)
unsigned int getMaxIter()
Hybrid tracker based on edges (vpMbt) and points of interests (KLT)
unsigned int maxIter
The maximum iteration of the virtual visual servoing stage.
virtual void testTracking()
void setLambda(const double lambda)
virtual double getAngleDisappear()
Class that provides a data structure for the column vectors as well as a set of operations on these v...
virtual void setOgreVisibilityTest(const bool &v)
void display(const vpImage< unsigned char > &I, const vpHomogeneousMatrix &cMo, const vpCameraParameters &cam, const vpColor &col, const unsigned int thickness=1, const bool displayFullModel=false)
virtual void setCameraParameters(const vpCameraParameters &cam)
void loadModel(const std::string &cad_name)
double thresholdMBT
The threshold used in the robust estimation of MBT.