#include <vpFeatureDisplay.h>
|
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 mu20, double mu11, double m02, 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 mu20, double mu11, double m02, 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 61 of file vpFeatureDisplay.h.
◆ displayCylinder() [1/2]
void vpFeatureDisplay::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 |
Display cylinder limbs as two 2D lines with coordinates
expressed in the image plane. These coordinates are obtained after perspective projection of the cylinder.
- Parameters
-
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 124 of file vpFeatureDisplay.cpp.
◆ displayCylinder() [2/2]
Display cylinder limbs as two 2D lines with coordinates
expressed in the image plane. These coordinates are obtained after perspective projection of the cylinder.
- Parameters
-
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 234 of file vpFeatureDisplay.cpp.
◆ displayEllipse() [1/2]
void vpFeatureDisplay::displayEllipse |
( |
double |
x, |
|
|
double |
y, |
|
|
double |
mu20, |
|
|
double |
mu11, |
|
|
double |
mu02, |
|
|
const vpCameraParameters & |
cam, |
|
|
const vpImage< unsigned char > & |
I, |
|
|
const vpColor & |
color = vpColor::green , |
|
|
unsigned int |
thickness = 1 |
|
) |
| |
|
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).
- Parameters
-
x,y,mu20,mu11,mu02 | : Ellipse parameters where:
are the normalized coordinates of the ellipse center, respectively along the horizontal and vertical axis in the image plane.
are the centered moments 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. |
- See also
- vpDisplay::displayEllipse()
Definition at line 147 of file vpFeatureDisplay.cpp.
Referenced by vpCircle::display(), and vpSphere::display().
◆ displayEllipse() [2/2]
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).
- Parameters
-
x,y,mu20,mu11,mu02 | : Ellipse parameters where:
are the normalized coordinates of the ellipse center, respectively along the horizontal and vertical axis in the image plane.
are the centered moments 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. |
- See also
- vpDisplay::displayEllipse()
Definition at line 257 of file vpFeatureDisplay.cpp.
◆ displayLine() [1/2]
Display a 2D line with coordinates
expressed in the image plane. These coordinates are obtained after perspective projection of the line.
- Parameters
-
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 84 of file vpFeatureDisplay.cpp.
Referenced by vpLine::display().
◆ displayLine() [2/2]
Display a 2D line with coordinates
expressed in the image plane. These coordinates are obtained after perspective projection of the line.
- Parameters
-
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 194 of file vpFeatureDisplay.cpp.
◆ displayPoint() [1/2]
Display a 2D point with coordinates (x, y) expressed in the image plane. These coordinates are obtained after perspective projection of the point.
- Parameters
-
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 66 of file vpFeatureDisplay.cpp.
◆ displayPoint() [2/2]
Display a 2D point with coordinates (x, y) expressed in the image plane. These coordinates are obtained after perspective projection of the point.
- Parameters
-
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 175 of file vpFeatureDisplay.cpp.