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.0.1.0 (2.0.1.0)

Syntax

C#
public static IntPtr cvGetAffineTransform(
	PointF[] src,
	PointF[] dst,
	IntPtr mapMatrix
)
Visual Basic (Declaration)
Public Shared Function cvGetAffineTransform ( _
	src As PointF(), _
	dst As PointF(), _
	mapMatrix As IntPtr _
) As IntPtr
Visual C++
public:
static IntPtr cvGetAffineTransform(
	array<PointF>^ src, 
	array<PointF>^ dst, 
	IntPtr mapMatrix
)

Parameters

src
Type: array< System.Drawing..::.PointF >[]()[]
Coordinates of 3 triangle vertices in the source image.
dst
Type: array< System.Drawing..::.PointF >[]()[]
Coordinates of the 3 corresponding triangle vertices in the destination image
mapMatrix
Type: System..::.IntPtr
Pointer to the destination 2×3 matrix

Return Value

Pointer to the destination 2×3 matrix

See Also