| 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
)
Public Shared Function PerspectiveTransform (
src As IEnumerable(Of Point2f),
m As Mat
) As Point2f()
public:
static array<Point2f>^ PerspectiveTransform(
IEnumerable<Point2f>^ src,
Mat^ m
)
static member PerspectiveTransform :
src : IEnumerable<Point2f> *
m : Mat -> Point2f[]
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:
Point2fThe destination array; it will have the same size and same type as src
See Also