1 | initial version |
Not sure of what's happening in your case because I can't find the documentation for the SiftDescriptorExtractor class. Did you however try with the original SIFT class ? The code to compute the descriptors in your case becomes:
cv::SIFT siftOperator;
cv::Mat descriptorsB;
siftOperator(img1, cv::Mat(), keypointsB, descriptorsB, true);