| Cv2GetPerspectiveTransform Method (InputArray, InputArray) |
Calculates a perspective transform from four pairs of the corresponding points.
The function calculates the 3×3 matrix of a perspective transform.
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public static Mat GetPerspectiveTransform(
InputArray src,
InputArray dst
)
Public Shared Function GetPerspectiveTransform (
src As InputArray,
dst As InputArray
) As Mat
public:
static Mat^ GetPerspectiveTransform(
InputArray^ src,
InputArray^ dst
)
static member GetPerspectiveTransform :
src : InputArray *
dst : InputArray -> Mat
Parameters
- src
- Type: OpenCvSharpInputArray
Coordinates of quadrangle vertices in the source image. - dst
- Type: OpenCvSharpInputArray
Coordinates of the corresponding quadrangle vertices in the destination image.
Return Value
Type:
Mat[Missing <returns> documentation for "M:OpenCvSharp.Cv2.GetPerspectiveTransform(OpenCvSharp.InputArray,OpenCvSharp.InputArray)"]
See Also