Back to Adaptive Vision Library website

You are here: Start » Function Reference » Computer Vision » Camera Calibration » CalibrateWorldPlane_Default_Deprecated

CalibrateWorldPlane_Default_Deprecated


Header: AVL.h
Namespace: avl
Module: Calibration

Finds the image to world plane transformation matrix.

Applications: Image to world coordinates transformations.

Syntax

void avl::CalibrateWorldPlane_Default_Deprecated
(
	const atl::Array<avl::Point2D>& inImagePoints,
	const atl::Array<avl::Point2D>& inWorldPlanePoints,
	const atl::Optional<const avl::AnyCameraModel&>& inCameraModel,
	avl::RectificationTransform& outTransform,
	atl::Optional<float&> outRmsError = atl::NIL,
	atl::Optional<float&> outMaxReprojectionError = atl::NIL,
	atl::Optional<atl::Array<avl::Segment2D>&> outReprojectionErrorSegments = atl::NIL
)

Parameters

Name Type Default Description
inImagePoints const Array<Point2D>& Array of 2D points of the calibration pattern, in the picture.
inWorldPlanePoints const Array<Point2D>& Array of 2D points of the calibration pattern, in a given world coordinate plane.
inCameraModel const Optional<const AnyCameraModel&>& NIL For undistortion of inImagePoints. If not supplied, the filter will assume undistorted inImagePoints.
outTransform RectificationTransform&
outRmsError Optional<float&> NIL RMS reprojection error, in pixels.
outMaxReprojectionError Optional<float&> NIL Maximum reprojection error, in pixels.
outReprojectionErrorSegments Optional<Array<Segment2D>&> NIL Array of segments connecting input image points to reprojected world points.

Optional Outputs

The computation of following outputs can be switched off by passing value atl::NIL to these parameters: outRmsError, outMaxReprojectionError, outReprojectionErrorSegments.

Read more about Optional Outputs.

Errors

List of possible exceptions:

Error type Description
DomainError Array inImagePoints and inWorldPlanePoints sizes differ