You are here: Start » AVL.NET » Function Reference » Computer Vision » HandEyeCalibration Calibration » AVL.CalibrateEyeInHandDataPrep

AVL.CalibrateEyeInHandDataPrep

Compute the transformation between the camera and the calibration target reference frames. (all units in mm)

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void CalibrateEyeInHandDataPrep
(
	IList<AvlNet.Image> inCalibrationTargetImages,
	IList<AvlNet.Point3DGrid> inCalibrationTargetPoints,
	float? inCalibrationTargetSquareSize,
	AvlNet.Size inCalibrationTargetSize,
	IList<AvlNet.Matrix> outRotationTargetToCam,
	IList<AvlNet.Matrix> outTranslationTargetToCam,
	IList<bool> outDetectionStatus,
	IList<AvlNet.Image> diagShowDetectedCorners2D,
	IList<AvlNet.Point3DGrid> diagShowCorners3DCameraRef,
	IList<AvlNet.Point3DGrid> diagShow3DCorners3DTargetRef
)

Parameters

Name Type Range Default Description
inCalibrationTargetImagesSystem.Collections.Generic.IList<AvlNet.Image>Input Intensity images of the calibration target. Calibration target should be visible in all images.
inCalibrationTargetPointsSystem.Collections.Generic.IList<AvlNet.Point3DGrid>Input 3D point Cloud of the calibration target. Calibration target should be visible in all images.
inCalibrationTargetSquareSizefloat?Side length of the Square in chessboard calibration target in mm. If not specified, the size will be estimated from the input Point Cloud. Default value: atl::NIL.
inCalibrationTargetSizeAvlNet.SizeNumber of Rows and Columns in the chessboard calibration target.
outRotationTargetToCamSystem.Collections.Generic.IList<AvlNet.Matrix>Estimated rotation part of the homogeneous transformation matrix that transforms a point expressed in the camera frame to the Target frame.
outTranslationTargetToCamSystem.Collections.Generic.IList<AvlNet.Matrix>Estimated translation part of the homogeneous transformation matrix that transforms a point expressed in the camera frame to the Target frame.
outDetectionStatusSystem.Collections.Generic.IList<bool>Output status of the detection of the calibration target in each image.
diagShowDetectedCorners2DSystem.Collections.Generic.IList<AvlNet.Image>Calibration Target Images annotated with detected corners.
diagShowCorners3DCameraRefSystem.Collections.Generic.IList<AvlNet.Point3DGrid>Position of the chessboard corners in Camera Reference Frame.
diagShow3DCorners3DTargetRefSystem.Collections.Generic.IList<AvlNet.Point3DGrid>Position of the chessboard corners in Calibration Target Reference Frame.

Errors

List of possible exceptions:

Error type Description
DomainError All images should have the same size.
DomainError All point clouds should have the same size.
DomainError At least 3 images are needed.
DomainError Number of images and Point Cloud should be same.
DomainError The Size of a square in calibration should be greater than 10 mm
DomainError The Size of the calibration should be greater then 4x4 rows, columns.
DomainError The size of the image and the point cloud should be the same.

Function Overrides

See also