http://www.emgu.com
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.3.0.1416 (2.3.0.1416)
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.CVAssembly: Emgu.CV (in Emgu.CV.dll) Version: 2.3.0.1416 (2.3.0.1416)
Syntax
C# |
---|
public static HomographyMatrix GetPerspectiveTransform( PointF[] src, PointF[] dest ) |
Visual Basic |
---|
Public Shared Function GetPerspectiveTransform ( _ src As PointF(), _ dest As PointF() _ ) As HomographyMatrix |
Visual C++ |
---|
public: static HomographyMatrix^ GetPerspectiveTransform( array<PointF>^ src, array<PointF>^ dest ) |
Parameters
- src
- Type: array<System.Drawing..::..PointF>[]()[][]
Coordinates of 4 quadrangle vertices in the source image
- dest
- Type: array<System.Drawing..::..PointF>[]()[][]
Coordinates of the 4 corresponding quadrangle vertices in the destination image