You are here: Start » AVL.NET » Function Reference » Computer Vision » Camera Calibration » AVL.CreateRectificationMap_Basic

AVL.CreateRectificationMap_Basic

Computes a spatial map for removing lens and perspective distortion directly from an image containing circles calibration pattern. Internally uses a pinhole camera model with polynomial lens distortion.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void CreateRectificationMap_Basic
(
	AvlNet.Image inImage,
	float inCircleRadius,
	float inCircleDetectionThreshold,
	IList<AvlNet.AnnotatedPoint2D> outImageGrid,
	AvlNet.RectificationMap outRectificationMap
)

Parameters

Name Type Range Default Description
inImageAvlNet.ImageInput image.
inCircleRadiusfloat<1.0f, INF>Circle radius measured in input image pixels.
inCircleDetectionThresholdfloat<0.0f, INF>20.0fDetection threshold (relative to local image patch). Default value: 20.0f.
outImageGridSystem.Collections.Generic.IList<AvlNet.AnnotatedPoint2D>Detected grid, upon which the calibration will be based.
outRectificationMapAvlNet.RectificationMap

Errors

List of possible exceptions:

Error type Description
DomainError No grid detected in the input image

See also