Click or drag to resize

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)
Syntax
public static Mat GetPerspectiveTransform(
	PointF[] src,
	PointF[] dest
)

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: Mat
The 3x3 Homography matrix
See Also