Commit 29e3caf3 authored by Suleyman TURKMEN's avatar Suleyman TURKMEN

Update line_descriptor samples

parent 067b0a63
...@@ -40,11 +40,12 @@ ...@@ -40,11 +40,12 @@
//M*/ //M*/
#include <iostream> #include <iostream>
#include <opencv2/opencv_modules.hpp>
#ifdef HAVE_OPENCV_FEATURES2D #ifdef HAVE_OPENCV_FEATURES2D
#include <opencv2/line_descriptor.hpp> #include <opencv2/line_descriptor.hpp>
#include "opencv2/core/utility.hpp" #include <opencv2/core/utility.hpp>
#include <opencv2/imgproc.hpp> #include <opencv2/imgproc.hpp>
#include <opencv2/features2d.hpp> #include <opencv2/features2d.hpp>
#include <opencv2/highgui.hpp> #include <opencv2/highgui.hpp>
......
...@@ -40,11 +40,12 @@ ...@@ -40,11 +40,12 @@
//M*/ //M*/
#include <iostream> #include <iostream>
#include <opencv2/opencv_modules.hpp>
#ifdef HAVE_OPENCV_FEATURES2D #ifdef HAVE_OPENCV_FEATURES2D
#include <opencv2/line_descriptor.hpp> #include <opencv2/line_descriptor.hpp>
#include "opencv2/core/utility.hpp" #include <opencv2/core/utility.hpp>
#include <opencv2/imgproc.hpp> #include <opencv2/imgproc.hpp>
#include <opencv2/features2d.hpp> #include <opencv2/features2d.hpp>
#include <opencv2/highgui.hpp> #include <opencv2/highgui.hpp>
......
...@@ -40,11 +40,12 @@ ...@@ -40,11 +40,12 @@
//M*/ //M*/
#include <iostream> #include <iostream>
#include <opencv2/opencv_modules.hpp>
#ifdef HAVE_OPENCV_FEATURES2D #ifdef HAVE_OPENCV_FEATURES2D
#include <opencv2/line_descriptor.hpp> #include <opencv2/line_descriptor.hpp>
#include "opencv2/core/utility.hpp" #include <opencv2/core/utility.hpp>
#include <opencv2/imgproc.hpp> #include <opencv2/imgproc.hpp>
#include <opencv2/features2d.hpp> #include <opencv2/features2d.hpp>
#include <opencv2/highgui.hpp> #include <opencv2/highgui.hpp>
......
...@@ -40,11 +40,12 @@ ...@@ -40,11 +40,12 @@
//M*/ //M*/
#include <iostream> #include <iostream>
#include <opencv2/opencv_modules.hpp>
#ifdef HAVE_OPENCV_FEATURES2D #ifdef HAVE_OPENCV_FEATURES2D
#include <opencv2/line_descriptor.hpp> #include <opencv2/line_descriptor.hpp>
#include "opencv2/core/utility.hpp" #include <opencv2/core/utility.hpp>
#include <opencv2/imgproc.hpp> #include <opencv2/imgproc.hpp>
#include <opencv2/features2d.hpp> #include <opencv2/features2d.hpp>
#include <opencv2/highgui.hpp> #include <opencv2/highgui.hpp>
......
...@@ -40,11 +40,12 @@ ...@@ -40,11 +40,12 @@
//M*/ //M*/
#include <iostream> #include <iostream>
#include <opencv2/opencv_modules.hpp>
#ifdef HAVE_OPENCV_FEATURES2D #ifdef HAVE_OPENCV_FEATURES2D
#include <opencv2/line_descriptor.hpp> #include <opencv2/line_descriptor.hpp>
#include "opencv2/core/utility.hpp" #include <opencv2/core/utility.hpp>
#include <opencv2/imgproc.hpp> #include <opencv2/imgproc.hpp>
#include <opencv2/features2d.hpp> #include <opencv2/features2d.hpp>
#include <opencv2/highgui.hpp> #include <opencv2/highgui.hpp>
......
...@@ -40,12 +40,12 @@ ...@@ -40,12 +40,12 @@
//M*/ //M*/
#include <iostream> #include <iostream>
#include <opencv2/opencv_modules.hpp>
#ifdef HAVE_OPENCV_FEATURES2D #ifdef HAVE_OPENCV_FEATURES2D
#include <opencv2/line_descriptor.hpp> #include <opencv2/line_descriptor.hpp>
#include <opencv2/core/utility.hpp>
#include "opencv2/core/utility.hpp"
#include <opencv2/imgproc.hpp> #include <opencv2/imgproc.hpp>
#include <opencv2/features2d.hpp> #include <opencv2/features2d.hpp>
#include <opencv2/highgui.hpp> #include <opencv2/highgui.hpp>
......
set(the_description "Contributed/Experimental Algorithms for Salient 2D Features Detection") set(the_description "Contributed/Experimental Algorithms for Salient 2D Features Detection")
ocv_define_module(xfeatures2d opencv_core opencv_imgproc opencv_features2d opencv_calib3d OPTIONAL opencv_shape opencv_cudaarithm WRAP python java) ocv_define_module(xfeatures2d opencv_core opencv_imgproc opencv_features2d opencv_calib3d OPTIONAL opencv_shape opencv_ml opencv_cudaarithm WRAP python java)
include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/download_vgg.cmake) include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/download_vgg.cmake)
include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/download_boostdesc.cmake) include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/download_boostdesc.cmake)
......
#include <iostream> #include <iostream>
#include "opencv2/opencv_modules.hpp"
#ifdef HAVE_OPENCV_ML #ifdef HAVE_OPENCV_ML
#include "opencv2/opencv_modules.hpp"
#include "opencv2/imgcodecs.hpp" #include "opencv2/imgcodecs.hpp"
#include "opencv2/highgui.hpp" #include "opencv2/highgui.hpp"
#include "opencv2/imgproc.hpp" #include "opencv2/imgproc.hpp"
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
* shape_context.cpp -- Shape context demo for shape matching * shape_context.cpp -- Shape context demo for shape matching
*/ */
#include <iostream> #include <iostream>
#include "opencv2/opencv_modules.hpp"
#ifdef HAVE_OPENCV_SHAPE #ifdef HAVE_OPENCV_SHAPE
...@@ -11,7 +12,7 @@ ...@@ -11,7 +12,7 @@
#include "opencv2/imgproc.hpp" #include "opencv2/imgproc.hpp"
#include "opencv2/features2d.hpp" #include "opencv2/features2d.hpp"
#include "opencv2/xfeatures2d.hpp" #include "opencv2/xfeatures2d.hpp"
#include <opencv2/core/utility.hpp> #include "opencv2/core/utility.hpp"
#include <string> #include <string>
using namespace std; using namespace std;
......
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
*/ */
#include <iostream> #include <iostream>
#include "opencv2/opencv_modules.hpp"
#ifdef HAVE_OPENCV_CALIB3D #ifdef HAVE_OPENCV_CALIB3D
......
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