CvInvokeGetPerspectiveTransform Method (PointF, PointF) |
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(
PointF[] src,
PointF[] dest
)
Public Shared Function GetPerspectiveTransform (
src As PointF(),
dest As PointF()
) As Mat
public:
static Mat^ GetPerspectiveTransform(
array<PointF>^ src,
array<PointF>^ dest
)
static member GetPerspectiveTransform :
src : PointF[] *
dest : PointF[] -> Mat
Parameters
- src
- Type: System.DrawingPointF
Coordinates of 4 quadrangle vertices in the source image - dest
- Type: System.DrawingPointF
Coordinates of the 4 corresponding quadrangle vertices in the destination image
Return Value
Type:
MatThe 3x3 Homography matrix
See Also