40#include <visp3/core/vpMath.h>
41#include <visp3/visual_features/vpFeatureBuilder.h>
61 double alpha = t.cP[0];
62 double beta = t.cP[1];
63 double gamma = t.cP[2];
70 double d = alpha * X0 + beta * Y0 + gamma * Z0;
79 s.buildFrom(t.p[0], t.p[1], t.p[2], t.p[3], t.p[4]);
113 s.buildFrom(t.p[0], t.p[1], t.p[2], t.p[3], t.p[4]);
116#ifdef VISP_HAVE_MODULE_BLOB
136 double xc = 0, yc = 0;
140 s.buildFrom(xc, yc, nij[0], nij[1], nij[2]);
162 double xc = 0, yc = 0;
166 s.buildFrom(xc, yc, nij[0], nij[1], nij[2]);
170#ifdef VISP_HAVE_MODULE_ME
190 double xg, yg, n20, n11, n02;
192 ellipse.
get_nij()[2], xg, yg, n20, n11, n02);
194 s.buildFrom(xg, yg, n20, n11, n02);
Generic class defining intrinsic camera parameters.
Class that defines a 3D circle in the object frame and allows forward projection of a 3D circle in th...
Implementation of column vector and the associated operations.
This tracker is meant to track a blob (connex pixels with same gray level) on a vpImage.
vpImagePoint getCog() const
vpColVector get_nij() const
This tracker is meant to track a dot (connected pixels with same gray level) on a vpImage.
vpColVector get_nij() const
vpImagePoint getCog() const
static void create(vpFeaturePoint &s, const vpCameraParameters &cam, const vpDot &d)
Class that defines 2D ellipse visual feature.
static double sqr(double x)
Class that tracks an ellipse or a circle using moving edges.
vpImagePoint getCenter() const
vpColVector get_nij() const
static void convertEllipse(const vpCameraParameters &cam, const vpImagePoint ¢er_p, double n20_p, double n11_p, double n02_p, double &xc_m, double &yc_m, double &n20_m, double &n11_m, double &n02_m)
static void convertPoint(const vpCameraParameters &cam, const double &u, const double &v, double &x, double &y)
Class that defines a 3D sphere in the object frame and allows forward projection of a 3D sphere in th...