You are here: Start » AVL.NET » 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 | |
---|---|---|---|---|---|
inImage | AvlNet.Image | Input image. | |||
inBoardSize | AvlNet.Size | (Width: 4, Height: 4) | Number of checkerboard squares in X and Y dimensions. Default value: (Width: 4, Height: 4). | ||
inWorldSquareSize | float | <0.001f, INF> | 1.0f | Real-world length of a single chessboard square. Default value: 1.0f. | |
inFastApproximate | bool | False | Fast filter execution, but result is approximate. Default value: False. | ||
outImagePoints | AvlNet.INullable<System.Collections.Generic.List<AvlNet.Point2D>> | Image coordinates of detected calibration points. | |||
outWorldPlanePoints | AvlNet.INullable<System.Collections.Generic.List<AvlNet.Point2D>> | World plane coordinates of detected calibration points. |
Examples
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 |