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

AVL.CalibrateCameraFromImages_CustomGrid

Returns a spatial map with undistortion map.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
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.Image[]Images 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