Registration sample: adapt to xfeatures2d

pull/111/head
Philipp Hasper 11 years ago
parent 6a61e07cf4
commit ab4d697667
  1. 3
      modules/reg/samples/map_test.cpp

@ -47,7 +47,7 @@
#include <opencv2/highgui/highgui_c.h>
#ifdef COMPARE_FEATURES
#include <opencv2/xfeatures2d/nonfree.hpp>
#include <opencv2/xfeatures2d.hpp>
#include <opencv2/calib3d.hpp>
#include <opencv2/calib3d/calib3d_c.h>
#endif
@ -67,6 +67,7 @@ static const char* DIFF_REGPIX_IM = "Image difference: pixel registered";
using namespace cv;
using namespace cv::reg;
using namespace cv::xfeatures2d;
using namespace std;
static void showDifference(const Mat& image1, const Mat& image2, const char* title)

Loading…
Cancel
Save