Calculates the matrix of an affine transform such that: (x'_i,y'_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..2.

Namespace: Emgu.CV
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.2.1.1150 (2.2.1.1150)

Syntax

         
 C#  Visual Basic  Visual C++ 
public static IntPtr cvGetAffineTransform(
	IntPtr src,
	IntPtr dst,
	IntPtr mapMatrix
)
Public Shared Function cvGetAffineTransform ( _
	src As IntPtr, _
	dst As IntPtr, _
	mapMatrix As IntPtr _
) As IntPtr
public:
static IntPtr cvGetAffineTransform(
	IntPtr src, 
	IntPtr dst, 
	IntPtr mapMatrix
)

Parameters

src
IntPtr
Pointer to an array of PointF, Coordinates of 3 triangle vertices in the source image.
dst
IntPtr
Pointer to an array of PointF, Coordinates of the 3 corresponding triangle vertices in the destination image
mapMatrix
IntPtr
Pointer to the destination 2x3 matrix

Return Value

Pointer to the destination 2x3 matrix

See Also