Click or drag to resize

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)
Syntax
public static Mat GetPerspectiveTransform(
	IInputArray src,
	IInputArray dst
)

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: Mat
The perspective transform matrix
See Also