Method PerspectiveTransform
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
PerspectiveTransform(InputArray, OutputArray, InputArray)
performs perspective transformation of each element of multi-channel input matrix
public static void PerspectiveTransform(InputArray src, OutputArray dst, InputArray m)
Parameters
srcInputArrayThe source two-channel or three-channel floating-point array; each element is 2D/3D vector to be transformed
dstOutputArrayThe destination array; it will have the same size and same type as src
mInputArray3x3 or 4x4 transformation matrix
PerspectiveTransform(IEnumerable<Point2f>, Mat)
performs perspective transformation of each element of multi-channel input matrix
public static Point2f[] PerspectiveTransform(IEnumerable<Point2f> src, Mat m)
Parameters
srcIEnumerable<Point2f>The source two-channel or three-channel floating-point array; each element is 2D/3D vector to be transformed
mMat3x3 or 4x4 transformation matrix
Returns
- Point2f[]
The destination array; it will have the same size and same type as src
PerspectiveTransform(IEnumerable<Point2d>, Mat)
performs perspective transformation of each element of multi-channel input matrix
public static Point2d[] PerspectiveTransform(IEnumerable<Point2d> src, Mat m)
Parameters
srcIEnumerable<Point2d>The source two-channel or three-channel floating-point array; each element is 2D/3D vector to be transformed
mMat3x3 or 4x4 transformation matrix
Returns
- Point2d[]
The destination array; it will have the same size and same type as src
PerspectiveTransform(IEnumerable<Point3f>, Mat)
performs perspective transformation of each element of multi-channel input matrix
public static Point3f[] PerspectiveTransform(IEnumerable<Point3f> src, Mat m)
Parameters
srcIEnumerable<Point3f>The source two-channel or three-channel floating-point array; each element is 2D/3D vector to be transformed
mMat3x3 or 4x4 transformation matrix
Returns
- Point3f[]
The destination array; it will have the same size and same type as src
PerspectiveTransform(IEnumerable<Point3d>, Mat)
performs perspective transformation of each element of multi-channel input matrix
public static Point3d[] PerspectiveTransform(IEnumerable<Point3d> src, Mat m)
Parameters
srcIEnumerable<Point3d>The source two-channel or three-channel floating-point array; each element is 2D/3D vector to be transformed
mMat3x3 or 4x4 transformation matrix
Returns
- Point3d[]
The destination array; it will have the same size and same type as src