You are here: Start » AVL.NET » AVL.CalibrateCameraFromImages_Chessboard(AvlNet.Image[], int, int, int, int, bool, float, bool, AvlNet.SpatialMap, float?)
AVL.CalibrateCameraFromImages_Chessboard(AvlNet.Image[], int, int, int, int, bool, float, bool, AvlNet.SpatialMap, float?)
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
- inImages
- Type: AvlNet.Image
Images with calibration boards - inColumnCount
- Type: System.Int32
Chessboards columns count - inRowsCount
- Type: System.Int32
Chessboards rows count - inMapWidth
- Type: System.Int32
Output map width - inMapHeight
- Type: System.Int32
Output map height - inUseRationalModel
- Type: System.Boolean
Rational model - inGridScale
- Type: System.Single
Size of each cell - inDisableTangentialDistortion
- Type: System.Boolean
Disable lens tilt distortion - outSpatialMap
- Type: AvlNet.SpatialMap
Output spatial map - outError
- Type: System.Nullable<System.Single>
Calibration approximation error
Errors
| Error type | Description |
|---|---|
| DomainError | inGridScale cannot be 0 in CalibrateCameraFromImages_Chessboard. |
| DomainError | Empty array inImages in CalibrateCameraFromImages_Chessboard. |
