MATLAB File Help: cv.BOWImgDescriptorExtractor/BOWImgDescriptorExtractor Index
cv.BOWImgDescriptorExtractor/BOWImgDescriptorExtractor

The constructor

extractor = cv.BOWImgDescriptorExtractor(dextractor, dmatcher)
extractor = cv.BOWImgDescriptorExtractor({dextractor, 'key',val,...}, {dmatcher, 'key',val,...})

Input

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.

Examples

% first variant
extractor = cv.BOWImgDescriptorExtractor('ORB', 'BruteForce');

% second variant
extractor = cv.BOWImgDescriptorExtractor(...
    {'FastFeatureDetector', 'Threshold',10}, ...
    {'BFMatcher', 'NormType','L2'});
See also