47 #ifndef vpMbtMeEllipse_HH
48 #define vpMbtMeEllipse_HH
50 #include <visp/vpMatrix.h>
51 #include <visp/vpColVector.h>
53 #include <visp/vpMeTracker.h>
54 #include <visp/vpMeSite.h>
55 #include <visp/vpImagePoint.h>
57 #include <visp/vpImage.h>
58 #include <visp/vpColor.h>
63 #ifndef DOXYGEN_SHOULD_SKIP_THIS
144 class VISP_EXPORT vpMbtMeEllipse :
public vpMeTracker
148 vpMbtMeEllipse(
const vpMbtMeEllipse &meellipse) ;
149 virtual ~vpMbtMeEllipse() ;
157 int getExpectedDensity() {
return (
int)expecteddensity;};
164 inline double get_mu11()
const {
return mu11;}
171 inline double get_mu02()
const {
return mu02;}
178 inline double get_mu20()
const {
return mu20;}
188 inline double getA()
const {
return a; }
193 inline double getB()
const {
return b; }
198 inline double getE()
const {
return e; }
203 void getEquationParam(
double &A,
double &B,
double &E) { A = a; B = b; E = e; }
206 double mu20_p,
double mu11_p,
double mu02_p) ;
211 double mu20_p,
double mu11_p,
double mu02_p);
231 double mu11,mu20, mu02;
233 double thresholdWeight;
235 double expecteddensity;
241 void suppressPoints() ;
244 #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