is there a way to set a threshold for potential matched pairs of image descriptors calculated by DescriptorMatcher in OpenCV's features2d?
In detail, I have a Bruteforce-Matcher with which I want to calculate descriptor pairs of two images and only pairs with a minimum distance of threshold should go in matches.
BFMatcher matcher(NORM_L2, true);
vector<DMatch> matches;
matcher.match(descriptors1, descriptors2, matches);
Thank's for your help!