cv.BOWImgDescriptorExtractor/BOWImgDescriptorExtractor - MATLAB File Help |
The constructor
extractor = cv.BOWImgDescriptorExtractor(dextractor, dmatcher)
extractor = cv.BOWImgDescriptorExtractor({dextractor, 'key',val,...}, {dmatcher, 'key',val,...})
In the first variant, it creates descriptor extractor/matcher of the given types using default parameters (by calling the default constructors).
In the second variant, it creates descriptor extractor/matcher
of the given types using the specified options. Each algorithm
type takes optional arguments. Each of the extractor/matcher are
specified by a cell-array that starts with the type name
followed by option arguments, as in:
{'Type', 'OptionName',optionValue, ...}
. Refer to the
individual extractor/matcher functions to see a list of possible
options of each algorithm.
% first variant
extractor = cv.BOWImgDescriptorExtractor('ORB', 'BruteForce');
% second variant
extractor = cv.BOWImgDescriptorExtractor(...
{'FastFeatureDetector', 'Threshold',10}, ...
{'BFMatcher', 'NormType','L2'});