You are here: Start » AVL.NET » AVL.CalibrateWorldCoordinates(AvlNet.Point2D[], AvlNet.Point3D[], float, AvlNet.Position3D, float, AvlNet.Point2D[], AvlNet.Point3D[])
AVL.CalibrateWorldCoordinates(AvlNet.Point2D[], AvlNet.Point3D[], float, AvlNet.Position3D, float, AvlNet.Point2D[], AvlNet.Point3D[])
Calculates the world plane for the given sets of corresponding 2D and 3D points.
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
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
- inImagePoints
- Type: AvlNet.Point2D
- inWorldPoints
- Type: AvlNet.Point3D
- outResolution
- Type: System.Single
- outWorldPlane
- Type: AvlNet.Position3D
Calibrated world plane - outError
- Type: System.Single
Average distance between provided points and points found on calibration plane - outCorrectedImagePoints
- Type: AvlNet.Point2D
Points projected to the found plane - outCorrectedWorldPoints
- Type: 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 |
