You are here: Start » FIL.NET » Invoke.EstimateAffine3DTransform
Computes optimal affine transformation between two 3D point sets.
Namespace: | Fil |
---|---|
Assembly: | FilNet.dll |
Syntax
C++
C#
public static void EstimateAffine3DTransform ( List<Fil.Point3D> inSrcpt, List<Fil.Point3D> inDstpt, float inRansacThreshold, float inConfidence, Fil.Matrix outTransform, List<int> outOutliers, out int outValue )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inSrcpt | System.Collections.Generic.List<Fil.Point3D> | List of 3D points in the source coordinate system. | ||
![]() | inDstpt | System.Collections.Generic.List<Fil.Point3D> | List of 3D points in the destination coordinate system. | ||
![]() | inRansacThreshold | float | 3.0f | Maximum reprojection error in the RANSAC algorithm to consider a point as an inlier. Default value: 3.0f. | |
![]() | inConfidence | float | <0.0f, 1.0f> | 0.99f | Confidence 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. |
![]() | outTransform | Fil.Matrix | Estimated affine transformation matrix. | ||
![]() | outOutliers | System.Collections.Generic.List<int> | Output vector indicating which points are outliers (1-inlier, 0-outlier). | ||
![]() | outValue | int |