Use RANDSAC to finds perspective transformation H=||h_ij|| between the source and the destination planes
Namespace:
Emgu.CV
Assembly:
Emgu.CV (in Emgu.CV.dll) Version: 2.0.1.0 (2.0.1.0)
Syntax
Visual Basic (Declaration) |
---|
<ObsoleteAttribute("Will be removed in the next version, use other overloaded FindHomography function instead")> _
Public Shared Function FindHomography ( _
srcPoints As Matrix(Of Single), _
dstPoints As Matrix(Of Single), _
ransacReprojThreshold As Double _
) As Matrix(Of Double) |
Parameters
- srcPoints
- Type: Emgu.CV..::.Matrix<(Of <(Single>)>)
Point coordinates in the original plane, 2xN, Nx2, 3xN or Nx3 array (the latter two are for representation in homogenious coordinates), where N is the number of points
- dstPoints
- Type: Emgu.CV..::.Matrix<(Of <(Single>)>)
Point coordinates in the destination plane, 2xN, Nx2, 3xN or Nx3 array (the latter two are for representation in homogenious coordinates)
- 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
Return Value
The 3x3 homography matrix.
See Also