Calculates perspective transform from 4 corresponding points.
Namespace: OpenCvSharp
Assembly: OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static CvMat GetPerspectiveTransform( CvPoint2D32f[] src, CvPoint2D32f[] dst, out CvMat mapMatrix )
Parameters
- src
- Type: OpenCvSharpCvPoint2D32f
Coordinates of 4 quadrangle vertices in the source image. - dst
- Type: OpenCvSharpCvPoint2D32f
Coordinates of the 4 corresponding quadrangle vertices in the destination image. - mapMatrix
- Type: OpenCvSharpCvMat
Pointer to the destination 3×3 matrix.
Return Value
Type: CvMat[Missing <returns> documentation for "M:OpenCvSharp.Cv.GetPerspectiveTransform(OpenCvSharp.CvPoint2D32f[],OpenCvSharp.CvPoint2D32f[],OpenCvSharp.CvMat@)"]
See Also