ArucoInvokeEstimatePoseCharucoBoard Method |
http://www.emgu.com
Pose estimation for a ChArUco board given some of their corners
Namespace:
Emgu.CV.Aruco
Assembly:
Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.0.3408 (4.1.0.3408)
Syntaxpublic static bool EstimatePoseCharucoBoard(
IInputArray charucoCorners,
IInputArray charucoIds,
CharucoBoard board,
IInputArray cameraMatrix,
IInputArray distCoeffs,
IOutputArray rvec,
IOutputArray tvec,
bool useExtrinsicGuess = false
)
Public Shared Function EstimatePoseCharucoBoard (
charucoCorners As IInputArray,
charucoIds As IInputArray,
board As CharucoBoard,
cameraMatrix As IInputArray,
distCoeffs As IInputArray,
rvec As IOutputArray,
tvec As IOutputArray,
Optional useExtrinsicGuess As Boolean = false
) As Boolean
public:
static bool EstimatePoseCharucoBoard(
IInputArray^ charucoCorners,
IInputArray^ charucoIds,
CharucoBoard^ board,
IInputArray^ cameraMatrix,
IInputArray^ distCoeffs,
IOutputArray^ rvec,
IOutputArray^ tvec,
bool useExtrinsicGuess = false
)
static member EstimatePoseCharucoBoard :
charucoCorners : IInputArray *
charucoIds : IInputArray *
board : CharucoBoard *
cameraMatrix : IInputArray *
distCoeffs : IInputArray *
rvec : IOutputArray *
tvec : IOutputArray *
?useExtrinsicGuess : bool
(* Defaults:
let _useExtrinsicGuess = defaultArg useExtrinsicGuess false
*)
-> bool
Parameters
- charucoCorners
- Type: Emgu.CVIInputArray
vector of detected charuco corners - charucoIds
- Type: Emgu.CVIInputArray
list of identifiers for each corner in charucoCorners - board
- Type: Emgu.CV.ArucoCharucoBoard
layout of ChArUco board. - cameraMatrix
- Type: Emgu.CVIInputArray
input 3x3 floating-point camera matrix - distCoeffs
- Type: Emgu.CVIInputArray
vector of distortion coefficients, 4, 5, 8 or 12 elements - rvec
- Type: Emgu.CVIOutputArray
Output vector (e.g. cv::Mat) corresponding to the rotation vector of the board - tvec
- Type: Emgu.CVIOutputArray
Output vector (e.g. cv::Mat) corresponding to the translation vector of the board. - useExtrinsicGuess (Optional)
- Type: SystemBoolean
defines whether initial guess for rvec and tvec will be used or not.
Return Value
Type:
BooleanIf pose estimation is valid, returns true, else returns false.
See Also