http://www.emgu.com
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.3.0.1416 (2.3.0.1416)
Finds perspective transformation H=||h_ij|| between the source and the destination planes
Namespace: Emgu.CVAssembly: Emgu.CV (in Emgu.CV.dll) Version: 2.3.0.1416 (2.3.0.1416)
Syntax
C# |
---|
public static HomographyMatrix FindHomography( PointF[] srcPoints, PointF[] dstPoints, HOMOGRAPHY_METHOD method, double ransacReprojThreshold ) |
Visual Basic |
---|
Public Shared Function FindHomography ( _ srcPoints As PointF(), _ dstPoints As PointF(), _ method As HOMOGRAPHY_METHOD, _ ransacReprojThreshold As Double _ ) As HomographyMatrix |
Visual C++ |
---|
public: static HomographyMatrix^ FindHomography( array<PointF>^ srcPoints, array<PointF>^ dstPoints, HOMOGRAPHY_METHOD method, double ransacReprojThreshold ) |
Parameters
- srcPoints
- Type: array<System.Drawing..::..PointF>[]()[][]
Point coordinates in the original plane
- dstPoints
- Type: array<System.Drawing..::..PointF>[]()[][]
Point coordinates in the destination plane
- method
- Type: Emgu.CV.CvEnum..::..HOMOGRAPHY_METHOD
FindHomography method
- ransacReprojThreshold
- Type: System..::..Double
The maximum allowed reprojection error to treat a point pair as an inlier. The parameter is only used in RANSAC-based homography estimation. E.g. if dst_points coordinates are measured in pixels with pixel-accurate precision, it makes sense to set this parameter somewhere in the range ~1..3