CvInvokeGetPerspectiveTransform Method (IInputArray, IInputArray) |
http://www.emgu.com
calculates matrix of perspective transform such that:
(t_i x'_i,t_i y'_i,t_i)^T=map_matrix (x_i,y_i,1)T
where dst(i)=(x'_i,y'_i), src(i)=(x_i,y_i), i=0..3.
Namespace:
Emgu.CV
Assembly:
Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.1.3497 (4.1.1.3497)
Syntaxpublic static Mat GetPerspectiveTransform(
IInputArray src,
IInputArray dst
)
Public Shared Function GetPerspectiveTransform (
src As IInputArray,
dst As IInputArray
) As Mat
public:
static Mat^ GetPerspectiveTransform(
IInputArray^ src,
IInputArray^ dst
)
static member GetPerspectiveTransform :
src : IInputArray *
dst : IInputArray -> Mat
Parameters
- src
- Type: Emgu.CVIInputArray
Coordinates of 4 quadrangle vertices in the source image - dst
- Type: Emgu.CVIInputArray
Coordinates of the 4 corresponding quadrangle vertices in the destination image
Return Value
Type:
MatThe perspective transform matrix
See Also