Cv2PerspectiveTransform Method (IEnumerablePoint2d, Mat) OpenCvSharp Class Library
performs perspective transformation of each element of multi-channel input matrix

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

public static Point2d[] PerspectiveTransform(
	IEnumerable<Point2d> src,
	Mat m
)

Parameters

src
Type: System.Collections.GenericIEnumerablePoint2d
The source two-channel or three-channel floating-point array; each element is 2D/3D vector to be transformed
m
Type: OpenCvSharp.CPlusPlusMat
3x3 or 4x4 transformation matrix

Return Value

Type: Point2d
The destination array; it will have the same size and same type as src
See Also

Reference