44 #ifndef vpMbtMeEllipse_HH 45 #define vpMbtMeEllipse_HH 47 #include <visp3/core/vpColVector.h> 48 #include <visp3/core/vpMatrix.h> 50 #include <visp3/core/vpImagePoint.h> 51 #include <visp3/me/vpMeSite.h> 52 #include <visp3/me/vpMeTracker.h> 54 #include <visp3/core/vpColor.h> 55 #include <visp3/core/vpImage.h> 60 #ifndef DOXYGEN_SHOULD_SKIP_THIS 149 class VISP_EXPORT vpMbtMeEllipse :
public vpMeTracker 153 vpMbtMeEllipse(
const vpMbtMeEllipse &meellipse);
154 virtual ~vpMbtMeEllipse();
156 void computeProjectionError(
const vpImage<unsigned char> &_I,
double &_sumErrorRad,
unsigned int &_nbFeatures);
166 int getExpectedDensity() {
return (
int)expecteddensity; }
173 inline double get_mu11()
const {
return mu11; }
180 inline double get_mu02()
const {
return mu02; }
187 inline double get_mu20()
const {
return mu20; }
197 inline double getA()
const {
return a; }
202 inline double getB()
const {
return b; }
208 inline double getE()
const {
return e; }
213 void getEquationParam(
double &A,
double &B,
double &E)
246 double mu11, mu20, mu02;
248 double thresholdWeight;
250 double expecteddensity;
256 void suppressPoints();
259 #endif // #ifndef DOXYGEN_SHOULD_SKIP_THIS Class to define colors available for display functionnalities.
virtual void sample(const vpImage< unsigned char > &image)=0
Sample pixels at a given interval.
void track(const vpImage< unsigned char > &I)
Track sampled pixels.
Contains abstract elements for a Distance to Feature type feature.
void initTracking(const vpImage< unsigned char > &I)
Class that defines a 2D point in an image. This class is useful for image processing and stores only ...
virtual void display(const vpImage< unsigned char > &I, vpColor col)=0