You are here: Start » AVL.NET » AVL.DetectCalibrationGrid_Chessboard

AVL.DetectCalibrationGrid_Chessboard

Detects a chessboard calibration grid on the image, and returns calibration points where 4 chessboard squares meet.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void DetectCalibrationGrid_Chessboard
(
	AvlNet.Image inImage,
	AvlNet.Size inBoardSize,
	float inWorldSquareSize,
	bool inFastApproximate,
	INullable<List<AvlNet.Point2D>> outImagePoints,
	INullable<List<AvlNet.Point2D>> outWorldPlanePoints
)

Parameters

Name Type Range Default Description
inImageAvlNet.ImageInput image.
inBoardSizeAvlNet.Size(Width: 4, Height: 4)Number of checkerboard squares in X and Y dimensions. Default value: (Width: 4, Height: 4).
inWorldSquareSizefloat<0.001f, INF>1.0fReal-world length of a single chessboard square. Default value: 1.0f.
inFastApproximateboolFalseFast filter execution, but result is approximate. Default value: False.
outImagePointsAvlNet.INullable<System.Collections.Generic.List<AvlNet.Point2D>>Image coordinates of detected calibration points.
outWorldPlanePointsAvlNet.INullable<System.Collections.Generic.List<AvlNet.Point2D>>World plane coordinates of detected calibration points.

Examples

DetectCalibrationGrid_Chessboard executed with inBoardSize = {10,7}

Errors

List of possible exceptions:

Error type Description
DomainError Input image is too small
DomainError Input image must have pixels of UInt8 type
DomainError Specified board is too small, minimum size is 4x4

See also