Show / Hide Table of Contents

Class BestOf2NearestMatcher

Features matcher which finds two best matches for each feature and leaves the best one only if the ratio between descriptor distances is greater than the threshold match_conf

Inheritance
System.Object
DisposableObject
DisposableCvObject
FeaturesMatcher
BestOf2NearestMatcher
AffineBestOf2NearestMatcher
Implements
ICvPtrHolder
Inherited Members
FeaturesMatcher.Apply(ImageFeatures, ImageFeatures)
FeaturesMatcher.Apply(IEnumerable<ImageFeatures>, Mat)
FeaturesMatcher.IsThreadSafe()
DisposableCvObject.ptr
DisposableCvObject.CvPtr
DisposableObject.DataHandle
DisposableObject.IsDisposed
DisposableObject.IsEnabledDispose
DisposableObject.AllocatedMemory
DisposableObject.AllocatedMemorySize
DisposableObject.Dispose()
DisposableObject.Dispose(Boolean)
DisposableObject.DisposeManaged()
DisposableObject.AllocGCHandle(Object)
DisposableObject.AllocMemory(Int32)
DisposableObject.NotifyMemoryPressure(Int64)
DisposableObject.ThrowIfDisposed()
Namespace: OpenCvSharp.Detail
Assembly: OpenCvSharp.dll
Syntax
public class BestOf2NearestMatcher : FeaturesMatcher, ICvPtrHolder

Constructors

| Improve this Doc View Source

BestOf2NearestMatcher(IntPtr)

Constructor

Declaration
protected BestOf2NearestMatcher(IntPtr p)
Parameters
Type Name Description
IntPtr p
| Improve this Doc View Source

BestOf2NearestMatcher(Boolean, Single, Int32, Int32)

Constructs a "best of 2 nearest" matcher.

Declaration
public BestOf2NearestMatcher(bool tryUseGpu = false, float matchConf = 0.3F, int numMatchesThresh1 = 6, int numMatchesThresh2 = 6)
Parameters
Type Name Description
System.Boolean tryUseGpu

Should try to use GPU or not

System.Single matchConf

Match distances ration threshold

System.Int32 numMatchesThresh1

Minimum number of matches required for the 2D projective transform estimation used in the inliers classification step

System.Int32 numMatchesThresh2

Minimum number of matches required for the 2D projective transform re-estimation on inliers

Methods

| Improve this Doc View Source

CollectGarbage()

Frees unused memory allocated before if there is any.

Declaration
public override void CollectGarbage()
Overrides
FeaturesMatcher.CollectGarbage()
| Improve this Doc View Source

DisposeUnmanaged()

releases unmanaged resources

Declaration
protected override void DisposeUnmanaged()
Overrides
DisposableCvObject.DisposeUnmanaged()

Implements

ICvPtrHolder
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX