45 #include <visp3/visual_features/vpFeatureBuilder.h>
46 #include <visp3/core/vpMath.h>
48 #ifdef VISP_HAVE_MODULE_BLOB
62 double x1=0, y1=0, x2=0, y2=0;
67 double xc = (x1+x2)/2.;
68 double yc = (y1+y2)/2.;
69 double l = sqrt( (x1-x2)*(x1-x2) + (y1-y2)*(y1-y2));
99 double x1=0, y1=0, x2=0, y2=0;
104 double xc = (x1+x2)/2.;
105 double yc = (y1+y2)/2.;
106 double l = sqrt( (x1-x2)*(x1-x2) + (y1-y2)*(y1-y2));
123 #endif //#ifdef VISP_HAVE_MODULE_BLOB
137 double x1=0, y1=0, x2=0, y2=0;
142 double xc = (x1+x2)/2.;
143 double yc = (y1+y2)/2.;
144 double l = sqrt( (x1-x2)*(x1-x2) + (y1-y2)*(y1-y2));
173 double x1 = P1.
get_x();
174 double y1 = P1.
get_y();
175 double x2 = P2.
get_x();
176 double y2 = P2.
get_y();
178 double Z1 = P1.
cP[2]/P1.
cP[3];
179 double Z2 = P2.
cP[2]/P2.
cP[3];
void setAlpha(const double val)
static void convertPoint(const vpCameraParameters &cam, const double &u, const double &v, double &x, double &y)
Point coordinates conversion from pixel coordinates to normalized coordinates in meter...
double get_y() const
Get the point y coordinate in the image plane.
This tracker is meant to track a blob (connex pixels with same gray level) on a vpImage.
void setL(const double val)
Class that defines what is a point.
vpImagePoint getCog() const
vpImagePoint getCog() const
Class that defines a 2D segment visual features. This class allow to consider two sets of visual feat...
Generic class defining intrinsic camera parameters.
double get_x() const
Get the point x coordinate in the image plane.
void setYc(const double val)
void buildFrom(const double x1, const double y1, const double Z1, const double x2, const double y2, const double Z2)
This tracker is meant to track a dot (connected pixels with same gray level) on a vpImage...
Class that defines a 2D point in an image. This class is useful for image processing and stores only ...
static void create(vpFeaturePoint &s, const vpCameraParameters &cam, const vpDot &d)
void setXc(const double val)