Cv2EstimateAffine3D Method OpenCvSharp Class Library
Computes an optimal affine transformation between two 3D point sets.

Namespace:  OpenCvSharp.CPlusPlus
Assembly:  OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public static int EstimateAffine3D(
	InputArray src,
	InputArray dst,
	OutputArray outVal,
	OutputArray inliers,
	double ransacThreshold = 3,
	double confidence = 0.99
)

Parameters

src
Type: OpenCvSharp.CPlusPlusInputArray
First input 3D point set.
dst
Type: OpenCvSharp.CPlusPlusInputArray
Second input 3D point set.
outVal
Type: OpenCvSharp.CPlusPlusOutputArray
Output 3D affine transformation matrix 3 x 4 .
inliers
Type: OpenCvSharp.CPlusPlusOutputArray
Output vector indicating which points are inliers.
ransacThreshold (Optional)
Type: SystemDouble
Maximum reprojection error in the RANSAC algorithm to consider a point as an inlier.
confidence (Optional)
Type: SystemDouble
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.

Return Value

Type: Int32

[Missing <returns> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.EstimateAffine3D(OpenCvSharp.CPlusPlus.InputArray,OpenCvSharp.CPlusPlus.InputArray,OpenCvSharp.CPlusPlus.OutputArray,OpenCvSharp.CPlusPlus.OutputArray,System.Double,System.Double)"]

See Also

Reference