You are here: Start » AVL.NET » Function Reference » Computer Vision » Camera Calibration » 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, NullableRef<AvlNet.Region> inRoi, AvlNet.Size inBoardSize, bool inFastApproximate, IList<AvlNet.AnnotatedPoint2D> outImageGrid )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() | inImage | AvlNet.Image | Input image. | ||
![]() | inRoi | AvlNet.NullableRef<AvlNet.Region> | Range of pixels to be processed. Default value: atl::NIL. | ||
![]() | inBoardSize | AvlNet.Size | (Width: 0, Height: 0) | Number of checkerboard squares in X and Y dimensions. Default value: (Width: 0, Height: 0). | |
![]() | inFastApproximate | bool | False | Fast filter execution, but result is approximate. Default value: False. | |
![]() | outImageGrid | System.Collections.Generic.IList<AvlNet.AnnotatedPoint2D> | Detected grid. |
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 | Region of interest exceeds an input image. |
| DomainError | Specified board is too small, minimum size is 4x4 |


