Click or drag to resize

Cv2PerspectiveTransform Method (IEnumerablePoint2f, Mat)

performs perspective transformation of each element of multi-channel input matrix

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public static Point2f[] PerspectiveTransform(
	IEnumerable<Point2f> src,
	Mat m
)

Parameters

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

Return Value

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