ArucoInvokeDrawAxis Method |
http://www.emgu.com
Given the pose estimation of a marker or board, this function draws the axis of the world coordinate system, i.e. the system centered on the marker/board. Useful for debugging purposes.
Namespace:
Emgu.CV.Aruco
Assembly:
Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.0.3408 (4.1.0.3408)
Syntaxpublic static void DrawAxis(
IInputOutputArray image,
IInputArray cameraMatrix,
IInputArray distCoeffs,
IInputArray rvec,
IInputArray tvec,
float length
)
Public Shared Sub DrawAxis (
image As IInputOutputArray,
cameraMatrix As IInputArray,
distCoeffs As IInputArray,
rvec As IInputArray,
tvec As IInputArray,
length As Single
)
public:
static void DrawAxis(
IInputOutputArray^ image,
IInputArray^ cameraMatrix,
IInputArray^ distCoeffs,
IInputArray^ rvec,
IInputArray^ tvec,
float length
)
static member DrawAxis :
image : IInputOutputArray *
cameraMatrix : IInputArray *
distCoeffs : IInputArray *
rvec : IInputArray *
tvec : IInputArray *
length : float32 -> unit
Parameters
- image
- Type: Emgu.CVIInputOutputArray
input/output image. It must have 1 or 3 channels. The number of channels is not altered. - cameraMatrix
- Type: Emgu.CVIInputArray
input 3x3 floating-point camera matrix - distCoeffs
- Type: Emgu.CVIInputArray
vector of distortion coefficients (k1,k2,p1,p2[,k3[,k4,k5,k6],[s1,s2,s3,s4]]) of 4, 5, 8 or 12 elements - rvec
- Type: Emgu.CVIInputArray
rotation vector of the coordinate system that will be drawn. - tvec
- Type: Emgu.CVIInputArray
translation vector of the coordinate system that will be drawn. - length
- Type: SystemSingle
length of the painted axis in the same unit than tvec (usually in meters)
See Also