You are here: Start » AVL.NET » 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 | |
---|---|---|---|---|---|
![]() | inImagePoints | AvlNet.Point2D[] | |||
![]() | inWorldPoints | AvlNet.Point3D[] | |||
![]() | outResolution | float | |||
![]() | outWorldPlane | AvlNet.Position3D | Calibrated world plane. | ||
![]() | outError | float | Average distance between provided points and points found on calibration plane. | ||
![]() | outCorrectedImagePoints | AvlNet.Point2D[] | Points projected to the found plane. | ||
![]() | outCorrectedWorldPoints | AvlNet.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 |