 |
Visual Servoing Platform
version 3.3.0
|
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,
158 unsigned int length,
unsigned int thickness);
163 int getExpectedDensity() {
return (
int)expecteddensity; }
170 inline double get_mu11()
const {
return mu11; }
177 inline double get_mu02()
const {
return mu02; }
184 inline double get_mu20()
const {
return mu20; }
194 inline double getA()
const {
return a; }
199 inline double getB()
const {
return b; }
205 inline double getE()
const {
return e; }
210 void getEquationParam(
double &A,
double &B,
double &E)
218 double mu02_p,
bool doNotTrack);
243 double mu11, mu20, mu02;
245 double thresholdWeight;
247 double expecteddensity;
253 void suppressPoints();
256 #endif // #ifndef DOXYGEN_SHOULD_SKIP_THIS
virtual void display(const vpImage< unsigned char > &I, vpColor col)=0
Implementation of a matrix and operations on matrices.
void track(const vpImage< unsigned char > &I)
Track sampled pixels.
virtual void sample(const vpImage< unsigned char > &image, bool doNotTrack=false)=0
Sample pixels at a given interval.
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 ...
Class to define colors available for display functionnalities.
Contains abstract elements for a Distance to Feature type feature.