Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

detectAndCompute in OpenCV3 "not implemented"?

Whether by using this:

cv::FeatureDetector * detector = new cv::BRISK();   
detector->detect(objectImg, objectKeypoints);
detector->detect(sceneImg, sceneKeypoints);
delete detector;

cv::DescriptorExtractor * extractor = new cv::BRISK();
extractor->compute(objectImg, objectKeypoints, objectDescriptors);
extractor->compute(sceneImg, sceneKeypoints, sceneDescriptors);
delete extractor;

or

BRISK somecoolstuff;
somecoolstuff.detect(objectImg,objectKeypoints);
somecoolstuff.detect(sceneImg,sceneKeypoints);

somecoolstuff.compute(objectImg,objectKeypoints,objectDescriptors);
somecoolstuff.compute(sceneImg,sceneKeypoints,sceneDescriptors);

I am getting the following console error when the following code (OpenCV3, x64, Visual Studio) tries to evaluate "detect":

" OpenCV Error: The function/feature is not implemented <> in cv::Feature2D::detectAndCompute, file C:\opencv3\Sources\modules#features2d\src\feature2d.cpp, line 144 "

What is strange is that I used the folder C:\opencv3... in the past but now I am using D:\OpenCV3... (I reorganized my drives). All my linkers-include-etc. are correctly set up for the new folder.

So, is detectAndCompute supposed to work in OCV3, or is there some n00b error in my code? Using breakpoints, I can say that the code before is working correctly (objectImg, etc. are initialized and loaded).

detectAndCompute in OpenCV3 "not implemented"?

Whether by using this:

cv::FeatureDetector * detector = new cv::BRISK();   
detector->detect(objectImg, objectKeypoints);
detector->detect(sceneImg, sceneKeypoints);
delete detector;

cv::DescriptorExtractor * extractor = new cv::BRISK();
extractor->compute(objectImg, objectKeypoints, objectDescriptors);
extractor->compute(sceneImg, sceneKeypoints, sceneDescriptors);
delete extractor;

or

BRISK somecoolstuff;
somecoolstuff.detect(objectImg,objectKeypoints);
somecoolstuff.detect(sceneImg,sceneKeypoints);

somecoolstuff.compute(objectImg,objectKeypoints,objectDescriptors);
somecoolstuff.compute(sceneImg,sceneKeypoints,sceneDescriptors);

I am getting the following console error when the following code (OpenCV3, x64, Visual Studio) tries to evaluate "detect":

" OpenCV Error: The function/feature is not implemented <> in cv::Feature2D::detectAndCompute, file C:\opencv3\Sources\modules#features2d\src\feature2d.cpp, line 144 "

What is strange is that I used the folder C:\opencv3... in the past but now I am using D:\OpenCV3... (I reorganized my drives). All my linkers-include-etc. are correctly set up for the new folder.

So, is detectAndCompute supposed to work in OCV3, or is there some n00b error in my code? Using breakpoints, I can say that the code before is working correctly (objectImg, etc. are initialized and loaded).

detectAndCompute in OpenCV3 "not implemented"?

Whether by using this:

cv::FeatureDetector * detector = new cv::BRISK();   
detector->detect(objectImg, objectKeypoints);
detector->detect(sceneImg, sceneKeypoints);
delete detector;

cv::DescriptorExtractor * extractor = new cv::BRISK();
extractor->compute(objectImg, objectKeypoints, objectDescriptors);
extractor->compute(sceneImg, sceneKeypoints, sceneDescriptors);
delete extractor;

or

BRISK somecoolstuff;
somecoolstuff.detect(objectImg,objectKeypoints);
somecoolstuff.detect(sceneImg,sceneKeypoints);

somecoolstuff.compute(objectImg,objectKeypoints,objectDescriptors);
somecoolstuff.compute(sceneImg,sceneKeypoints,sceneDescriptors);

I am getting the following console error when the following code (OpenCV3, x64, Visual Studio) tries to evaluate "detect":

" OpenCV Error: The function/feature is not implemented <> in cv::Feature2D::detectAndCompute, file C:\opencv3\Sources\modules#features2d\src\feature2d.cpp, line 144 "

What is strange is that I used the folder C:\opencv3... in the past but now I am using D:\OpenCV3... (I reorganized my drives). All my linkers-include-etc. are correctly set up for the new folder.

So, is detectAndCompute supposed to work in OCV3, or is there some n00b error in my code? Using breakpoints, I can say that the code before is working correctly (objectImg, etc. are initialized and loaded).