CvInvokeEstimateAffine3D Method (IInputArray, IInputArray, IOutputArray, IOutputArray, Double, Double) |
http://www.emgu.com
Computes an optimal affine transformation between two 3D point sets.
Namespace: Emgu.CVAssembly: Emgu.CV (in Emgu.CV.dll) Version: 3.0.0.2161 (3.0.0.2161)
Syntaxpublic static int EstimateAffine3D(
IInputArray src,
IInputArray dst,
IOutputArray affineEstimate,
IOutputArray inliers,
double ransacThreshold = 3,
double confidence = 0.99
)
Public Shared Function EstimateAffine3D (
src As IInputArray,
dst As IInputArray,
affineEstimate As IOutputArray,
inliers As IOutputArray,
Optional ransacThreshold As Double = 3,
Optional confidence As Double = 0.99
) As Integer
public:
static int EstimateAffine3D(
IInputArray^ src,
IInputArray^ dst,
IOutputArray^ affineEstimate,
IOutputArray^ inliers,
double ransacThreshold = 3,
double confidence = 0.99
)
static member EstimateAffine3D :
src : IInputArray *
dst : IInputArray *
affineEstimate : IOutputArray *
inliers : IOutputArray *
?ransacThreshold : float *
?confidence : float
(* Defaults:
let _ransacThreshold = defaultArg ransacThreshold 3
let _confidence = defaultArg confidence 0.99
*)
-> int
Parameters
- src
- Type: Emgu.CVIInputArray
First input 3D point set. - dst
- Type: Emgu.CVIInputArray
Second input 3D point set. - affineEstimate
- Type: Emgu.CVIOutputArray
Output 3D affine transformation matrix 3 x 4 - inliers
- Type: Emgu.CVIOutputArray
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:Emgu.CV.CvInvoke.EstimateAffine3D(Emgu.CV.IInputArray,Emgu.CV.IInputArray,Emgu.CV.IOutputArray,Emgu.CV.IOutputArray,System.Double,System.Double)"]
See Also