CalibrateWorldPlane_Manual


Finds the image to world plane transformation parameters. Image and their corresponding world points are directly specified (no grid needed).

Applications:Prepares transformation parameters for image to world coordinate transformations or image rectification without the need for a world plane calibration grid.

Syntax

C++
C#
Python
 
def CalibrateWorldPlane_Manual(
	inImagePoints: list[Point2D],
	inWorldPlanePoints: list[Point2D],
	outTransform: RectificationTransform,
	/,
	*,
	inCameraModel: AnyCameraModel | None = None,
	inGridThickness: float = 0.0
)
-> (
	outRmsError: float,
	outMaxReprojectionError: float,
	outReprojectionErrorSegments: list[Segment2D]
)

Parameters

Name Type Default Description
Input value inImagePoints list[Point2D] Array of 2D points of the calibration pattern, in the picture.
Input value inWorldPlanePoints list[Point2D] Array of 2D points of the calibration pattern, in a given world coordinate plane.
Input value inCameraModel AnyCameraModel | None None For undistortion of inImageGrid. If not supplied, the filter will assume that grid came from undistorted image.
Input value inGridThickness float 0.0 The world plane will be shifted by given amount in direction perpendicular to the grid to compensate for grid thickness.
Output value outTransform RectificationTransform
Output value outRmsError float RMS reprojection error, in pixels.
Output value outMaxReprojectionError float Maximum reprojection error, in pixels.
Output value outReprojectionErrorSegments list[Segment2D] Array of segments connecting input image points to reprojected world points.