Estimates the best-fit Euqcidean, similarity, affine or perspective transformation
that maps one 2D point set to another or one image to another.
Namespace: OpenCvSharp.CPlusPlus
Assembly: OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static Mat EstimateRigidTransform( InputArray src, InputArray dst, bool fullAffine )
Parameters
- src
- Type: OpenCvSharp.CPlusPlusInputArray
First input 2D point set stored in std::vector or Mat, or an image stored in Mat. - dst
- Type: OpenCvSharp.CPlusPlusInputArray
Second input 2D point set of the same size and the same type as A, or another image. - fullAffine
- Type: SystemBoolean
If true, the function finds an optimal affine transformation with no additional restrictions (6 degrees of freedom). Otherwise, the class of transformations to choose from is limited to combinations of translation, rotation, and uniform scaling (5 degrees of freedom).
Return Value
Type: Mat[Missing <returns> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.EstimateRigidTransform(OpenCvSharp.CPlusPlus.InputArray,OpenCvSharp.CPlusPlus.InputArray,System.Boolean)"]
See Also