http://www.emgu.com
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.3.0.1416 (2.3.0.1416)
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.CVAssembly: Emgu.CV (in Emgu.CV.dll) Version: 2.3.0.1416 (2.3.0.1416)
Syntax
C# |
---|
public static RotationMatrix2D<double> GetAffineTransform( PointF[] src, PointF[] dest ) |
Visual Basic |
---|
Public Shared Function GetAffineTransform ( _ src As PointF(), _ dest As PointF() _ ) As RotationMatrix2D(Of Double) |
Visual C++ |
---|
public: static RotationMatrix2D<double>^ GetAffineTransform( array<PointF>^ src, array<PointF>^ dest ) |
Parameters
- src
- Type: array<System.Drawing..::..PointF>[]()[][]
Coordinates of 3 triangle vertices in the source image. If the array contains more than 3 points, only the first 3 will be used
- dest
- Type: array<System.Drawing..::..PointF>[]()[][]
Coordinates of the 3 corresponding triangle vertices in the destination image. If the array contains more than 3 points, only the first 3 will be used