You are here: Start » FIL.NET » Function Reference » Computer Vision » Camera Calibration » 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, NullableRef<FilNet.Region> inRoi, FilNet.Size inBoardSize, bool inFastApproximate, IList<FilNet.AnnotatedPoint2D> outImageGrid )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() | inImage | FilNet.Image | Input image. | ||
![]() | inRoi | FilNet.NullableRef<FilNet.Region> | Range of pixels to be processed. Default value: ftl::NIL. | ||
![]() | inBoardSize | FilNet.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<FilNet.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 |


