CvInvokeGetAffineTransform Method (PointF, PointF) |
http://www.emgu.com
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.World (in Emgu.CV.World.dll) Version: 4.1.1.3497 (4.1.1.3497)
Syntaxpublic static Mat GetAffineTransform(
PointF[] src,
PointF[] dest
)
Public Shared Function GetAffineTransform (
src As PointF(),
dest As PointF()
) As Mat
public:
static Mat^ GetAffineTransform(
array<PointF>^ src,
array<PointF>^ dest
)
static member GetAffineTransform :
src : PointF[] *
dest : PointF[] -> Mat
Parameters
- src
- Type: System.DrawingPointF
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: System.DrawingPointF
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
Return Value
Type:
MatThe 2x3 rotation matrix that defines the Affine transform
See Also