Commit ab4d6976 authored by Philipp Hasper's avatar Philipp Hasper

Registration sample: adapt to xfeatures2d

parent 6a61e07c
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment