Class FeaturesMatcher
Feature matchers base class.
Implements
Inherited Members
Namespace: OpenCvSharp.Detail
Assembly: OpenCvSharp.dll
Syntax
public abstract class FeaturesMatcher : DisposableCvObject, ICvPtrHolder
Constructors
| Improve this Doc View SourceFeaturesMatcher(IntPtr)
Constructor
Declaration
protected FeaturesMatcher(IntPtr ptr)
Parameters
Type | Name | Description |
---|---|---|
IntPtr | ptr |
Methods
| Improve this Doc View SourceApply(IEnumerable<ImageFeatures>, Mat)
Performs images matching.
Declaration
public virtual MatchesInfo[] Apply(IEnumerable<ImageFeatures> features, Mat mask = null)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<ImageFeatures> | features | Features of the source images |
Mat | mask | Mask indicating which image pairs must be matched |
Returns
Type | Description |
---|---|
MatchesInfo[] | Found pairwise matches |
Apply(ImageFeatures, ImageFeatures)
Performs images matching.
Declaration
public virtual MatchesInfo Apply(ImageFeatures features1, ImageFeatures features2)
Parameters
Type | Name | Description |
---|---|---|
ImageFeatures | features1 | First image features |
ImageFeatures | features2 | Second image features |
Returns
Type | Description |
---|---|
MatchesInfo | Found matches |
CollectGarbage()
Frees unused memory allocated before if there is any.
Declaration
public virtual void CollectGarbage()
IsThreadSafe()
True, if it's possible to use the same matcher instance in parallel, false otherwise
Declaration
public virtual bool IsThreadSafe()
Returns
Type | Description |
---|---|
System.Boolean |