经过几个小时的研究,我仍然找不到匹配关键点所属的“火车”图像的索引。我的意思是
FeatureDetector surfDetector = FeatureDetector.create(FeatureDetector.FAST);
MatOfKeyPoint vector = new MatOfKeyPoint();
surfDetector.detect( mImg, vector );
DescriptorExtractor siftDescriptor =DescriptorExtractor.create(DescriptorExtractor.BRIEF);
Mat descriptors=new Mat();
siftDescriptor.compute(mImg, vector, descriptors);
DescriptorMatcher matcherBruteForce=DescriptorMatcher.create(DescriptorMatcher.BRUTEFORCE_SL2);
List<MatOfDMatch> matches = new ArrayList<MatOfDMatch>();
matcherBruteForce.match(descriptors, descriptors, matches, 2);
我只是以相同的图像为例。在此之后,如何找到匹配的关键点所属的“火车”图像的索引?