ArucoInvokeDetectCharucoDiamond Method |
http://www.emgu.com
Detect ChArUco Diamond markers
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 DetectCharucoDiamond(
IInputArray image,
IInputArray markerCorners,
IInputArray markerIds,
float squareMarkerLengthRate,
IOutputArray diamondCorners,
IOutputArray diamondIds,
IInputArray cameraMatrix = null,
IInputArray distCoeffs = null
)
Public Shared Sub DetectCharucoDiamond (
image As IInputArray,
markerCorners As IInputArray,
markerIds As IInputArray,
squareMarkerLengthRate As Single,
diamondCorners As IOutputArray,
diamondIds As IOutputArray,
Optional cameraMatrix As IInputArray = Nothing,
Optional distCoeffs As IInputArray = Nothing
)
public:
static void DetectCharucoDiamond(
IInputArray^ image,
IInputArray^ markerCorners,
IInputArray^ markerIds,
float squareMarkerLengthRate,
IOutputArray^ diamondCorners,
IOutputArray^ diamondIds,
IInputArray^ cameraMatrix = nullptr,
IInputArray^ distCoeffs = nullptr
)
static member DetectCharucoDiamond :
image : IInputArray *
markerCorners : IInputArray *
markerIds : IInputArray *
squareMarkerLengthRate : float32 *
diamondCorners : IOutputArray *
diamondIds : IOutputArray *
?cameraMatrix : IInputArray *
?distCoeffs : IInputArray
(* Defaults:
let _cameraMatrix = defaultArg cameraMatrix null
let _distCoeffs = defaultArg distCoeffs null
*)
-> unit
Parameters
- image
- Type: Emgu.CVIInputArray
input image necessary for corner subpixel. - markerCorners
- Type: Emgu.CVIInputArray
list of detected marker corners from detectMarkers function. - markerIds
- Type: Emgu.CVIInputArray
list of marker ids in markerCorners. - squareMarkerLengthRate
- Type: SystemSingle
rate between square and marker length: squareMarkerLengthRate = squareLength / markerLength.The real units are not necessary. - diamondCorners
- Type: Emgu.CVIOutputArray
output list of detected diamond corners (4 corners per diamond). The order is the same than in marker corners: top left, top right, bottom right and bottom left. Similar format than the corners returned by detectMarkers(e.g VectorOfVectorOfPointF ). - diamondIds
- Type: Emgu.CVIOutputArray
ids of the diamonds in diamondCorners. The id of each diamond is in fact of type Vec4i, so each diamond has 4 ids, which are the ids of the aruco markers composing the diamond. - cameraMatrix (Optional)
- Type: Emgu.CVIInputArray
Optional camera calibration matrix. - distCoeffs (Optional)
- Type: Emgu.CVIInputArray
Optional camera distortion coefficients.
See Also