43 #ifndef vpMbtMeEllipse_HH
44 #define vpMbtMeEllipse_HH
46 #include <visp3/core/vpMatrix.h>
47 #include <visp3/core/vpColVector.h>
49 #include <visp3/me/vpMeTracker.h>
50 #include <visp3/me/vpMeSite.h>
51 #include <visp3/core/vpImagePoint.h>
53 #include <visp3/core/vpImage.h>
54 #include <visp3/core/vpColor.h>
59 #ifndef DOXYGEN_SHOULD_SKIP_THIS
140 class VISP_EXPORT vpMbtMeEllipse :
public vpMeTracker
144 vpMbtMeEllipse(
const vpMbtMeEllipse &meellipse) ;
145 virtual ~vpMbtMeEllipse() ;
147 void computeProjectionError(
const vpImage<unsigned char>& _I,
double &_sumErrorRad,
unsigned int &_nbFeatures);
154 int getExpectedDensity() {
return (
int)expecteddensity;};
161 inline double get_mu11()
const {
return mu11;}
168 inline double get_mu02()
const {
return mu02;}
175 inline double get_mu20()
const {
return mu20;}
185 inline double getA()
const {
return a; }
190 inline double getB()
const {
return b; }
195 inline double getE()
const {
return e; }
200 void getEquationParam(
double &A,
double &B,
double &E) { A = a; B = b; E = e; }
203 double mu20_p,
double mu11_p,
double mu02_p) ;
208 double mu20_p,
double mu11_p,
double mu02_p);
228 double mu11,mu20, mu02;
230 double thresholdWeight;
232 double expecteddensity;
238 void suppressPoints() ;
241 #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