diff --git a/modules/reg/samples/map_test.cpp b/modules/reg/samples/map_test.cpp index fe6151b89..38fa00b7d 100644 --- a/modules/reg/samples/map_test.cpp +++ b/modules/reg/samples/map_test.cpp @@ -50,6 +50,7 @@ #include #include #include +using namespace cv::xfeatures2d; #endif #include "opencv2/reg/mapaffine.hpp" @@ -67,7 +68,6 @@ 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)