39#ifndef VP_MBT_ME_ELLIPSE_H
40#define VP_MBT_ME_ELLIPSE_H
45#include <visp3/core/vpConfig.h>
46#include <visp3/me/vpMeEllipse.h>
48#ifndef DOXYGEN_SHOULD_SKIP_THIS
69class VISP_EXPORT vpMbtMeEllipse :
public vpMeEllipse
74 void computeProjectionError(
const vpImage<unsigned char> &_I,
double &_sumErrorRad,
unsigned int &_nbFeatures,
75 const vpMatrix &SobelX,
const vpMatrix &SobelY,
bool display,
unsigned int length,
76 unsigned int thickness);
78 void initTracking(
const vpImage<unsigned char> &I,
const vpImagePoint &ic,
double n20_p,
double n11_p,
double n02_p,
79 bool doNotTrack, vpImagePoint *pt1 =
nullptr,
const vpImagePoint *pt2 =
nullptr);
81 void track(
const vpImage<unsigned char> &I);
82 void updateParameters(
const vpImage<unsigned char> &I,
const vpImagePoint ¢er_p,
double n20_p,
double n11_p,
86 void reSample(
const vpImage<unsigned char> &I);
87 void sample(
const vpImage<unsigned char> &I,
bool doNotTrack =
false) VP_OVERRIDE;
88 void suppressPoints();
Class that tracks an ellipse or a circle using moving edges.
void initTracking(const vpImage< unsigned char > &I, bool trackCircle=false, bool trackArc=false)
virtual void sample(const vpImage< unsigned char > &I, bool doNotTrack=false) VP_OVERRIDE
void track(const vpImage< unsigned char > &I)
void display(const vpImage< unsigned char > &I)