47 #ifndef vpMbEdgeKltTracker_HH
48 #define vpMbEdgeKltTracker_HH
50 #include <visp/vpConfig.h>
52 #if (defined(VISP_HAVE_OPENCV) && (VISP_HAVE_OPENCV_VERSION >= 0x020100))
54 #include <visp/vpRobust.h>
55 #include <visp/vpSubMatrix.h>
56 #include <visp/vpSubColVector.h>
57 #include <visp/vpExponentialMap.h>
58 #include <visp/vpMbTracker.h>
59 #include <visp/vpKltOpencv.h>
60 #include <visp/vpMbEdgeTracker.h>
61 #include <visp/vpPoseVector.h>
62 #include <visp/vpMbtEdgeKltXmlParser.h>
63 #include <visp/vpMbKltTracker.h>
246 const vpColor& col ,
const unsigned int thickness=1,
const bool displayFullModel =
false);
248 const vpColor& col ,
const unsigned int thickness=1,
const bool displayFullModel =
false);
275 const bool verbose=
false);
277 const bool verbose=
false);
310 virtual inline void setMaxIter(
const unsigned int max) {maxIter = max;}
328 #ifdef VISP_HAVE_OGRE
329 faces.getOgreContext()->setWindowName(
"MBT Hybrid");
344 const std::string &name=
"");
346 const std::string &name=
"");
349 unsigned int initMbtTracking(
const unsigned int level=0);
352 const unsigned int lvl=0);
353 void postTrackingMbt(
vpColVector &w,
const unsigned int level=0);
362 #endif //VISP_HAVE_OPENCV
double lambda
The gain of the virtual visual servoing stage.
Definition of the vpMatrix class.
virtual void initFaceFromCorners(vpMbtPolygon &polygon)
virtual void setLambda(const double gain)
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.
virtual void setMaxIter(const unsigned int max)
bool postTracking(const vpImage< unsigned char > &I, vpColVector &w)
double thresholdKLT
The threshold used in the robust estimation of KLT.
virtual void setLambda(const double gain)
virtual void setClipping(const unsigned int &flags)
Make the complete tracking of an object by using its CAD model.
virtual void setPose(const vpImage< unsigned char > &I, const vpHomogeneousMatrix &cdMo)
virtual void setCameraParameters(const vpCameraParameters &camera)
void loadConfigFile(const std::string &configFile)
virtual void setFarClippingDistance(const double &dist)
Class that defines what is a point.
virtual void setNearClippingDistance(const double &dist)
virtual void setOgreVisibilityTest(const bool &v)
void reInitModel(const vpImage< unsigned char > &I, const std::string &cad_name, const vpHomogeneousMatrix &cMo_, const bool verbose=false)
Implementation of a polygon of the model used by the model-based tracker.
Generic class defining intrinsic camera parameters.
bool compute_interaction
If true, compute the interaction matrix at each iteration of the minimization. Otherwise, compute it only on the first iteration.
virtual double getNearClippingDistance() const
virtual void setFarClippingDistance(const double &dist)
Model based tracker using only KLT.
virtual void initFaceFromLines(vpMbtPolygon &polygon)
Hybrid tracker based on moving-edges and keypoints tracked using KLT tracker.
unsigned int maxIter
The maximum iteration of the virtual visual servoing stage.
virtual void testTracking()
virtual void initCylinder(const vpPoint &p1, const vpPoint &p2, const double radius, const int idFace=0, const std::string &name="")
virtual double getNearClippingDistance() const
virtual void setOgreVisibilityTest(const bool &v)
Class that provides a data structure for the column vectors as well as a set of operations on these v...
virtual void initCircle(const vpPoint &p1, const vpPoint &p2, const vpPoint &p3, const double radius, const int idFace=0, const std::string &name="")
virtual unsigned int getMaxIter() const
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 setClipping(const unsigned int &flags)
virtual double getLambda() const
virtual void setLambda(const double gain)
double thresholdMBT
The threshold used in the robust estimation of MBT.
virtual void setNearClippingDistance(const double &dist)