46 #include <visp3/visual_features/vpFeatureBuilder.h>
47 #include <visp3/visual_features/vpFeatureException.h>
48 #include <visp3/core/vpException.h>
50 #ifdef VISP_HAVE_MODULE_BLOB
114 double rho = sqrt(x*x + y*y);
115 double theta = atan2(y, x);
190 double rho = sqrt(x*x + y*y);
191 double theta = atan2(y, x);
201 #endif //#ifdef VISP_HAVE_MODULE_BLOB
263 double rho = sqrt(x*x + y*y);
264 double theta = atan2(y, x);
299 double x = p.
get_x();
300 double y = p.
get_y();
302 double rho = sqrt(x*x + y*y);
303 double theta = atan2(y, x);
313 std::cout <<
"Z = " << s.
get_Z() << std::endl ;
316 "Point is behind the camera ")) ;
319 if (fabs(s.
get_Z()) < 1e-6) {
321 std::cout <<
"Z = " << s.
get_Z() << std::endl ;
324 "Point Z coordinates is null")) ;
374 double x = p.
get_x();
375 double y = p.
get_y();
383 double rho = sqrt(x*x + y*y);
384 double theta = atan2(y, x);
static void convertPoint(const vpCameraParameters &cam, const double &x, const double &y, double &u, double &v)
Point coordinates conversion from normalized coordinates in meter to pixel coordinates ...
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...
void set_Z(const double Z)
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.
Class that defines 2D image point visual feature with polar coordinates described in ...
Class that defines what is a point.
vpImagePoint getCog() const
vpImagePoint getCog() const
Error that can be emited by the vpBasicFeature class and its derivates.
Generic class defining intrinsic camera parameters.
double get_x() const
Get the point x coordinate in the image plane.
double get_Z() const
Get the point Z coordinate in the camera frame.
void set_theta(const double theta)
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 set_rho(const double rho)