FlannBasedMatcher Class |
Namespace: OpenCvSharp
The FlannBasedMatcher type exposes the following members.
Name | Description | |
---|---|---|
FlannBasedMatcher | Initializes a new instance of the FlannBasedMatcher class |
Name | Description | |
---|---|---|
AllocatedMemory |
Gets or sets a memory address allocated by AllocMemory.
(Inherited from DisposableObject.) | |
AllocatedMemorySize |
Gets or sets the byte length of the allocated memory
(Inherited from DisposableObject.) | |
CvPtr |
Native pointer of OpenCV structure
(Inherited from DisposableCvObject.) | |
DataHandle |
Gets or sets a handle which allocates using cvSetData.
(Inherited from DisposableObject.) | |
Empty |
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
(Inherited from Algorithm.) | |
IsDisposed |
Gets a value indicating whether this instance has been disposed.
(Inherited from DisposableObject.) | |
IsEnabledDispose |
Gets or sets a value indicating whether you permit disposing this instance.
(Inherited from DisposableObject.) |
Name | Description | |
---|---|---|
Add |
Add descriptors to train descriptor collection.
(Overrides DescriptorMatcherAdd(IEnumerableMat).) | |
AllocGCHandle |
Pins the object to be allocated by cvSetData.
(Inherited from DisposableObject.) | |
AllocMemory |
Allocates the specified size of memory.
(Inherited from DisposableObject.) | |
Clear |
Clear train descriptors collection.
(Overrides DescriptorMatcherClear.) | |
Dispose |
Releases the resources
(Inherited from DisposableObject.) | |
Dispose(Boolean) |
Releases the resources
(Inherited from DisposableObject.) | |
DisposeManaged |
Releases managed resources
(Overrides DescriptorMatcherDisposeManaged.) | |
DisposeUnmanaged |
Releases managed resources
(Overrides DisposableCvObjectDisposeUnmanaged.) | |
Empty |
Return true if there are not train descriptors in collection.
(Inherited from DescriptorMatcher.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize |
Destructor
(Inherited from DisposableObject.) | |
GetDefaultName |
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object
is saved to a file or string.
(Inherited from Algorithm.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetTrainDescriptors |
Get train descriptors collection.
(Inherited from DescriptorMatcher.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IsMaskSupported |
Return true if the matcher supports mask in match methods.
(Overrides DescriptorMatcherIsMaskSupported.) | |
KnnMatch(Mat, Int32, Mat, Boolean) |
Find k best matches for each query descriptor (in increasing order of distances).
compactResult is used when mask is not empty. If compactResult is false matches
vector will have the same size as queryDescriptors rows. If compactResult is true
matches vector will not contain matches for fully masked out query descriptors.
(Inherited from DescriptorMatcher.) | |
KnnMatch(Mat, Mat, Int32, Mat, Boolean) |
Find k best matches for each query descriptor (in increasing order of distances).
compactResult is used when mask is not empty. If compactResult is false matches
vector will have the same size as queryDescriptors rows. If compactResult is true
matches vector will not contain matches for fully masked out query descriptors.
(Inherited from DescriptorMatcher.) | |
Match(Mat, Mat) |
Find one best match for each query descriptor (if mask is empty).
(Inherited from DescriptorMatcher.) | |
Match(Mat, Mat, Mat) |
Find one best match for each query descriptor (if mask is empty).
(Inherited from DescriptorMatcher.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
NotifyMemoryPressure |
Notifies the allocated size of memory.
(Inherited from DisposableObject.) | |
RadiusMatch(Mat, Single, Mat, Boolean) |
Find best matches for each query descriptor which have distance less than
maxDistance (in increasing order of distances).
(Inherited from DescriptorMatcher.) | |
RadiusMatch(Mat, Mat, Single, Mat, Boolean) |
Find best matches for each query descriptor which have distance less than
maxDistance (in increasing order of distances).
(Inherited from DescriptorMatcher.) | |
Read |
Reads algorithm parameters from a file storage
(Inherited from Algorithm.) | |
Save |
Saves the algorithm to a file.
In order to make this method work, the derived class must
implement Algorithm::write(FileStorage fs).
(Inherited from Algorithm.) | |
ThrowIfDisposed |
If this object is disposed, then ObjectDisposedException is thrown.
(Inherited from DisposableObject.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
Train |
Train matcher (e.g. train flann index).
In all methods to match the method train() is run every time before matching.
Some descriptor matchers (e.g. BruteForceMatcher) have empty implementation
of this method, other matchers really train their inner structures
(e.g. FlannBasedMatcher trains flann::Index). So nonempty implementation
of train() should check the class object state and do traing/retraining
only if the state requires that (e.g. FlannBasedMatcher trains flann::Index
if it has not trained yet or if new descriptors have been added to the train collection).
(Overrides DescriptorMatcherTrain.) | |
Write |
Stores algorithm parameters in a file storage
(Inherited from Algorithm.) |
Name | Description | |
---|---|---|
ptr |
Data pointer
(Inherited from DisposableCvObject.) |