49 #include <visp/vpFeatureBuilder.h>
50 #include <visp/vpMath.h>
65 double x1=0, y1=0, x2=0, y2=0;
70 double xc = (x1+x2)/2.;
71 double yc = (y1+y2)/2.;
72 double l = sqrt( (x1-x2)*(x1-x2) + (y1-y2)*(y1-y2));
102 double x1=0, y1=0, x2=0, y2=0;
107 double xc = (x1+x2)/2.;
108 double yc = (y1+y2)/2.;
109 double l = sqrt( (x1-x2)*(x1-x2) + (y1-y2)*(y1-y2));
139 double x1=0, y1=0, x2=0, y2=0;
144 double xc = (x1+x2)/2.;
145 double yc = (y1+y2)/2.;
146 double l = sqrt( (x1-x2)*(x1-x2) + (y1-y2)*(y1-y2));
175 double x1 = P1.
get_x();
176 double y1 = P1.
get_y();
177 double x2 = P2.
get_x();
178 double y2 = P2.
get_y();
180 double Z1 = P1.
cP[2]/P1.
cP[3];
181 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)