Click or drag to resize

Cv2GetPerspectiveTransform Method (IEnumerablePoint2f, IEnumerablePoint2f)

Calculates a perspective transform from four pairs of the corresponding points. The function calculates the 3×3 matrix of a perspective transform.

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public static Mat GetPerspectiveTransform(
	IEnumerable<Point2f> src,
	IEnumerable<Point2f> dst
)

Parameters

src
Type: System.Collections.GenericIEnumerablePoint2f
Coordinates of quadrangle vertices in the source image.
dst
Type: System.Collections.GenericIEnumerablePoint2f
Coordinates of the corresponding quadrangle vertices in the destination image.

Return Value

Type: Mat

[Missing <returns> documentation for "M:OpenCvSharp.Cv2.GetPerspectiveTransform(System.Collections.Generic.IEnumerable{OpenCvSharp.Point2f},System.Collections.Generic.IEnumerable{OpenCvSharp.Point2f})"]

See Also