Dense Features in Opencv 3
In opencv 2, I used to do a dense feature detection with :-
detector = cv::Ptr<cv::featuredetector>(new cv::DenseFeatureDetector);
As far as I can fathom, this is gone from Opencv3, and can't find anything on the documentation. Is there a way to do it in Opencv3 or would I have to manually copy the function from OpenCV2? A quick code search on github for "dense features" only gives sparse results
Also, OCV3 does not have the
cv::FeatureDetector::create("bla")
function either, right?
I am trying to port my code to ocv3, and this is creating some issues
It is no more possible to use in OpenCV 3.0 something like
cv::FeatureDetector::create("bla")
(link here and here):and the dense featuredetector is gone for good as well.
it was just generating a grid of keypoints - you can do that, too.
That way, I can build a lot of complex things with simple building blocks - that's not the point. Was there specific reason to remove it?
"Was there specific reason to remove it?" - i do not know. best guess it's due to general refactoring of the features2d module (removal of Algorithm::create(string), sift,surf went into contrib and such)
This may help http://answers.opencv.org/question/73165/compute-dense-sift-features-in-opencv-30/?answer=73178#post-id-73178 (http://answers.opencv.org/question/73...)