Loading [MathJax]/extensions/tex2jax.js

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

FIL.DetectCalibrationGrid_Chessboard

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

Namespace:FilNet
Assembly:FIL.NET.dll

Syntax

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

Parameters

Name Type Range Default Description
inImageFilNet.ImageInput image.
inBoardSizeFilNet.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.
outImagePointsFilNet.INullable<System.Collections.Generic.List<FilNet.Point2D>>Image coordinates of detected calibration points.
outWorldPlanePointsFilNet.INullable<System.Collections.Generic.List<FilNet.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