OpenCV for Unity  2.6.3
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.
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
OpenCVForUnity.Features2dModule.FlannBasedMatcher Class Reference

Flann-based descriptor matcher. More...

Inheritance diagram for OpenCVForUnity.Features2dModule.FlannBasedMatcher:
OpenCVForUnity.Features2dModule.DescriptorMatcher OpenCVForUnity.CoreModule.Algorithm OpenCVForUnity.DisposableOpenCVObject OpenCVForUnity.DisposableObject

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. More...
 
List< MatgetTrainDescriptors ()
 Returns a constant link to the train descriptor collection trainDescCollection . More...
 
override void clear ()
 Clears the train descriptor collections. More...
 
override bool empty ()
 Returns true if there are no train descriptors in the both collections. More...
 
bool isMaskSupported ()
 Returns true if the descriptor matcher supports masking permissible matches. More...
 
void train ()
 Trains a descriptor matcher. More...
 
void match (Mat queryDescriptors, Mat trainDescriptors, MatOfDMatch matches, Mat mask)
 Finds the best match for each descriptor from a query set. More...
 
void match (Mat queryDescriptors, Mat trainDescriptors, MatOfDMatch matches)
 Finds the best match for each descriptor from a query set. More...
 
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. More...
 
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. More...
 
void knnMatch (Mat queryDescriptors, Mat trainDescriptors, List< MatOfDMatch > matches, int k)
 Finds the k best matches for each descriptor from a query set. More...
 
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. More...
 
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. More...
 
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. More...
 
void match (Mat queryDescriptors, MatOfDMatch matches, List< Mat > masks)
 
void match (Mat queryDescriptors, MatOfDMatch matches)
 
void knnMatch (Mat queryDescriptors, List< MatOfDMatch > matches, int k, List< Mat > masks, bool compactResult)
 
void knnMatch (Mat queryDescriptors, List< MatOfDMatch > matches, int k, List< Mat > masks)
 
void knnMatch (Mat queryDescriptors, List< MatOfDMatch > matches, int k)
 
void radiusMatch (Mat queryDescriptors, List< MatOfDMatch > matches, float maxDistance, List< Mat > masks, bool compactResult)
 
void radiusMatch (Mat queryDescriptors, List< MatOfDMatch > matches, float maxDistance, List< Mat > masks)
 
void radiusMatch (Mat queryDescriptors, List< MatOfDMatch > matches, float maxDistance)
 
void write (string fileName)
 
void read (string fileName)
 
DescriptorMatcher clone (bool emptyTrainData)
 Clones the matcher. More...
 
DescriptorMatcher clone ()
 Clones the matcher. More...
 
- Public Member Functions inherited from OpenCVForUnity.CoreModule.Algorithm
IntPtr getNativeObjAddr ()
 
void save (string filename)
 
virtual string getDefaultName ()
 
- 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 (string descriptorMatcherType)
 Creates a descriptor matcher of a given type with the default parameters (using default constructor). More...
 
static DescriptorMatcher create (int matcherType)
 
- 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.DisposableOpenCVObject
 DisposableOpenCVObject ()
 
 DisposableOpenCVObject (IntPtr ptr)
 
 DisposableOpenCVObject (bool isEnabledDispose)
 
 DisposableOpenCVObject (IntPtr ptr, bool isEnabledDispose)
 
- Protected Member Functions inherited from OpenCVForUnity.DisposableObject
 DisposableObject ()
 
 DisposableObject (bool isEnabledDispose)
 

Additional Inherited Members

- Public Attributes inherited from OpenCVForUnity.Features2dModule.DescriptorMatcher
const int FLANNBASED = 1
 
const int BRUTEFORCE = 2
 
const int BRUTEFORCE_L1 = 3
 
const int BRUTEFORCE_HAMMING = 4
 
const int BRUTEFORCE_HAMMINGLUT = 5
 
const int BRUTEFORCE_SL2 = 6
 
- 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: