You are here: Start » AVL.NET » AVL.CalibrateCameraFromImages_CustomGrid Method

AVL.CalibrateCameraFromImages_CustomGrid Method

Returns a spatial map with undistortion map.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void CalibrateCameraFromImages_CustomGrid(
	AvlNet.Image[] inImages,
	int inRadius,
	float inMinRelative,
	float inHysteresis,
	int inPatternMinWidth,
	int inPatternMaxWidth,
	int inPatternMinHeight,
	int inPatternMaxHeight,
	bool inCreateMap,
	float inGridScale,
	out AvlNet.SpatialMap outSpatialMap,
	out float? outError,
	out AvlNet.Region[][] outRegions
)

Parameters

Name Type Range Default Description
inImagesAvlNet.ImageImages with calibration boards.
inRadiusint
inMinRelativefloat
inHysteresisfloat
inPatternMinWidthint
inPatternMaxWidthint
inPatternMinHeightint
inPatternMaxHeightint
inCreateMapbool
inGridScalefloat
outSpatialMapAvlNet.SpatialMapOutput spatial map.
outErrorfloat?Calibration approximation error.
outRegionsAvlNet.Region

Errors

Error type Description
DomainError inCellWidth cannot be 0 in CalibrateCameraFromImages_Chessboard.
DomainError No images were selected for CalibrateCameraFromImages_Chessboard.

See also