Show / Hide Table of Contents

Class AffineBestOf2NearestMatcher

Features matcher similar to cv::detail::BestOf2NearestMatcher 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.

Unlike cv::detail::BestOf2NearestMatcher this matcher uses affine transformation (affine transformation estimate will be placed in matches_info).

Inheritance
System.Object
DisposableObject
DisposableCvObject
FeaturesMatcher
BestOf2NearestMatcher
AffineBestOf2NearestMatcher
Implements
ICvPtrHolder
Inherited Members
BestOf2NearestMatcher.CollectGarbage()
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 AffineBestOf2NearestMatcher : BestOf2NearestMatcher, ICvPtrHolder

Constructors

| Improve this Doc View Source

AffineBestOf2NearestMatcher(Boolean, Boolean, Single, Int32)

Constructs a "best of 2 nearest" matcher that expects affine transformation between images

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

whether to use full affine transformation with 6 degress of freedom or reduced transformation with 4 degrees of freedom using only rotation, translation and uniform scaling

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 affine transform estimation used in the inliers classification step

Methods

| Improve this Doc View Source

DisposeUnmanaged()

releases unmanaged resources

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

Implements

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