Class MatchesInfo
- Namespace
- OpenCvSharp.Detail
- Assembly
- OpenCvSharp.dll
Structure containing information about matches between two images.
It's assumed that there is a transformation between those images. Transformation may be homography or affine transformation based on selected matcher.
public sealed class MatchesInfo : IDisposable
- Inheritance
-
MatchesInfo
- Implements
- Inherited Members
Constructors
MatchesInfo(MatchesInfo)
Copy constructor
public MatchesInfo(MatchesInfo other)
Parameters
otherMatchesInfo
MatchesInfo(int, int, IReadOnlyList<DMatch>, IReadOnlyList<byte>, int, Mat, double)
Constructor
public MatchesInfo(int srcImgIdx, int dstImgIdx, IReadOnlyList<DMatch> matches, IReadOnlyList<byte> inliersMask, int numInliers, Mat h, double confidence)
Parameters
srcImgIdxintdstImgIdxintmatchesIReadOnlyList<DMatch>inliersMaskIReadOnlyList<byte>numInliersinthMatconfidencedouble
Properties
Confidence
Confidence two images are from the same panorama
public double Confidence { get; }
Property Value
DstImgIdx
Images indices (optional)
public int DstImgIdx { get; }
Property Value
H
Estimated transformation
public Mat H { get; }
Property Value
InliersMask
Geometrically consistent matches mask
public IReadOnlyList<byte> InliersMask { get; }
Property Value
Matches
public IReadOnlyList<DMatch> Matches { get; }
Property Value
NumInliers
Number of geometrically consistent matches
public int NumInliers { get; }
Property Value
SrcImgIdx
Images indices (optional)
public int SrcImgIdx { get; }
Property Value
Methods
Dispose()
Dispose H
public void Dispose()