cv.DescriptorMatcher - MATLAB File Help | Go to online doc for cv.DescriptorMatcher |
Common interface for matching keypoint descriptors
Class for matching keypoint descriptors.
Matchers of keypoint descriptors in OpenCV have wrappers with a common interface that enables you to easily switch between different algorithms solving the same problem. This section is devoted to matching descriptors that are represented as vectors in a multidimensional space. All objects that implement vector descriptor matchers inherit the DescriptorMatcher interface.
It has two groups of match methods: for matching descriptors of an image with another image or with an image set.
X = rand(100,10);
Y = rand(100,10);
matcher = cv.DescriptorMatcher('BruteForce');
matcher.add(X);
matcher.train(); % Optional for BruteForce matcher
matches = matcher.match(Y);
Superclasses | handle |
Sealed | false |
Construct on load | false |
DescriptorMatcher | Creates a descriptor matcher by name |
Type | of the matcher |
id | Object ID |
add | Adds descriptors to train a descriptor collection | |
addlistener | Add listener for event. | |
clear | Clears the train descriptor collection | |
delete | Destructor | |
empty | Returns true if there are no train descriptors in the collection | |
eq | == (EQ) Test handle equality. | |
findobj | Find objects matching specified conditions. | |
findprop | Find property of MATLAB handle object. | |
ge | >= (GE) Greater than or equal relation for handles. | |
getDefaultName | Returns the algorithm string identifier | |
getTrainDescriptors | Returns the train descriptor collection | |
gt | > (GT) Greater than relation for handles. | |
isMaskSupported | Returns true if the descriptor matcher supports masking permissible matches | |
Sealed | isvalid | Test handle validity. |
knnMatch | Finds the k best matches for each descriptor from a query set | |
le | <= (LE) Less than or equal relation for handles. | |
listener | Add listener for event without binding the listener to the source object. | |
load | Loads algorithm from a file or a string | |
lt | < (LT) Less than relation for handles. | |
match | Finds the best match for each descriptor from a query set | |
ne | ~= (NE) Not equal relation for handles. | |
notify | Notify listeners of event. | |
radiusMatch | For each query descriptor, finds the training descriptors not farther than the specified distance | |
save | Saves the algorithm parameters to a file | |
train | Trains a descriptor matcher | |
typeid | Name of the C++ type (RTTI) |
ObjectBeingDestroyed | Notifies listeners that a particular object has been destroyed. |