You are here: Start » AVL.NET » AVL.CalibrateCameraFromImages_Chessboard Method
AVL.CalibrateCameraFromImages_Chessboard Method
Returns a spatial map with undistortion map.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
public static void CalibrateCameraFromImages_Chessboard( AvlNet.Image[] inImages, int inColumnCount, int inRowsCount, int inMapWidth, int inMapHeight, bool inUseRationalModel, float inGridScale, bool inDisableTangentialDistortion, out AvlNet.SpatialMap outSpatialMap, out float? outError )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inImages | AvlNet.Image | Images with calibration boards. | |||
inColumnCount | int | Chessboards columns count. | |||
inRowsCount | int | Chessboards rows count. | |||
inMapWidth | int | Output map width. | |||
inMapHeight | int | Output map height. | |||
inUseRationalModel | bool | Rational model. | |||
inGridScale | float | Size of each cell. | |||
inDisableTangentialDistortion | bool | Disable lens tilt distortion. | |||
outSpatialMap | AvlNet.SpatialMap | Output spatial map. | |||
outError | float? | Calibration approximation error. |
Errors
Error type | Description |
---|---|
DomainError | inGridScale cannot be 0 in CalibrateCameraFromImages_Chessboard. |
DomainError | Empty array inImages in CalibrateCameraFromImages_Chessboard. |