39 #include <visp3/core/vpDebug.h>
40 #include <visp3/core/vpException.h>
41 #include <visp3/visual_features/vpFeatureBuilder.h>
42 #include <visp3/visual_features/vpFeatureException.h>
45 #ifdef VISP_HAVE_MODULE_BLOB
104 vpERROR_TRACE(
"Error caught");
165 vpERROR_TRACE(
"Error caught");
224 vpERROR_TRACE(
"Error caught");
252 vpERROR_TRACE(
"Point is behind the camera ");
253 std::cout <<
"Z = " << s.
get_Z() << std::endl;
258 if (fabs(s.
get_Z()) < 1e-6) {
259 vpERROR_TRACE(
"Point Z coordinates is null ");
260 std::cout <<
"Z = " << s.
get_Z() << std::endl;
267 vpERROR_TRACE(
"Error caught");
320 vpERROR_TRACE(
"Error caught");
Generic class defining intrinsic camera parameters.
This tracker is meant to track a blob (connex pixels with same gray level) on a vpImage.
This tracker is meant to track a dot (connected pixels with same gray level) on a vpImage.
static void create(vpFeaturePoint &s, const vpCameraParameters &cam, const vpImagePoint &t)
Error that can be emitted by the vpBasicFeature class and its derivates.
@ badInitializationError
Wrong feature initialization.
Class that defines a 2D point visual feature which is composed by two parameters that are the cartes...
Class that defines a 2D point in an image. This class is useful for image processing and stores only ...
static void convertPoint(const vpCameraParameters &cam, const double &x, const double &y, double &u, double &v)
static void convertPoint(const vpCameraParameters &cam, const double &u, const double &v, double &x, double &y)
Class that defines a 3D point in the object frame and allows forward projection of a 3D point in the ...
double get_y() const
Get the point y coordinate in the image plane.
double get_x() const
Get the point x coordinate in the image plane.