Table of Contents

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

other MatchesInfo

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

srcImgIdx int
dstImgIdx int
matches IReadOnlyList<DMatch>
inliersMask IReadOnlyList<byte>
numInliers int
h Mat
confidence double

Properties

Confidence

Confidence two images are from the same panorama

public double Confidence { get; }

Property Value

double

DstImgIdx

Images indices (optional)

public int DstImgIdx { get; }

Property Value

int

H

Estimated transformation

public Mat H { get; }

Property Value

Mat

InliersMask

Geometrically consistent matches mask

public IReadOnlyList<byte> InliersMask { get; }

Property Value

IReadOnlyList<byte>

Matches

public IReadOnlyList<DMatch> Matches { get; }

Property Value

IReadOnlyList<DMatch>

NumInliers

Number of geometrically consistent matches

public int NumInliers { get; }

Property Value

int

SrcImgIdx

Images indices (optional)

public int SrcImgIdx { get; }

Property Value

int

Methods

Dispose()

Dispose H

public void Dispose()