OpenCV for Unity 2.6.4
Enox Software / Please refer to OpenCV official document ( http://docs.opencv.org/4.10.0/index.html ) for the details of the argument of the method.
Loading...
Searching...
No Matches
OpenCVForUnity.Features2dModule.FlannBasedMatcher Class Reference

Flann-based descriptor matcher. More...

Public Member Functions

 FlannBasedMatcher ()
 
- Public Member Functions inherited from OpenCVForUnity.Features2dModule.DescriptorMatcher
void add (List< Mat > descriptors)
 Adds descriptors to train a CPU(trainDescCollectionis) or GPU(utrainDescCollectionis) descriptor collection.
 
override void clear ()
 Clears the train descriptor collections.
 
DescriptorMatcher clone ()
 Clones the matcher.
 
DescriptorMatcher clone (bool emptyTrainData)
 Clones the matcher.
 
override bool empty ()
 Returns true if there are no train descriptors in the both collections.
 
List< MatgetTrainDescriptors ()
 Returns a constant link to the train descriptor collection trainDescCollection .
 
bool isMaskSupported ()
 Returns true if the descriptor matcher supports masking permissible matches.
 
void knnMatch (Mat queryDescriptors, List< MatOfDMatch > matches, int k)
 
void knnMatch (Mat queryDescriptors, List< MatOfDMatch > matches, int k, List< Mat > masks)
 
void knnMatch (Mat queryDescriptors, List< MatOfDMatch > matches, int k, List< Mat > masks, bool compactResult)
 
void knnMatch (Mat queryDescriptors, Mat trainDescriptors, List< MatOfDMatch > matches, int k)
 Finds the k best matches for each descriptor from a query set.
 
void knnMatch (Mat queryDescriptors, Mat trainDescriptors, List< MatOfDMatch > matches, int k, Mat mask)
 Finds the k best matches for each descriptor from a query set.
 
void knnMatch (Mat queryDescriptors, Mat trainDescriptors, List< MatOfDMatch > matches, int k, Mat mask, bool compactResult)
 Finds the k best matches for each descriptor from a query set.
 
void match (Mat queryDescriptors, Mat trainDescriptors, MatOfDMatch matches)
 Finds the best match for each descriptor from a query set.
 
void match (Mat queryDescriptors, Mat trainDescriptors, MatOfDMatch matches, Mat mask)
 Finds the best match for each descriptor from a query set.
 
void match (Mat queryDescriptors, MatOfDMatch matches)
 
void match (Mat queryDescriptors, MatOfDMatch matches, List< Mat > masks)
 
void radiusMatch (Mat queryDescriptors, List< MatOfDMatch > matches, float maxDistance)
 
void radiusMatch (Mat queryDescriptors, List< MatOfDMatch > matches, float maxDistance, List< Mat > masks)
 
void radiusMatch (Mat queryDescriptors, List< MatOfDMatch > matches, float maxDistance, List< Mat > masks, bool compactResult)
 
void radiusMatch (Mat queryDescriptors, Mat trainDescriptors, List< MatOfDMatch > matches, float maxDistance)
 For each query descriptor, finds the training descriptors not farther than the specified distance.
 
void radiusMatch (Mat queryDescriptors, Mat trainDescriptors, List< MatOfDMatch > matches, float maxDistance, Mat mask)
 For each query descriptor, finds the training descriptors not farther than the specified distance.
 
void radiusMatch (Mat queryDescriptors, Mat trainDescriptors, List< MatOfDMatch > matches, float maxDistance, Mat mask, bool compactResult)
 For each query descriptor, finds the training descriptors not farther than the specified distance.
 
void read (string fileName)
 
void train ()
 Trains a descriptor matcher.
 
void write (string fileName)
 
- Public Member Functions inherited from OpenCVForUnity.CoreModule.Algorithm
virtual string getDefaultName ()
 
IntPtr getNativeObjAddr ()
 
void save (string filename)
 
- Public Member Functions inherited from OpenCVForUnity.DisposableObject
void Dispose ()
 
void ThrowIfDisposed ()
 

Static Public Member Functions

static new FlannBasedMatcher __fromPtr__ (IntPtr addr)
 
static FlannBasedMatcher create ()
 
- Static Public Member Functions inherited from OpenCVForUnity.Features2dModule.DescriptorMatcher
static new DescriptorMatcher __fromPtr__ (IntPtr addr)
 
static DescriptorMatcher create (int matcherType)
 
static DescriptorMatcher create (string descriptorMatcherType)
 Creates a descriptor matcher of a given type with the default parameters (using default constructor).
 
- Static Public Member Functions inherited from OpenCVForUnity.CoreModule.Algorithm
static Algorithm __fromPtr__ (IntPtr addr)
 
- Static Public Member Functions inherited from OpenCVForUnity.DisposableObject
static IntPtr ThrowIfNullIntPtr (IntPtr ptr)
 

Protected Member Functions

override void Dispose (bool disposing)
 
- Protected Member Functions inherited from OpenCVForUnity.Features2dModule.DescriptorMatcher
- Protected Member Functions inherited from OpenCVForUnity.CoreModule.Algorithm
- Protected Member Functions inherited from OpenCVForUnity.DisposableOpenCVObject
 DisposableOpenCVObject ()
 
 DisposableOpenCVObject (bool isEnabledDispose)
 
 DisposableOpenCVObject (IntPtr ptr)
 
 DisposableOpenCVObject (IntPtr ptr, bool isEnabledDispose)
 
- Protected Member Functions inherited from OpenCVForUnity.DisposableObject
 DisposableObject ()
 
 DisposableObject (bool isEnabledDispose)
 

Additional Inherited Members

- Static Public Attributes inherited from OpenCVForUnity.Features2dModule.DescriptorMatcher
const int BRUTEFORCE = 2
 
const int BRUTEFORCE_HAMMING = 4
 
const int BRUTEFORCE_HAMMINGLUT = 5
 
const int BRUTEFORCE_L1 = 3
 
const int BRUTEFORCE_SL2 = 6
 
const int FLANNBASED = 1
 
- Package Functions inherited from OpenCVForUnity.Features2dModule.DescriptorMatcher
- Package Functions inherited from OpenCVForUnity.CoreModule.Algorithm
- Package Attributes inherited from OpenCVForUnity.DisposableOpenCVObject
- Properties inherited from OpenCVForUnity.DisposableObject
bool IsDisposed [get, protected set]
 
bool IsEnabledDispose [get, set]
 

Detailed Description

Flann-based descriptor matcher.

This matcher trains cv::flann::Index on a train descriptor collection and calls its nearest search methods to find the best matches. So, this matcher may be faster when matching a large train collection than the brute force matcher. FlannBasedMatcher does not support masking permissible matches of descriptor sets because flann::Index does not support this. :

Constructor & Destructor Documentation

◆ FlannBasedMatcher()

OpenCVForUnity.Features2dModule.FlannBasedMatcher.FlannBasedMatcher ( )

Member Function Documentation

◆ __fromPtr__()

static new FlannBasedMatcher OpenCVForUnity.Features2dModule.FlannBasedMatcher.__fromPtr__ ( IntPtr addr)
static

◆ create()

static FlannBasedMatcher OpenCVForUnity.Features2dModule.FlannBasedMatcher.create ( )
static

◆ Dispose()

override void OpenCVForUnity.Features2dModule.FlannBasedMatcher.Dispose ( bool disposing)
protectedvirtual

The documentation for this class was generated from the following file: