Class FeaturesMatcher
- Namespace
- OpenCvSharp.Detail
- Assembly
- OpenCvSharp.dll
Feature matchers base class.
public abstract class FeaturesMatcher : DisposableCvObject, IDisposable, ICvPtrHolder
- Inheritance
-
FeaturesMatcher
- Implements
- Derived
- Inherited Members
Constructors
FeaturesMatcher(nint)
Constructor
protected FeaturesMatcher(nint ptr)
Parameters
ptrnint
Methods
Apply(ImageFeatures, ImageFeatures)
Performs images matching.
public virtual MatchesInfo Apply(ImageFeatures features1, ImageFeatures features2)
Parameters
features1ImageFeaturesFirst image features
features2ImageFeaturesSecond image features
Returns
- MatchesInfo
Found matches
Apply(IEnumerable<ImageFeatures>, Mat?)
Performs images matching.
public virtual MatchesInfo[] Apply(IEnumerable<ImageFeatures> features, Mat? mask = null)
Parameters
featuresIEnumerable<ImageFeatures>Features of the source images
maskMatMask indicating which image pairs must be matched
Returns
- MatchesInfo[]
Found pairwise matches
CollectGarbage()
Frees unused memory allocated before if there is any.
public virtual void CollectGarbage()
IsThreadSafe()
True, if it's possible to use the same matcher instance in parallel, false otherwise
public virtual bool IsThreadSafe()