I'm trying to instantiate a BRIEF Feature extractor:
cv::Ptr<cv::DescriptorExtractor> extractor = cv::DescriptorExtractor::create("BRIEF");
But the returned Ptr is empty (its owner and stored values are NULL).
Note that I have #include "opencv2/features2d/features2d.hpp" on the top of my code.
What's wrong?