You are here: Start » AVL.NET » AVS.CalibrateWorldPlane_OffgridOrigin Method

AVS.CalibrateWorldPlane_OffgridOrigin Method

Finds the image to world plane transformation matrix, with world origin and axes specified in the image coordinates.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void CalibrateWorldPlane_OffgridOrigin
(
	IList<AvlNet.AnnotatedPoint2D> inImageGrid,
	NullableRef<AvlNet.AnyCameraModel> inCameraModel,
	float inGridSpacing,
	float inGridThickness,
	AvlNet.Point2D? inWorldPlaneOrigin,
	AvlNet.Point2D? inWorldPlaneXAxis,
	AvlNet.RectificationTransform outTransform,
	out float outRmsError,
	out float outMaxReprojectionError,
	IList<AvlNet.Segment2D> outReprojectionErrorSegments
)

Parameters

Name Type Range Default Description
inImageGridSystem.Collections.Generic.IList<AvlNet.AnnotatedPoint2D>Annotated calibration grid.
inCameraModelAvlNet.NullableRef<AvlNet.AnyCameraModel>For undistortion of inImageGrid. If not supplied, the filter will assume that grid came from undistorted image. Default value: atl::NIL.
inGridSpacingfloat<0.000001f, INF>1.0fReal-world distance between adjacent grid points. Default value: 1.0f.
inGridThicknessfloat0.0fThe world plane will be shifted by given amount in direction perpendicular to the grid to compensate for grid thickness. Note, that inWorldPlaneOrigin and inWorldPlaneXAxis won't be compensated, so they need to be selected on the target world plane, and not on the grid. Default value: 0.0f.
inWorldPlaneOriginAvlNet.Point2D?Sets world plane origin (as the image point). The world plane origin will lie at the specified image point. Note, that this point won't be shifted by inGridThickness parameter. Default value: atl::NIL.
inWorldPlaneXAxisAvlNet.Point2D?Sets world plane x axis direction (as the image point). The world plane x axis will lie at the specified image point. Note, that this point won't be shifted by inGridThickness parameter. Default value: atl::NIL.
outTransformAvlNet.RectificationTransform
outRmsErrorfloatRMS reprojection error, in pixels.
outMaxReprojectionErrorfloatMaximum reprojection error, in pixels.
outReprojectionErrorSegmentsSystem.Collections.Generic.IList<AvlNet.Segment2D>Array of segments connecting input image points to grid reprojections.

Function Overrides

See also