If you're using opencv 2.4, SURF and SIFT interfaces are changed to nonfree folder. You can use it by including this line
#include <opencv2/nonfree/features2d.hpp>
For BruteForceMatcher, please
#include <opencv2/legacy/legacy.hpp>
If you're using opencv 2.4, SURF and SIFT interfaces are changed to nonfree folder. You can use it by including this line
#include <opencv2/nonfree/features2d.hpp>
For BruteForceMatcher, please
#include <opencv2/legacy/legacy.hpp>