Finds perspective transformation H=||h_ij|| between the source and the destination planes

C# | Visual Basic | Visual C++ |
public static Matrix<float> FindHomography( Point2D<float>[] srcPoints, Point2D<float>[] dstPoints, HOMOGRAPHY_METHOD method, double ransacReprojThreshold )

- method (HOMOGRAPHY_METHOD)
- FindHomography method
- ransacReprojThreshold (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

The 3x3 homography matrix.