| Cv2GetAffineTransform Method (IEnumerablePoint2f, IEnumerablePoint2f) |
Calculates an affine transform from three pairs of the corresponding points.
The function calculates the 2×3 matrix of an affine transform.
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public static Mat GetAffineTransform(
IEnumerable<Point2f> src,
IEnumerable<Point2f> dst
)
Public Shared Function GetAffineTransform (
src As IEnumerable(Of Point2f),
dst As IEnumerable(Of Point2f)
) As Mat
public:
static Mat^ GetAffineTransform(
IEnumerable<Point2f>^ src,
IEnumerable<Point2f>^ dst
)
static member GetAffineTransform :
src : IEnumerable<Point2f> *
dst : IEnumerable<Point2f> -> Mat
Parameters
- src
- Type: System.Collections.GenericIEnumerablePoint2f
Coordinates of triangle vertices in the source image. - dst
- Type: System.Collections.GenericIEnumerablePoint2f
Coordinates of the corresponding triangle vertices in the destination image.
Return Value
Type:
Mat[Missing <returns> documentation for "M:OpenCvSharp.Cv2.GetAffineTransform(System.Collections.Generic.IEnumerable{OpenCvSharp.Point2f},System.Collections.Generic.IEnumerable{OpenCvSharp.Point2f})"]
See Also