From c0638aa2e028e3e44ba49a75e3739bcd1a1c2659 Mon Sep 17 00:00:00 2001 From: Abhinav Gupta Date: Fri, 5 Oct 2012 17:25:19 +0300 Subject: [PATCH] Update samples/cpp/tutorial_code/features2D/SURF_detector.cpp Changes made for OpenCV 2.4.2 compatibility --- samples/cpp/tutorial_code/features2D/SURF_FlannMatcher.cpp | 1 + samples/cpp/tutorial_code/features2D/SURF_Homography.cpp | 1 + samples/cpp/tutorial_code/features2D/SURF_descriptor.cpp | 1 + samples/cpp/tutorial_code/features2D/SURF_detector.cpp | 1 + 4 files changed, 4 insertions(+) diff --git a/samples/cpp/tutorial_code/features2D/SURF_FlannMatcher.cpp b/samples/cpp/tutorial_code/features2D/SURF_FlannMatcher.cpp index b7bc0de4bc..f62960ea9d 100644 --- a/samples/cpp/tutorial_code/features2D/SURF_FlannMatcher.cpp +++ b/samples/cpp/tutorial_code/features2D/SURF_FlannMatcher.cpp @@ -9,6 +9,7 @@ #include "opencv2/core/core.hpp" #include "opencv2/features2d/features2d.hpp" #include "opencv2/highgui/highgui.hpp" +#include "opencv2/nonfree/features2d.hpp" using namespace cv; diff --git a/samples/cpp/tutorial_code/features2D/SURF_Homography.cpp b/samples/cpp/tutorial_code/features2D/SURF_Homography.cpp index da595bcf03..582cf8cf1d 100644 --- a/samples/cpp/tutorial_code/features2D/SURF_Homography.cpp +++ b/samples/cpp/tutorial_code/features2D/SURF_Homography.cpp @@ -10,6 +10,7 @@ #include "opencv2/features2d/features2d.hpp" #include "opencv2/highgui/highgui.hpp" #include "opencv2/calib3d/calib3d.hpp" +#include "opencv2/nonfree/features2d.cpp" using namespace cv; diff --git a/samples/cpp/tutorial_code/features2D/SURF_descriptor.cpp b/samples/cpp/tutorial_code/features2D/SURF_descriptor.cpp index 5ea00cad8d..230d260932 100644 --- a/samples/cpp/tutorial_code/features2D/SURF_descriptor.cpp +++ b/samples/cpp/tutorial_code/features2D/SURF_descriptor.cpp @@ -9,6 +9,7 @@ #include "opencv2/core/core.hpp" #include "opencv2/features2d/features2d.hpp" #include "opencv2/highgui/highgui.hpp" +#include "opencv2/nonfree/features2d.cpp" using namespace cv; diff --git a/samples/cpp/tutorial_code/features2D/SURF_detector.cpp b/samples/cpp/tutorial_code/features2D/SURF_detector.cpp index 3a1d7ea3d5..3080bc9fc0 100644 --- a/samples/cpp/tutorial_code/features2D/SURF_detector.cpp +++ b/samples/cpp/tutorial_code/features2D/SURF_detector.cpp @@ -9,6 +9,7 @@ #include "opencv2/core/core.hpp" #include "opencv2/features2d/features2d.hpp" #include "opencv2/highgui/highgui.hpp" +#include "opencv2/nonfree/features2d.cpp" using namespace cv;