﻿FindHomography Method (srcPoints, dstPoints, method, ransacReprojThreshold)
Emgu CV Library Documentation
FindHomography Method (srcPoints, dstPoints, method, ransacReprojThreshold)
NamespacesEmgu.CVCameraCalibrationFindHomography(array<PointF>[]()[], array<PointF>[]()[], HOMOGRAPHY_METHOD, Double)

www.emgu.com/wiki
Finds perspective transformation H=||h_ij|| between the source and the destination planes
Declaration Syntax
 C# Visual Basic Visual C++
```public static Matrix<double> FindHomography(
PointF[] srcPoints,
PointF[] dstPoints,
HOMOGRAPHY_METHOD method,
double ransacReprojThreshold
)```
```Public Shared Function FindHomography ( _
srcPoints As PointF(), _
dstPoints As PointF(), _
method As HOMOGRAPHY_METHOD, _
ransacReprojThreshold As Double _
) As Matrix(Of Double)```
```public:
static Matrix<double>^ FindHomography(
array<PointF>^ srcPoints,
array<PointF>^ dstPoints,
HOMOGRAPHY_METHOD method,
double ransacReprojThreshold
)```
Parameters
srcPoints (array< PointF >[]()[])
Point coordinates in the original plane
dstPoints (array< PointF >[]()[])
Point coordinates in the destination plane
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
Return Value
The 3x3 homography matrix.

Assembly: Emgu.CV (Module: Emgu.CV) Version: 1.5.0.0 (1.5.0.0)