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
inImagesAvlNet.ImageImages with calibration boards.
inColumnCountintChessboards columns count.
inRowsCountintChessboards rows count.
inMapWidthintOutput map width.
inMapHeightintOutput map height.
inUseRationalModelboolRational model.
inGridScalefloatSize of each cell.
inDisableTangentialDistortionboolDisable lens tilt distortion.
outSpatialMapAvlNet.SpatialMapOutput spatial map.
outErrorfloat?Calibration approximation error.

Errors

Error type Description
DomainError inGridScale cannot be 0 in CalibrateCameraFromImages_Chessboard.
DomainError Empty array inImages in CalibrateCameraFromImages_Chessboard.

See also