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

AVS.EstimateAffine3DTransform Method

Computes optimal affine transformation between two 3D point sets.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void EstimateAffine3DTransform
(
	IList<AvlNet.Point3D> inSrcpt,
	IList<AvlNet.Point3D> inDstpt,
	float inRansacThreshold,
	float inConfidence,
	AvlNet.Matrix outTransform,
	IList<int> outOutliers,
	out int outValue
)

Parameters

Name Type Range Default Description
inSrcptSystem.Collections.Generic.IList<AvlNet.Point3D>List of 3D points in the source coordinate system.
inDstptSystem.Collections.Generic.IList<AvlNet.Point3D>List of 3D points in the destination coordinate system.
inRansacThresholdfloat3.0fMaximum reprojection error in the RANSAC algorithm to consider a point as an inlier. Default value: 3.0f.
inConfidencefloat<0.0f, 1.0f>0.99fConfidence level, between 0 and 1, for the estimated transformation. Anything between 0.95 and 0.99 is usually good enough. Values too close to 1 can slow down the estimation significantly. Values lower than 0.8-0.9 can result in an incorrectly estimated transformation. Default value: 0.99f.
outTransformAvlNet.MatrixEstimated affine transformation matrix.
outOutliersSystem.Collections.Generic.IList<int>Output vector indicating which points are outliers (1-inlier, 0-outlier).
outValueint

See also