Class MatchesInfo
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.
Inheritance
System.Object
MatchesInfo
Namespace: OpenCvSharp.Detail
Assembly: OpenCvSharp.dll
Syntax
public sealed class MatchesInfo : IDisposable
Constructors
| Improve this Doc View SourceMatchesInfo(MatchesInfo)
Copy constructor
Declaration
public MatchesInfo(MatchesInfo other)
Parameters
Type | Name | Description |
---|---|---|
MatchesInfo | other |
MatchesInfo(Int32, Int32, IReadOnlyList<DMatch>, IReadOnlyList<Byte>, Int32, Mat, Double)
Constructor
Declaration
public MatchesInfo(int srcImgIdx, int dstImgIdx, IReadOnlyList<DMatch> matches, IReadOnlyList<byte> inliersMask, int numInliers, Mat h, double confidence)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | srcImgIdx | |
System.Int32 | dstImgIdx | |
IReadOnlyList<OpenCvSharp.DMatch> | matches | |
IReadOnlyList<System.Byte> | inliersMask | |
System.Int32 | numInliers | |
Mat | h | |
System.Double | confidence |
Properties
| Improve this Doc View SourceConfidence
Confidence two images are from the same panorama
Declaration
public double Confidence { get; }
Property Value
Type | Description |
---|---|
System.Double |
DstImgIdx
Images indices (optional)
Declaration
public int DstImgIdx { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
H
Estimated transformation
Declaration
public Mat H { get; }
Property Value
Type | Description |
---|---|
Mat |
InliersMask
Geometrically consistent matches mask
Declaration
public IReadOnlyList<byte> InliersMask { get; }
Property Value
Type | Description |
---|---|
IReadOnlyList<System.Byte> |
Matches
Declaration
public IReadOnlyList<DMatch> Matches { get; }
Property Value
Type | Description |
---|---|
IReadOnlyList<OpenCvSharp.DMatch> |
NumInliers
Number of geometrically consistent matches
Declaration
public int NumInliers { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
SrcImgIdx
Images indices (optional)
Declaration
public int SrcImgIdx { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
| Improve this Doc View SourceDispose()
Dispose H
Declaration
public void Dispose()