Cv2PerspectiveTransform Method (IEnumerablePoint3f, 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 Point3f[] PerspectiveTransform(
	IEnumerable<Point3f> src,
	Mat m
)

Parameters

src
Type: System.Collections.GenericIEnumerablePoint3f
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: Point3f
The destination array; it will have the same size and same type as src
See Also

Reference