The BFMatcher type exposes the following members.
Methods
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
(Overrides DescriptorMatcherDispose(Boolean).) | |
Empty |
Return true if there are not train descriptors in collection.
(Inherited from DescriptorMatcher.) | |
Equals | (Inherited from Object.) | |
Finalize |
Destructor
(Inherited from DisposableObject.) | |
GetAlgorithm |
Returns the algorithm parameter
(Inherited from Algorithm.) | |
GetBool |
Returns the algorithm parameter
(Inherited from Algorithm.) | |
GetDouble |
Returns the algorithm parameter
(Inherited from Algorithm.) | |
GetHashCode | (Inherited from Object.) | |
GetInt |
Returns the algorithm parameter
(Inherited from Algorithm.) | |
GetMat |
Returns the algorithm parameter
(Inherited from Algorithm.) | |
GetMatVector |
Returns the algorithm parameter
(Inherited from Algorithm.) | |
GetParams | (Inherited from Algorithm.) | |
GetString |
Returns the algorithm parameter
(Inherited from Algorithm.) | |
GetTrainDescriptors |
Get train descriptors collection.
(Inherited from DescriptorMatcher.) | |
GetType | (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 | (Inherited from Object.) | |
NotifyMemoryPressure |
Notifies the allocated size of memory.
(Inherited from DisposableObject.) | |
ParamHelp | (Inherited from Algorithm.) | |
ParamType | (Inherited from Algorithm.) | |
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.) | |
Release |
Clean up any resources being used.
(Inherited from Algorithm.) | |
SetAlgorithm |
Sets the algorithm parameter
(Inherited from Algorithm.) | |
SetBool |
Sets the algorithm parameter
(Inherited from Algorithm.) | |
SetDouble |
Sets the algorithm parameter
(Inherited from Algorithm.) | |
SetInt |
Sets the algorithm parameter
(Inherited from Algorithm.) | |
SetMat |
Sets the algorithm parameter
(Inherited from Algorithm.) | |
SetMatVector |
Sets the algorithm parameter
(Inherited from Algorithm.) | |
SetString |
Sets the algorithm parameter
(Inherited from Algorithm.) | |
ThrowIfDisposed |
If this object is disposed, then ObjectDisposedException is thrown.
(Inherited from DisposableObject.) | |
ToString |
Returns a string that represents this Algorithm.
(Inherited from Algorithm.) | |
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.) |
See Also