44 #ifndef vpFeatureEllipse_H
45 #define vpFeatureEllipse_H
52 #include <visp/vpMatrix.h>
53 #include <visp/vpBasicFeature.h>
55 #include <visp/vpHomogeneousMatrix.h>
56 #include <visp/vpRGBa.h>
90 const double mu20,
const double mu11,
const double mu02);
93 void buildFrom(
const double x,
const double y,
94 const double mu20,
const double mu11,
const double mu02) ;
95 void buildFrom(
const double x,
const double y,
96 const double mu20,
const double mu11,
const double mu02,
97 const double A,
const double B,
const double C) ;
98 void set_x(
const double x);
99 void set_y(
const double y);
100 void set_xy(
const double x,
const double y);
101 void setABC(
const double A,
const double B,
const double C) ;
102 void setMu(
const double mu20,
const double mu11,
const double mu02) ;
116 inline static unsigned int selectX() {
return FEATURE_LINE[0] ; }
117 inline static unsigned int selectY() {
return FEATURE_LINE[1] ; }
118 inline static unsigned int selectMu20() {
return FEATURE_LINE[2] ; }
119 inline static unsigned int selectMu11() {
return FEATURE_LINE[3] ; }
120 inline static unsigned int selectMu02() {
return FEATURE_LINE[4] ; }
127 const unsigned int select = FEATURE_ALL) ;
131 void print(
const unsigned int select = FEATURE_ALL )
const ;
141 unsigned int thickness=1)
const ;
145 unsigned int thickness=1)
const ;
Definition of the vpMatrix class.
bool * flags
Ensure that all the parameters needed to compute the iteraction matrix are set.
virtual void print(const unsigned int select=FEATURE_ALL) const =0
Print the name of the feature.
Class to define colors available for display functionnalities.
static unsigned int selectY()
virtual vpColVector error(const vpBasicFeature &s_star, const unsigned int select=FEATURE_ALL)
Compute the error between two visual features from a subset of the possible features.
static unsigned int selectMu02()
static const vpColor green
class that defines what is a visual feature
static unsigned int selectX()
static unsigned int selectMu11()
virtual vpMatrix interaction(const unsigned int select=FEATURE_ALL)=0
Compute the interaction matrix from a subset of the possible features.
Generic class defining intrinsic camera parameters.
virtual ~vpFeatureEllipse()
destructor
static unsigned int selectMu20()
Class that provides a data structure for the column vectors as well as a set of operations on these v...
virtual vpBasicFeature * duplicate() const =0
Class that defines 2D ellipse visual feature.
virtual void display(const vpCameraParameters &cam, const vpImage< unsigned char > &I, const vpColor &color=vpColor::green, unsigned int thickness=1) const =0