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

AVL.CalibrateWorldCoordinates

Calculates the world plane for the given sets of corresponding 2D and 3D points.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void CalibrateWorldCoordinates
(
	AvlNet.Point2D[] inImagePoints,
	AvlNet.Point3D[] inWorldPoints,
	out float outResolution,
	out AvlNet.Position3D outWorldPlane,
	out float outError,
	out AvlNet.Point2D[] outCorrectedImagePoints,
	out AvlNet.Point3D[] outCorrectedWorldPoints
)

Parameters

Name Type Range Default Description
inImagePointsAvlNet.Point2D[]
inWorldPointsAvlNet.Point3D[]
outResolutionfloat
outWorldPlaneAvlNet.Position3DCalibrated world plane.
outErrorfloatAverage distance between provided points and points found on calibration plane.
outCorrectedImagePointsAvlNet.Point2D[]Points projected to the found plane.
outCorrectedWorldPointsAvlNet.Point3D[]World points found using output plane.

Errors

Error type Description
DomainError At least 4 points are required in CalibrateWorldCoordinates
DomainError Number of points in inImagePoints and inWorldPoints must be equal in CalibrateWorldCoordinates

See also