How to extract BRIEF descriptor for the keypoint on given location.
Hello,
I recently started working with opencv. I want to extract BRIEF descriptors for some keypoints. For this I am using this code.
detector = cv.FeatureDetector('STAR');
keypoints = detector.detect(im);
extractor = cv.DescriptorExtractor('BRIEF');
descriptors = extractor.compute(im, keypoints);
This code is working fine. But what I actually want is, I want to provide location of keypoints by myself. For Example, I want to extract BRIEF descriptor for the keypoints on location (16,16). Apparently, I can write the code in this way
detector = cv.FeatureDetector('STAR');
keypoints = detector.detect(im, [16,16]);
extractor = cv.DescriptorExtractor('BRIEF');
descriptors = extractor.compute(im, keypoints);
Of course, This is not working. How can I extract BRIEF descriptor for my defined location??? I have already done it with SURF, BRISK and FREAK in matlab. But I want to do it with BRIEF descriptor.
Thank you, Best Regards.