Visual Servoing Platform
version 3.5.1 under development (2023-09-22)
|
#include <visp3/core/vpFeatureDisplay.h>
Static Public Member Functions | |
static void | displayCylinder (double rho1, double theta1, double rho2, double theta2, const vpCameraParameters &cam, const vpImage< unsigned char > &I, const vpColor &color=vpColor::green, unsigned int thickness=1) |
static void | displayCylinder (double rho1, double theta1, double rho2, double theta2, const vpCameraParameters &cam, const vpImage< vpRGBa > &I, const vpColor &color=vpColor::green, unsigned int thickness=1) |
static void | displayEllipse (double x, double y, double n20, double n11, double n02, const vpCameraParameters &cam, const vpImage< unsigned char > &I, const vpColor &color=vpColor::green, unsigned int thickness=1) |
static void | displayEllipse (double x, double y, double n20, double n11, double n02, const vpCameraParameters &cam, const vpImage< vpRGBa > &I, const vpColor &color=vpColor::green, unsigned int thickness=1) |
static void | displayLine (double rho, double theta, const vpCameraParameters &cam, const vpImage< unsigned char > &I, const vpColor &color=vpColor::green, unsigned int thickness=1) |
static void | displayLine (double rho, double theta, const vpCameraParameters &cam, const vpImage< vpRGBa > &I, const vpColor &color=vpColor::green, unsigned int thickness=1) |
static void | displayPoint (double x, double y, const vpCameraParameters &cam, const vpImage< unsigned char > &I, const vpColor &color=vpColor::green, unsigned int thickness=1) |
static void | displayPoint (double x, double y, const vpCameraParameters &cam, const vpImage< vpRGBa > &I, const vpColor &color=vpColor::green, unsigned int thickness=1) |
Interface with the image for feature display.
Definition at line 56 of file vpFeatureDisplay.h.
|
static |
Display cylinder limbs as two 2D lines with coordinates expressed in the image plane. These coordinates are obtained after perspective projection of the cylinder.
rho1,theta1 | : Cylinder first limb parameters expressed in the image plane. |
rho2,theta2 | : Cylinder second limb parameters expressed in the image plane. |
cam | : Camera intrinsic parameters. |
I | : Image. |
color | : Color to use to display the feature. |
thickness | : Thickness of the feature representation. |
Definition at line 121 of file vpFeatureDisplay.cpp.
References displayLine().
Referenced by vpCylinder::display().
|
static |
Display cylinder limbs as two 2D lines with coordinates expressed in the image plane. These coordinates are obtained after perspective projection of the cylinder.
rho1,theta1 | : Cylinder first limb parameters expressed in the image plane. |
rho2,theta2 | : Cylinder second limb parameters expressed in the image plane. |
cam | : Camera intrinsic parameters. |
I | : Image. |
color | : Color to use to display the feature. |
thickness | : Thickness of the feature representation. |
Definition at line 233 of file vpFeatureDisplay.cpp.
References displayLine().
|
static |
Display an ellipse with parameters expressed in the image plane. These parameters are obtained after perspective projection of a 3D circle (see vpCircle) or a sphere (see vpSphere).
x,y,n20,n11,n02 | : Ellipse parameters where:
|
cam | : Camera intrinsic parameters. |
I | : Image. |
color | : Color to use to display the feature. |
thickness | : Thickness of the feature representation. |
Definition at line 146 of file vpFeatureDisplay.cpp.
References vpMeterPixelConversion::convertEllipse(), vpDisplay::displayEllipse(), and vpTracker::p.
Referenced by vpFeatureEllipse::display(), vpCircle::display(), and vpSphere::display().
|
static |
Display an ellipse with parameters expressed in the image plane. These parameters are obtained after perspective projection of a 3D circle (see vpCircle) or a sphere (see vpSphere).
x,y,n20,n11,n02 | : Ellipse parameters where:
|
cam | : Camera intrinsic parameters. |
I | : Image. |
color | : Color to use to display the feature. |
thickness | : Thickness of the feature representation. |
Definition at line 258 of file vpFeatureDisplay.cpp.
References vpMeterPixelConversion::convertEllipse(), vpDisplay::displayEllipse(), and vpTracker::p.
|
static |
Display a 2D line with coordinates expressed in the image plane. These coordinates are obtained after perspective projection of the line.
rho,theta | : Line parameters expressed in the image plane. |
cam | : Camera intrinsic parameters. |
I | : Image. |
color | : Color to use to display the feature. |
thickness | : Thickness of the feature representation. |
Definition at line 81 of file vpFeatureDisplay.cpp.
References vpMeterPixelConversion::convertLine(), vpDisplay::displayLine(), vpImage< Type >::getHeight(), vpImage< Type >::getWidth(), and vpImagePoint::set_ij().
Referenced by vpFeatureLine::display(), vpLine::display(), and displayCylinder().
|
static |
Display a 2D line with coordinates expressed in the image plane. These coordinates are obtained after perspective projection of the line.
rho,theta | : Line parameters expressed in the image plane. |
cam | : Camera intrinsic parameters. |
I | : Image. |
color | : Color to use to display the feature. |
thickness | : Thickness of the feature representation. |
Definition at line 193 of file vpFeatureDisplay.cpp.
References vpMeterPixelConversion::convertLine(), vpDisplay::displayLine(), vpImage< Type >::getHeight(), vpImage< Type >::getWidth(), and vpImagePoint::set_ij().
|
static |
Display a 2D point with coordinates (x, y) expressed in the image plane. These coordinates are obtained after perspective projection of the point.
x,y | : Point coordinates in the image plane. |
cam | : Camera intrinsic parameters. |
I | : Image. |
color | : Color to use to display the feature. |
thickness | : Thickness of the feature representation. |
Definition at line 63 of file vpFeatureDisplay.cpp.
References vpMeterPixelConversion::convertPoint(), and vpDisplay::displayCross().
Referenced by vpFeaturePoint::display(), vpFeaturePointPolar::display(), vpFeatureVanishingPoint::display(), and vpPoint::display().
|
static |
Display a 2D point with coordinates (x, y) expressed in the image plane. These coordinates are obtained after perspective projection of the point.
x,y | : Point coordinates in the image plane. |
cam | : Camera intrinsic parameters. |
I | : Image. |
color | : Color to use to display the feature. |
thickness | : Thickness of the feature representation. |
Definition at line 174 of file vpFeatureDisplay.cpp.
References vpMeterPixelConversion::convertPoint(), and vpDisplay::displayCross().