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.

Applications:Quick and easy one-step calibration for basic removal of lens and perspective distortions.

Syntax

C++
C#
Python
 
def CreateRectificationMap_Basic(
	inImage: Image,
	inCircleRadius: float,
	outRectificationMap: RectificationMap,
	/,
	*,
	inCircleDetectionThreshold: float = 20.0
)
-> outImageGrid: list[AnnotatedPoint2D]

Parameters

Name Type Range Default Description
Input value inImage Image Input image
Input value inCircleRadius float 1.0 - Circle radius measured in input image pixels.
Input value inCircleDetectionThreshold float 0.0 - 20.0 Detection threshold (relative to local image patch).
Output value outImageGrid list[AnnotatedPoint2D] Detected grid, upon which the calibration will be based.
Output value outRectificationMap RectificationMap