Ask Your Question

Using the SIFT and SURF descriptors in detector_descriptor_matcher_evaluation.cpp

asked 2013-06-01 18:53:54 -0500


I'm conducting a comparison of descriptors using the code in (Example) detector_descriptor_matcher_evaluation.cpp. I managed to get FREAK, ORB, BRISK and BRIEF running, but I can't seem to get SIFT and SURF to work. The problem is that when calling

descriptor = DescriptorExtractor::create(descriptor_name);

The function "create" doesn't have SIFT and SURF in the list of algorithms.

Can someone please explain to me how can I use SIFT and SURF in that framework?

Thanks in advance!


edit retag flag offensive close merge delete


Next time please search the Q&A forum first, this question has been asked already several times!

Guanta gravatar imageGuanta ( 2013-06-02 05:44:48 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2013-06-02 04:14:43 -0500

berak gravatar image

checklist for SIFT / SURF related stuff:

#include "opencv2/nonfree/nonfree.hpp"

(in main, before doing anything else:)



 opencv_nonfree245.lib / -lopencv_nonfree
edit flag offensive delete link more


Thank you!!

GilLevi gravatar imageGilLevi ( 2013-06-03 15:25:56 -0500 )edit
Login/Signup to Answer

Question Tools


Asked: 2013-06-01 18:53:54 -0500

Seen: 601 times

Last updated: Jun 02 '13