41#ifndef vpMbtMeEllipse_HH
42#define vpMbtMeEllipse_HH
47#include <visp3/me/vpMeEllipse.h>
49#ifndef DOXYGEN_SHOULD_SKIP_THIS
58class VISP_EXPORT vpMbtMeEllipse :
public vpMeEllipse
64 vpMbtMeEllipse(
const vpMbtMeEllipse &me_ellipse);
65 virtual ~vpMbtMeEllipse();
67 void computeProjectionError(
const vpImage<unsigned char> &_I,
double &_sumErrorRad,
unsigned int &_nbFeatures,
68 const vpMatrix &SobelX,
const vpMatrix &SobelY,
bool display,
unsigned int length,
69 unsigned int thickness);
71 void initTracking(
const vpImage<unsigned char> &I,
const vpImagePoint &ic,
double n20_p,
double n11_p,
double n02_p,
72 bool doNotTrack, vpImagePoint *pt1 = NULL,
const vpImagePoint *pt2 = NULL);
74 void track(
const vpImage<unsigned char> &I);
75 void updateParameters(
const vpImage<unsigned char> &I,
const vpImagePoint ¢er_p,
double n20_p,
double n11_p,
79 void reSample(
const vpImage<unsigned char> &I);
80 void sample(
const vpImage<unsigned char> &I,
bool doNotTrack =
false);
81 void suppressPoints();
Class that tracks an ellipse using moving edges.
virtual void sample(const vpImage< unsigned char > &I, bool doNotTrack=false) override
void initTracking(const vpImage< unsigned char > &I, bool trackCircle=false, bool trackArc=false)
void track(const vpImage< unsigned char > &I)
void display(const vpImage< unsigned char > &I)