|
|
|
@ -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) |
|
|
|
|