BFMatcher Methods |
The BFMatcher type exposes the following members.
Name | Description | |
---|---|---|
Add |
Add descriptors to train descriptor collection.
(Inherited from DescriptorMatcher.) | |
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.
(Inherited from DescriptorMatcher.) | |
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).
(Inherited from DescriptorMatcher.) | |
Write |
Stores algorithm parameters in a file storage
(Inherited from Algorithm.) |