Main module headers are moved 1 level up

e.g. <opencv2/core/core.hpp> become <opencv2/core.hpp>

Also renamed <opencv2/core/opengl_interop.hpp> to <opencv2/core/opengl.hpp>
This commit is contained in:
Andrey Kamaev 2013-03-13 16:22:44 +04:00
parent 061dd7e84e
commit ad5cddc007
266 changed files with 571 additions and 588 deletions

View File

@ -1,3 +1,5 @@
add_definition(-D__OPENCV_BUILD=1)
add_subdirectory(haartraining) add_subdirectory(haartraining)
add_subdirectory(traincascade) add_subdirectory(traincascade)
add_subdirectory(sft) add_subdirectory(sft)

View File

@ -42,7 +42,7 @@
#ifndef __CVCOMMON_H_ #ifndef __CVCOMMON_H_
#define __CVCOMMON_H_ #define __CVCOMMON_H_
#include "opencv2/core/core.hpp" #include "opencv2/core.hpp"
#include "opencv2/core/internal.hpp" #include "opencv2/core/internal.hpp"
#include "cxcore.h" #include "cxcore.h"

View File

@ -44,7 +44,7 @@
* *
* Measure performance of classifier * Measure performance of classifier
*/ */
#include "opencv2/core/core.hpp" #include "opencv2/core.hpp"
#include "opencv2/core/internal.hpp" #include "opencv2/core/internal.hpp"
#include "cv.h" #include "cv.h"

View File

@ -41,7 +41,7 @@
//M*/ //M*/
#include <sft/dataset.hpp> #include <sft/dataset.hpp>
#include <opencv2/highgui/highgui.hpp> #include <opencv2/highgui.hpp>
#include <iostream> #include <iostream>
#include <queue> #include <queue>

View File

@ -43,8 +43,8 @@
#ifndef __SFT_COMMON_HPP__ #ifndef __SFT_COMMON_HPP__
#define __SFT_COMMON_HPP__ #define __SFT_COMMON_HPP__
#include <opencv2/core/core.hpp> #include <opencv2/core.hpp>
#include <opencv2/softcascade/softcascade.hpp> #include <opencv2/softcascade.hpp>
namespace cv {using namespace softcascade;} namespace cv {using namespace softcascade;}
namespace sft namespace sft

View File

@ -1,4 +1,4 @@
#include "opencv2/core/core.hpp" #include "opencv2/core.hpp"
#include "opencv2/core/internal.hpp" #include "opencv2/core/internal.hpp"
#include "HOGfeatures.h" #include "HOGfeatures.h"

View File

@ -1,4 +1,4 @@
#include "opencv2/core/core.hpp" #include "opencv2/core.hpp"
#include "opencv2/core/internal.hpp" #include "opencv2/core/internal.hpp"
#include "boost.h" #include "boost.h"

View File

@ -1,4 +1,4 @@
#include "opencv2/core/core.hpp" #include "opencv2/core.hpp"
#include "opencv2/core/internal.hpp" #include "opencv2/core/internal.hpp"
#include "cascadeclassifier.h" #include "cascadeclassifier.h"

View File

@ -1,4 +1,4 @@
#include "opencv2/core/core.hpp" #include "opencv2/core.hpp"
#include "opencv2/core/internal.hpp" #include "opencv2/core/internal.hpp"
#include "traincascade_features.h" #include "traincascade_features.h"

View File

@ -1,4 +1,4 @@
#include "opencv2/core/core.hpp" #include "opencv2/core.hpp"
#include "opencv2/core/internal.hpp" #include "opencv2/core/internal.hpp"
#include "haarfeatures.h" #include "haarfeatures.h"

View File

@ -1,4 +1,4 @@
#include "opencv2/core/core.hpp" #include "opencv2/core.hpp"
#include "opencv2/core/internal.hpp" #include "opencv2/core/internal.hpp"
#include "cv.h" #include "cv.h"

View File

@ -1,4 +1,4 @@
#include "opencv2/core/core.hpp" #include "opencv2/core.hpp"
#include "opencv2/core/internal.hpp" #include "opencv2/core/internal.hpp"
#include "lbpfeatures.h" #include "lbpfeatures.h"

View File

@ -1,4 +1,4 @@
#include "opencv2/core/core.hpp" #include "opencv2/core.hpp"
#include "opencv2/core/internal.hpp" #include "opencv2/core/internal.hpp"
#include "cv.h" #include "cv.h"

View File

@ -429,7 +429,7 @@ endmacro()
macro(ocv_glob_module_sources) macro(ocv_glob_module_sources)
file(GLOB lib_srcs "src/*.cpp") file(GLOB lib_srcs "src/*.cpp")
file(GLOB lib_int_hdrs "src/*.hpp" "src/*.h") file(GLOB lib_int_hdrs "src/*.hpp" "src/*.h")
file(GLOB lib_hdrs "include/opencv2/${name}/*.hpp" "include/opencv2/${name}/*.h") file(GLOB lib_hdrs "include/opencv2/*.hpp" "include/opencv2/${name}/*.hpp" "include/opencv2/${name}/*.h")
file(GLOB lib_hdrs_detail "include/opencv2/${name}/detail/*.hpp" "include/opencv2/${name}/detail/*.h") file(GLOB lib_hdrs_detail "include/opencv2/${name}/detail/*.hpp" "include/opencv2/${name}/detail/*.h")
file(GLOB lib_device_srcs "src/cuda/*.cu") file(GLOB lib_device_srcs "src/cuda/*.cu")

View File

@ -6,15 +6,15 @@ sys.path.append("../modules/python/src2/")
import hdr_parser as hp import hdr_parser as hp
opencv_hdr_list = [ opencv_hdr_list = [
"../modules/core/include/opencv2/core/core.hpp", "../modules/core/include/opencv2/core.hpp",
"../modules/ml/include/opencv2/ml/ml.hpp", "../modules/ml/include/opencv2/ml.hpp",
"../modules/imgproc/include/opencv2/imgproc/imgproc.hpp", "../modules/imgproc/include/opencv2/imgproc.hpp",
"../modules/calib3d/include/opencv2/calib3d/calib3d.hpp", "../modules/calib3d/include/opencv2/calib3d.hpp",
"../modules/features2d/include/opencv2/features2d/features2d.hpp", "../modules/features2d/include/opencv2/features2d.hpp",
"../modules/video/include/opencv2/video/tracking.hpp", "../modules/video/include/opencv2/video/tracking.hpp",
"../modules/video/include/opencv2/video/background_segm.hpp", "../modules/video/include/opencv2/video/background_segm.hpp",
"../modules/objdetect/include/opencv2/objdetect/objdetect.hpp", "../modules/objdetect/include/opencv2/objdetect.hpp",
"../modules/highgui/include/opencv2/highgui/highgui.hpp", "../modules/highgui/include/opencv2/highgui.hpp",
] ]
opencv_module_list = [ opencv_module_list = [

View File

@ -23,9 +23,9 @@ OpenCV 2 received reorganization. No longer are all the functions crammed into a
.. code-block:: cpp .. code-block:: cpp
#include <opencv2/core/core.hpp> #include <opencv2/core.hpp>
#include <opencv2/imgproc/imgproc.hpp> #include <opencv2/imgproc.hpp>
#include <opencv2/highgui/highgui.hpp> #include <opencv2/highgui.hpp>
All the OpenCV related stuff is put into the *cv* namespace to avoid name conflicts with other libraries data structures and functions. Therefore, either you need to prepend the *cv::* keyword before everything that comes from OpenCV or after the includes, you just add a directive to use this: All the OpenCV related stuff is put into the *cv* namespace to avoid name conflicts with other libraries data structures and functions. Therefore, either you need to prepend the *cv::* keyword before everything that comes from OpenCV or after the includes, you just add a directive to use this:

View File

@ -29,10 +29,10 @@ This tutorial code's is shown lines below. You can also download it from `here <
#include <stdio.h> #include <stdio.h>
#include <iostream> #include <iostream>
#include "opencv2/core/core.hpp" #include "opencv2/core.hpp"
#include "opencv2/features2d/features2d.hpp" #include "opencv2/features2d.hpp"
#include "opencv2/highgui/highgui.hpp" #include "opencv2/highgui.hpp"
#include "opencv2/nonfree/features2d.hpp" #include "opencv2/nonfree.hpp"
using namespace cv; using namespace cv;

View File

@ -28,9 +28,9 @@ This tutorial code's is shown lines below. You can also download it from `here <
#include <stdio.h> #include <stdio.h>
#include <iostream> #include <iostream>
#include "opencv2/core/core.hpp" #include "opencv2/core.hpp"
#include "opencv2/features2d/features2d.hpp" #include "opencv2/features2d.hpp"
#include "opencv2/highgui/highgui.hpp" #include "opencv2/highgui.hpp"
using namespace cv; using namespace cv;

View File

@ -25,9 +25,9 @@ This tutorial code's is shown lines below. You can also download it from `here <
#include <stdio.h> #include <stdio.h>
#include <iostream> #include <iostream>
#include "opencv2/core/core.hpp" #include "opencv2/core.hpp"
#include "opencv2/features2d/features2d.hpp" #include "opencv2/features2d.hpp"
#include "opencv2/highgui/highgui.hpp" #include "opencv2/highgui.hpp"
using namespace cv; using namespace cv;

View File

@ -26,10 +26,10 @@ This tutorial code's is shown lines below. You can also download it from `here <
#include <stdio.h> #include <stdio.h>
#include <iostream> #include <iostream>
#include "opencv2/core/core.hpp" #include "opencv2/core.hpp"
#include "opencv2/features2d/features2d.hpp" #include "opencv2/features2d.hpp"
#include "opencv2/highgui/highgui.hpp" #include "opencv2/highgui.hpp"
#include "opencv2/calib3d/calib3d.hpp" #include "opencv2/calib3d.hpp"
using namespace cv; using namespace cv;

View File

@ -23,8 +23,8 @@ This tutorial code's is shown lines below. You can also download it from `here <
.. code-block:: cpp .. code-block:: cpp
#include "opencv2/highgui/highgui.hpp" #include "opencv2/highgui.hpp"
#include "opencv2/imgproc/imgproc.hpp" #include "opencv2/imgproc.hpp"
#include <iostream> #include <iostream>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>

View File

@ -22,8 +22,8 @@ This tutorial code's is shown lines below. You can also download it from `here <
.. code-block:: cpp .. code-block:: cpp
#include "opencv2/highgui/highgui.hpp" #include "opencv2/highgui.hpp"
#include "opencv2/imgproc/imgproc.hpp" #include "opencv2/imgproc.hpp"
#include <iostream> #include <iostream>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>

View File

@ -155,8 +155,8 @@ This tutorial code's is shown lines below. You can also download it from `here <
.. code-block:: cpp .. code-block:: cpp
#include "opencv2/highgui/highgui.hpp" #include "opencv2/highgui.hpp"
#include "opencv2/imgproc/imgproc.hpp" #include "opencv2/imgproc.hpp"
#include <iostream> #include <iostream>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>

File diff suppressed because one or more lines are too long

View File

@ -74,8 +74,8 @@ This tutorial code's is shown lines below. You can also download it from `here <
.. code-block:: cpp .. code-block:: cpp
#include "opencv2/imgproc/imgproc.hpp" #include "opencv2/imgproc.hpp"
#include "opencv2/highgui/highgui.hpp" #include "opencv2/highgui.hpp"
#include "highgui.h" #include "highgui.h"
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h> #include <stdio.h>

View File

@ -122,8 +122,8 @@ Code
.. code-block:: cpp .. code-block:: cpp
#include "opencv2/imgproc/imgproc.hpp" #include "opencv2/imgproc.hpp"
#include "opencv2/highgui/highgui.hpp" #include "opencv2/highgui.hpp"
using namespace std; using namespace std;
using namespace cv; using namespace cv;

View File

@ -107,8 +107,8 @@ Code
.. code-block:: cpp .. code-block:: cpp
#include "opencv2/imgproc/imgproc.hpp" #include "opencv2/imgproc.hpp"
#include "opencv2/highgui/highgui.hpp" #include "opencv2/highgui.hpp"
#include <iostream> #include <iostream>

View File

@ -88,8 +88,8 @@ Code
.. code-block:: cpp .. code-block:: cpp
#include "opencv2/highgui/highgui.hpp" #include "opencv2/highgui.hpp"
#include "opencv2/imgproc/imgproc.hpp" #include "opencv2/imgproc.hpp"
#include <iostream> #include <iostream>
#include <stdio.h> #include <stdio.h>

View File

@ -86,8 +86,8 @@ Code
.. code-block:: cpp .. code-block:: cpp
#include "opencv2/highgui/highgui.hpp" #include "opencv2/highgui.hpp"
#include "opencv2/imgproc/imgproc.hpp" #include "opencv2/imgproc.hpp"
#include <iostream> #include <iostream>
#include <stdio.h> #include <stdio.h>

View File

@ -89,8 +89,8 @@ Code
.. code-block:: cpp .. code-block:: cpp
#include "opencv2/highgui/highgui.hpp" #include "opencv2/highgui.hpp"
#include "opencv2/imgproc/imgproc.hpp" #include "opencv2/imgproc.hpp"
#include <iostream> #include <iostream>
#include <stdio.h> #include <stdio.h>

View File

@ -131,8 +131,8 @@ Code
.. code-block:: cpp .. code-block:: cpp
#include "opencv2/highgui/highgui.hpp" #include "opencv2/highgui.hpp"
#include "opencv2/imgproc/imgproc.hpp" #include "opencv2/imgproc.hpp"
#include <iostream> #include <iostream>
#include <stdio.h> #include <stdio.h>

View File

@ -90,8 +90,8 @@ Code
.. code-block:: cpp .. code-block:: cpp
#include "opencv2/imgproc/imgproc.hpp" #include "opencv2/imgproc.hpp"
#include "opencv2/highgui/highgui.hpp" #include "opencv2/highgui.hpp"
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h> #include <stdio.h>

View File

@ -52,8 +52,8 @@ Code
.. code-block:: cpp .. code-block:: cpp
#include "opencv2/imgproc/imgproc.hpp" #include "opencv2/imgproc.hpp"
#include "opencv2/highgui/highgui.hpp" #include "opencv2/highgui.hpp"
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h> #include <stdio.h>

View File

@ -77,8 +77,8 @@ Code
.. code-block:: cpp .. code-block:: cpp
#include "opencv2/imgproc/imgproc.hpp" #include "opencv2/imgproc.hpp"
#include "opencv2/highgui/highgui.hpp" #include "opencv2/highgui.hpp"
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h> #include <stdio.h>

View File

@ -48,8 +48,8 @@ Code
.. code-block:: cpp .. code-block:: cpp
#include "opencv2/highgui/highgui.hpp" #include "opencv2/highgui.hpp"
#include "opencv2/imgproc/imgproc.hpp" #include "opencv2/imgproc.hpp"
#include <iostream> #include <iostream>
#include <stdio.h> #include <stdio.h>

View File

@ -104,8 +104,8 @@ Code
.. code-block:: cpp .. code-block:: cpp
#include "opencv2/highgui/highgui.hpp" #include "opencv2/highgui.hpp"
#include "opencv2/imgproc/imgproc.hpp" #include "opencv2/imgproc.hpp"
#include <iostream> #include <iostream>

View File

@ -59,8 +59,8 @@ Code
.. code-block:: cpp .. code-block:: cpp
#include "opencv2/imgproc/imgproc.hpp" #include "opencv2/imgproc.hpp"
#include "opencv2/highgui/highgui.hpp" #include "opencv2/highgui.hpp"
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h> #include <stdio.h>

View File

@ -63,8 +63,8 @@ Code
.. code-block:: cpp .. code-block:: cpp
#include "opencv2/highgui/highgui.hpp" #include "opencv2/highgui.hpp"
#include "opencv2/imgproc/imgproc.hpp" #include "opencv2/imgproc.hpp"
#include <iostream> #include <iostream>
#include <stdio.h> #include <stdio.h>

View File

@ -125,8 +125,8 @@ Code
.. code-block:: cpp .. code-block:: cpp
#include "opencv2/imgproc/imgproc.hpp" #include "opencv2/imgproc.hpp"
#include "opencv2/highgui/highgui.hpp" #include "opencv2/highgui.hpp"
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h> #include <stdio.h>

View File

@ -97,8 +97,8 @@ Code
.. code-block:: cpp .. code-block:: cpp
#include "opencv2/highgui/highgui.hpp" #include "opencv2/highgui.hpp"
#include "opencv2/imgproc/imgproc.hpp" #include "opencv2/imgproc.hpp"
#include <iostream> #include <iostream>
#include <stdio.h> #include <stdio.h>

View File

@ -115,8 +115,8 @@ This tutorial code's is shown lines below. You can also download it from `here <
.. code-block:: cpp .. code-block:: cpp
#include "opencv2/imgproc/imgproc.hpp" #include "opencv2/imgproc.hpp"
#include "opencv2/highgui/highgui.hpp" #include "opencv2/highgui.hpp"
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h> #include <stdio.h>

View File

@ -84,8 +84,8 @@ This tutorial code's is shown lines below. You can also download it from `here <
.. code-block:: cpp .. code-block:: cpp
#include "opencv2/imgproc/imgproc.hpp" #include "opencv2/imgproc.hpp"
#include "opencv2/highgui/highgui.hpp" #include "opencv2/highgui.hpp"
#include <math.h> #include <math.h>
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h> #include <stdio.h>

View File

@ -25,8 +25,8 @@ This tutorial code's is shown lines below. You can also download it from `here <
.. code-block:: cpp .. code-block:: cpp
#include "opencv2/highgui/highgui.hpp" #include "opencv2/highgui.hpp"
#include "opencv2/imgproc/imgproc.hpp" #include "opencv2/imgproc.hpp"
#include <iostream> #include <iostream>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>

View File

@ -25,8 +25,8 @@ This tutorial code's is shown lines below. You can also download it from `here <
.. code-block:: cpp .. code-block:: cpp
#include "opencv2/highgui/highgui.hpp" #include "opencv2/highgui.hpp"
#include "opencv2/imgproc/imgproc.hpp" #include "opencv2/imgproc.hpp"
#include <iostream> #include <iostream>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>

View File

@ -23,8 +23,8 @@ This tutorial code's is shown lines below. You can also download it from `here <
.. code-block:: cpp .. code-block:: cpp
#include "opencv2/highgui/highgui.hpp" #include "opencv2/highgui.hpp"
#include "opencv2/imgproc/imgproc.hpp" #include "opencv2/imgproc.hpp"
#include <iostream> #include <iostream>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>

View File

@ -23,8 +23,8 @@ This tutorial code's is shown lines below. You can also download it from `here <
.. code-block:: cpp .. code-block:: cpp
#include "opencv2/highgui/highgui.hpp" #include "opencv2/highgui.hpp"
#include "opencv2/imgproc/imgproc.hpp" #include "opencv2/imgproc.hpp"
#include <iostream> #include <iostream>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>

View File

@ -25,8 +25,8 @@ This tutorial code's is shown lines below. You can also download it from `here <
.. code-block:: cpp .. code-block:: cpp
#include "opencv2/highgui/highgui.hpp" #include "opencv2/highgui.hpp"
#include "opencv2/imgproc/imgproc.hpp" #include "opencv2/imgproc.hpp"
#include <iostream> #include <iostream>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>

View File

@ -23,8 +23,8 @@ This tutorial code's is shown lines below. You can also download it from `here <
.. code-block:: cpp .. code-block:: cpp
#include "opencv2/highgui/highgui.hpp" #include "opencv2/highgui.hpp"
#include "opencv2/imgproc/imgproc.hpp" #include "opencv2/imgproc.hpp"
#include <iostream> #include <iostream>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>

View File

@ -134,8 +134,8 @@ The tutorial code's is shown lines below. You can also download it from `here <h
.. code-block:: cpp .. code-block:: cpp
#include "opencv2/imgproc/imgproc.hpp" #include "opencv2/imgproc.hpp"
#include "opencv2/highgui/highgui.hpp" #include "opencv2/highgui.hpp"
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h> #include <stdio.h>

View File

@ -26,9 +26,9 @@ This tutorial code's is shown lines below. You can also download it from `here <
.. code-block:: cpp .. code-block:: cpp
#include "opencv2/objdetect/objdetect.hpp" #include "opencv2/objdetect.hpp"
#include "opencv2/highgui/highgui.hpp" #include "opencv2/highgui.hpp"
#include "opencv2/imgproc/imgproc.hpp" #include "opencv2/imgproc.hpp"
#include <iostream> #include <iostream>
#include <stdio.h> #include <stdio.h>

View File

@ -61,14 +61,14 @@
//CV_WARNING("This is a deprecated opencv header provided for compatibility. Please include a header from a corresponding opencv module") //CV_WARNING("This is a deprecated opencv header provided for compatibility. Please include a header from a corresponding opencv module")
#include "opencv2/core/core_c.h" #include "opencv2/core/core_c.h"
#include "opencv2/core/core.hpp" #include "opencv2/core.hpp"
#include "opencv2/imgproc/imgproc_c.h" #include "opencv2/imgproc/imgproc_c.h"
#include "opencv2/imgproc/imgproc.hpp" #include "opencv2/imgproc.hpp"
#include "opencv2/video/tracking.hpp" #include "opencv2/video.hpp"
#include "opencv2/features2d/features2d.hpp" #include "opencv2/features2d.hpp"
#include "opencv2/flann/flann.hpp" #include "opencv2/flann.hpp"
#include "opencv2/calib3d/calib3d.hpp" #include "opencv2/calib3d.hpp"
#include "opencv2/objdetect/objdetect.hpp" #include "opencv2/objdetect.hpp"
#include "opencv2/legacy/compat.hpp" #include "opencv2/legacy/compat.hpp"
#if !defined(CV_IMPL) #if !defined(CV_IMPL)

View File

@ -47,18 +47,17 @@
//#endif //#endif
#include "opencv2/core/core_c.h" #include "opencv2/core/core_c.h"
#include "opencv2/core/core.hpp" #include "opencv2/core.hpp"
#include "opencv2/imgproc/imgproc_c.h" #include "opencv2/imgproc/imgproc_c.h"
#include "opencv2/imgproc/imgproc.hpp" #include "opencv2/imgproc.hpp"
#include "opencv2/video/tracking.hpp" #include "opencv2/video.hpp"
#include "opencv2/video/background_segm.hpp" #include "opencv2/features2d.hpp"
#include "opencv2/features2d/features2d.hpp" #include "opencv2/calib3d.hpp"
#include "opencv2/calib3d/calib3d.hpp" #include "opencv2/objdetect.hpp"
#include "opencv2/objdetect/objdetect.hpp" #include "opencv2/legacy.hpp"
#include "opencv2/legacy/legacy.hpp"
#include "opencv2/legacy/compat.hpp" #include "opencv2/legacy/compat.hpp"
#include "opencv2/legacy/blobtrack.hpp" #include "opencv2/legacy/blobtrack.hpp"
#include "opencv2/contrib/contrib.hpp" #include "opencv2/contrib.hpp"
#endif #endif

View File

@ -48,6 +48,6 @@
//#endif //#endif
#include "opencv2/core/core_c.h" #include "opencv2/core/core_c.h"
#include "opencv2/core/core.hpp" #include "opencv2/core.hpp"
#endif #endif

View File

@ -43,8 +43,8 @@
#define __OPENCV_OLD_HIGHGUI_H__ #define __OPENCV_OLD_HIGHGUI_H__
#include "opencv2/core/core_c.h" #include "opencv2/core/core_c.h"
#include "opencv2/core/core.hpp" #include "opencv2/core.hpp"
#include "opencv2/highgui/highgui_c.h" #include "opencv2/highgui/highgui_c.h"
#include "opencv2/highgui/highgui.hpp" #include "opencv2/highgui.hpp"
#endif #endif

View File

@ -42,7 +42,7 @@
#define __OPENCV_OLD_ML_H__ #define __OPENCV_OLD_ML_H__
#include "opencv2/core/core_c.h" #include "opencv2/core/core_c.h"
#include "opencv2/core/core.hpp" #include "opencv2/core.hpp"
#include "opencv2/ml/ml.hpp" #include "opencv2/ml.hpp"
#endif #endif

View File

@ -44,18 +44,18 @@
#define __OPENCV_ALL_HPP__ #define __OPENCV_ALL_HPP__
#include "opencv2/core/core_c.h" #include "opencv2/core/core_c.h"
#include "opencv2/core/core.hpp" #include "opencv2/core.hpp"
#include "opencv2/flann/miniflann.hpp" #include "opencv2/flann/miniflann.hpp"
#include "opencv2/imgproc/imgproc_c.h" #include "opencv2/imgproc/imgproc_c.h"
#include "opencv2/imgproc/imgproc.hpp" #include "opencv2/imgproc.hpp"
#include "opencv2/photo/photo.hpp" #include "opencv2/photo.hpp"
#include "opencv2/video/video.hpp" #include "opencv2/video.hpp"
#include "opencv2/features2d/features2d.hpp" #include "opencv2/features2d.hpp"
#include "opencv2/objdetect/objdetect.hpp" #include "opencv2/objdetect.hpp"
#include "opencv2/calib3d/calib3d.hpp" #include "opencv2/calib3d.hpp"
#include "opencv2/ml/ml.hpp" #include "opencv2/ml.hpp"
#include "opencv2/highgui/highgui_c.h" #include "opencv2/highgui/highgui_c.h"
#include "opencv2/highgui/highgui.hpp" #include "opencv2/highgui.hpp"
#include "opencv2/contrib/contrib.hpp" #include "opencv2/contrib.hpp"
#endif #endif

View File

@ -1,3 +1,5 @@
add_definition(-D__OPENCV_BUILD=1)
if(NOT OPENCV_MODULES_PATH) if(NOT OPENCV_MODULES_PATH)
set(OPENCV_MODULES_PATH "${CMAKE_CURRENT_SOURCE_DIR}") set(OPENCV_MODULES_PATH "${CMAKE_CURRENT_SOURCE_DIR}")
endif() endif()

View File

@ -2,7 +2,6 @@
#define _CAMERAACTIVITY_H_ #define _CAMERAACTIVITY_H_
#include <camera_properties.h> #include <camera_properties.h>
//#include <opencv2/core/core.hpp>
class CameraActivity class CameraActivity
{ {

View File

@ -43,8 +43,8 @@
#ifndef __OPENCV_CALIB3D_HPP__ #ifndef __OPENCV_CALIB3D_HPP__
#define __OPENCV_CALIB3D_HPP__ #define __OPENCV_CALIB3D_HPP__
#include "opencv2/core/core.hpp" #include "opencv2/core.hpp"
#include "opencv2/features2d/features2d.hpp" #include "opencv2/features2d.hpp"
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {

View File

@ -9,10 +9,10 @@
#ifndef __OPENCV_PERF_PRECOMP_HPP__ #ifndef __OPENCV_PERF_PRECOMP_HPP__
#define __OPENCV_PERF_PRECOMP_HPP__ #define __OPENCV_PERF_PRECOMP_HPP__
#include "opencv2/ts/ts.hpp" #include "opencv2/ts.hpp"
#include "opencv2/calib3d/calib3d.hpp" #include "opencv2/calib3d.hpp"
#include "opencv2/highgui/highgui.hpp" #include "opencv2/highgui.hpp"
#include "opencv2/imgproc/imgproc.hpp" #include "opencv2/imgproc.hpp"
#ifdef GTEST_CREATE_SHARED_LIBRARY #ifdef GTEST_CREATE_SHARED_LIBRARY
#error no modules except ts should have GTEST_CREATE_SHARED_LIBRARY defined #error no modules except ts should have GTEST_CREATE_SHARED_LIBRARY defined

View File

@ -69,7 +69,7 @@
#ifdef DEBUG_CHESSBOARD #ifdef DEBUG_CHESSBOARD
# include "opencv2/opencv_modules.hpp" # include "opencv2/opencv_modules.hpp"
# ifdef HAVE_OPENCV_HIGHGUI # ifdef HAVE_OPENCV_HIGHGUI
# include "opencv2/highgui/highgui.hpp" # include "opencv2/highgui.hpp"
# else # else
# undef DEBUG_CHESSBOARD # undef DEBUG_CHESSBOARD
# endif # endif

View File

@ -49,7 +49,7 @@
#if defined(DEBUG_WINDOWS) #if defined(DEBUG_WINDOWS)
# include "opencv2/opencv_modules.hpp" # include "opencv2/opencv_modules.hpp"
# ifdef HAVE_OPENCV_HIGHGUI # ifdef HAVE_OPENCV_HIGHGUI
# include "opencv2/highgui/highgui.hpp" # include "opencv2/highgui.hpp"
# else # else
# undef DEBUG_WINDOWS # undef DEBUG_WINDOWS
# endif # endif

View File

@ -46,7 +46,7 @@
#ifdef DEBUG_CIRCLES #ifdef DEBUG_CIRCLES
# include "opencv2/opencv_modules.hpp" # include "opencv2/opencv_modules.hpp"
# ifdef HAVE_OPENCV_HIGHGUI # ifdef HAVE_OPENCV_HIGHGUI
# include "opencv2/highgui/highgui.hpp" # include "opencv2/highgui.hpp"
# else # else
# undef DEBUG_CIRCLES # undef DEBUG_CIRCLES
# endif # endif

View File

@ -46,11 +46,11 @@
#include "cvconfig.h" #include "cvconfig.h"
#endif #endif
#include "opencv2/calib3d/calib3d.hpp" #include "opencv2/calib3d.hpp"
#include "opencv2/imgproc/imgproc.hpp" #include "opencv2/imgproc.hpp"
#include "opencv2/imgproc/imgproc_c.h" #include "opencv2/imgproc/imgproc_c.h"
#include "opencv2/core/internal.hpp" #include "opencv2/core/internal.hpp"
#include "opencv2/features2d/features2d.hpp" #include "opencv2/features2d.hpp"
#include <vector> #include <vector>
#ifdef HAVE_TEGRA_OPTIMIZATION #ifdef HAVE_TEGRA_OPTIMIZATION

View File

@ -1,7 +1,7 @@
#ifndef CV_CHESSBOARDGENERATOR_H143KJTVYM389YTNHKFDHJ89NYVMO3VLMEJNTBGUEIYVCM203P #ifndef CV_CHESSBOARDGENERATOR_H143KJTVYM389YTNHKFDHJ89NYVMO3VLMEJNTBGUEIYVCM203P
#define CV_CHESSBOARDGENERATOR_H143KJTVYM389YTNHKFDHJ89NYVMO3VLMEJNTBGUEIYVCM203P #define CV_CHESSBOARDGENERATOR_H143KJTVYM389YTNHKFDHJ89NYVMO3VLMEJNTBGUEIYVCM203P
#include "opencv2/calib3d/calib3d.hpp" #include "opencv2/calib3d.hpp"
namespace cv namespace cv
{ {

View File

@ -9,11 +9,11 @@
#ifndef __OPENCV_TEST_PRECOMP_HPP__ #ifndef __OPENCV_TEST_PRECOMP_HPP__
#define __OPENCV_TEST_PRECOMP_HPP__ #define __OPENCV_TEST_PRECOMP_HPP__
#include "opencv2/ts/ts.hpp" #include "opencv2/ts.hpp"
#include "opencv2/imgproc/imgproc.hpp" #include "opencv2/imgproc.hpp"
#include "opencv2/imgproc/imgproc_c.h" #include "opencv2/imgproc/imgproc_c.h"
#include "opencv2/calib3d/calib3d.hpp" #include "opencv2/calib3d.hpp"
#include "opencv2/highgui/highgui.hpp" #include "opencv2/highgui.hpp"
#include <iostream> #include <iostream>
namespace cvtest namespace cvtest

View File

@ -42,9 +42,9 @@ In OpenCV 2.4 you only need :ocv:func:`applyColorMap` to apply a colormap on a g
.. code-block:: cpp .. code-block:: cpp
#include <opencv2/contrib/contrib.hpp> #include <opencv2/contrib.hpp>
#include <opencv2/core/core.hpp> #include <opencv2/core.hpp>
#include <opencv2/highgui/highgui.hpp> #include <opencv2/highgui.hpp>
using namespace cv; using namespace cv;

View File

@ -16,9 +16,9 @@
* See <http://www.opensource.org/licenses/bsd-license> * See <http://www.opensource.org/licenses/bsd-license>
*/ */
#include "opencv2/core/core.hpp" #include "opencv2/core.hpp"
#include "opencv2/contrib/contrib.hpp" #include "opencv2/contrib.hpp"
#include "opencv2/highgui/highgui.hpp" #include "opencv2/highgui.hpp"
#include <iostream> #include <iostream>

View File

@ -16,9 +16,9 @@
* See <http://www.opensource.org/licenses/bsd-license> * See <http://www.opensource.org/licenses/bsd-license>
*/ */
#include "opencv2/core/core.hpp" #include "opencv2/core.hpp"
#include "opencv2/contrib/contrib.hpp" #include "opencv2/contrib.hpp"
#include "opencv2/highgui/highgui.hpp" #include "opencv2/highgui.hpp"
#include <iostream> #include <iostream>
#include <fstream> #include <fstream>

View File

@ -16,9 +16,9 @@
* See <http://www.opensource.org/licenses/bsd-license> * See <http://www.opensource.org/licenses/bsd-license>
*/ */
#include "opencv2/core/core.hpp" #include "opencv2/core.hpp"
#include "opencv2/contrib/contrib.hpp" #include "opencv2/contrib.hpp"
#include "opencv2/highgui/highgui.hpp" #include "opencv2/highgui.hpp"
#include <iostream> #include <iostream>
#include <fstream> #include <fstream>

View File

@ -16,9 +16,9 @@
* See <http://www.opensource.org/licenses/bsd-license> * See <http://www.opensource.org/licenses/bsd-license>
*/ */
#include "opencv2/core/core.hpp" #include "opencv2/core.hpp"
#include "opencv2/contrib/contrib.hpp" #include "opencv2/contrib.hpp"
#include "opencv2/highgui/highgui.hpp" #include "opencv2/highgui.hpp"
#include <iostream> #include <iostream>
#include <fstream> #include <fstream>

View File

@ -16,9 +16,9 @@
* See <http://www.opensource.org/licenses/bsd-license> * See <http://www.opensource.org/licenses/bsd-license>
*/ */
#include "opencv2/contrib/contrib.hpp" #include "opencv2/contrib.hpp"
#include "opencv2/core/core.hpp" #include "opencv2/core.hpp"
#include "opencv2/highgui/highgui.hpp" #include "opencv2/highgui.hpp"
#include <iostream> #include <iostream>
#include <fstream> #include <fstream>

View File

@ -16,11 +16,11 @@
* See <http://www.opensource.org/licenses/bsd-license> * See <http://www.opensource.org/licenses/bsd-license>
*/ */
#include "opencv2/core/core.hpp" #include "opencv2/core.hpp"
#include "opencv2/contrib/contrib.hpp" #include "opencv2/contrib.hpp"
#include "opencv2/highgui/highgui.hpp" #include "opencv2/highgui.hpp"
#include "opencv2/imgproc/imgproc.hpp" #include "opencv2/imgproc.hpp"
#include "opencv2/objdetect/objdetect.hpp" #include "opencv2/objdetect.hpp"
#include <iostream> #include <iostream>
#include <fstream> #include <fstream>

View File

@ -43,10 +43,10 @@
#ifndef __OPENCV_CONTRIB_HPP__ #ifndef __OPENCV_CONTRIB_HPP__
#define __OPENCV_CONTRIB_HPP__ #define __OPENCV_CONTRIB_HPP__
#include "opencv2/core/core.hpp" #include "opencv2/core.hpp"
#include "opencv2/imgproc/imgproc.hpp" #include "opencv2/imgproc.hpp"
#include "opencv2/features2d/features2d.hpp" #include "opencv2/features2d.hpp"
#include "opencv2/objdetect/objdetect.hpp" #include "opencv2/objdetect.hpp"
#ifdef __cplusplus #ifdef __cplusplus
@ -972,4 +972,3 @@ namespace cv
#endif #endif
#endif #endif

View File

@ -2,8 +2,8 @@
#if defined(__linux__) || defined(LINUX) || defined(__APPLE__) || defined(ANDROID) #if defined(__linux__) || defined(LINUX) || defined(__APPLE__) || defined(ANDROID)
#include <opencv2/core/core.hpp> #include <opencv2/core.hpp>
#include <opencv2/objdetect/objdetect.hpp> #include <opencv2/objdetect.hpp>
#include <vector> #include <vector>

View File

@ -43,12 +43,11 @@
#ifndef __OPENCV_HYBRIDTRACKER_H_ #ifndef __OPENCV_HYBRIDTRACKER_H_
#define __OPENCV_HYBRIDTRACKER_H_ #define __OPENCV_HYBRIDTRACKER_H_
#include "opencv2/core/core.hpp" #include "opencv2/core.hpp"
#include "opencv2/core/operations.hpp" #include "opencv2/imgproc.hpp"
#include "opencv2/imgproc/imgproc.hpp" #include "opencv2/features2d.hpp"
#include "opencv2/features2d/features2d.hpp"
#include "opencv2/video/tracking.hpp" #include "opencv2/video/tracking.hpp"
#include "opencv2/ml/ml.hpp" #include "opencv2/ml.hpp"
#ifdef __cplusplus #ifdef __cplusplus

View File

@ -52,8 +52,8 @@
#ifndef __OPENCV_OPENFABMAP_H_ #ifndef __OPENCV_OPENFABMAP_H_
#define __OPENCV_OPENFABMAP_H_ #define __OPENCV_OPENFABMAP_H_
#include "opencv2/core/core.hpp" #include "opencv2/core.hpp"
#include "opencv2/features2d/features2d.hpp" #include "opencv2/features2d.hpp"
#include <vector> #include <vector>
#include <list> #include <list>

View File

@ -72,7 +72,7 @@
* Author: Alexandre Benoit * Author: Alexandre Benoit
*/ */
#include "opencv2/core/core.hpp" // for all OpenCV core functionalities access, including cv::Exception support #include "opencv2/core.hpp" // for all OpenCV core functionalities access, including cv::Exception support
#include <valarray> #include <valarray>
namespace cv namespace cv

View File

@ -40,7 +40,7 @@
//M*/ //M*/
#include "precomp.hpp" #include "precomp.hpp"
#include "opencv2/calib3d/calib3d.hpp" #include "opencv2/calib3d.hpp"
#include <iostream> #include <iostream>
using namespace cv; using namespace cv;

View File

@ -46,7 +46,7 @@
#include "precomp.hpp" #include "precomp.hpp"
#include "opencv2/opencv_modules.hpp" #include "opencv2/opencv_modules.hpp"
#ifdef HAVE_OPENCV_HIGHGUI #ifdef HAVE_OPENCV_HIGHGUI
# include "opencv2/highgui/highgui.hpp" # include "opencv2/highgui.hpp"
#endif #endif
#include <iostream> #include <iostream>
#include <queue> #include <queue>

View File

@ -42,7 +42,7 @@
#include "precomp.hpp" #include "precomp.hpp"
#include <stdio.h> #include <stdio.h>
#include <iostream> #include <iostream>
#include "opencv2/calib3d/calib3d.hpp" #include "opencv2/calib3d.hpp"
#include "opencv2/contrib/hybridtracker.hpp" #include "opencv2/contrib/hybridtracker.hpp"
using namespace cv; using namespace cv;

View File

@ -39,7 +39,6 @@
// the use of this software, even if advised of the possibility of such damage. // the use of this software, even if advised of the possibility of such damage.
// //
//M*/ //M*/
#include "opencv2/core/core.hpp"
#include "precomp.hpp" #include "precomp.hpp"
#include <iostream> #include <iostream>

View File

@ -1,5 +1,5 @@
#include "opencv2/contrib/contrib.hpp" #include "opencv2/contrib.hpp"
#ifdef WIN32 #ifdef WIN32
#include <windows.h> #include <windows.h>

View File

@ -47,10 +47,10 @@
#include "cvconfig.h" #include "cvconfig.h"
#endif #endif
#include "opencv2/contrib/contrib.hpp" #include "opencv2/contrib.hpp"
#include "opencv2/features2d/features2d.hpp" #include "opencv2/features2d.hpp"
#include "opencv2/objdetect/objdetect.hpp" #include "opencv2/objdetect.hpp"
#include "opencv2/imgproc/imgproc.hpp" #include "opencv2/imgproc.hpp"
#include "opencv2/imgproc/imgproc_c.h" #include "opencv2/imgproc/imgproc_c.h"
#include "opencv2/core/internal.hpp" #include "opencv2/core/internal.hpp"

View File

@ -44,11 +44,11 @@
#define SHOW_DEBUG_IMAGES 0 #define SHOW_DEBUG_IMAGES 0
#include "opencv2/core/core.hpp" #include "opencv2/core.hpp"
#include "opencv2/calib3d/calib3d.hpp" #include "opencv2/calib3d.hpp"
#if SHOW_DEBUG_IMAGES #if SHOW_DEBUG_IMAGES
# include "opencv2/highgui/highgui.hpp" # include "opencv2/highgui.hpp"
#endif #endif
#include <iostream> #include <iostream>

View File

@ -9,8 +9,8 @@
#ifndef __OPENCV_TEST_PRECOMP_HPP__ #ifndef __OPENCV_TEST_PRECOMP_HPP__
#define __OPENCV_TEST_PRECOMP_HPP__ #define __OPENCV_TEST_PRECOMP_HPP__
#include "opencv2/ts/ts.hpp" #include "opencv2/ts.hpp"
#include "opencv2/contrib/contrib.hpp" #include "opencv2/contrib.hpp"
#include <iostream> #include <iostream>
#endif #endif

View File

@ -2425,7 +2425,7 @@ The class provides the following features for all derived classes:
Here is example of SIFT use in your application via Algorithm interface: :: Here is example of SIFT use in your application via Algorithm interface: ::
#include "opencv2/opencv.hpp" #include "opencv2/opencv.hpp"
#include "opencv2/nonfree/nonfree.hpp" #include "opencv2/nonfree.hpp"
... ...

View File

@ -30,14 +30,14 @@ All the OpenCV classes and functions are placed into the ``cv`` namespace. There
.. code-block:: c .. code-block:: c
#include "opencv2/core/core.hpp" #include "opencv2/core.hpp"
... ...
cv::Mat H = cv::findHomography(points1, points2, CV_RANSAC, 5); cv::Mat H = cv::findHomography(points1, points2, CV_RANSAC, 5);
... ...
or :: or ::
#include "opencv2/core/core.hpp" #include "opencv2/core.hpp"
using namespace cv; using namespace cv;
... ...
Mat H = findHomography(points1, points2, CV_RANSAC, 5 ); Mat H = findHomography(points1, points2, CV_RANSAC, 5 );

View File

@ -46,7 +46,7 @@
#ifdef __cplusplus #ifdef __cplusplus
#include "opencv2/core/core_c.h" #include "opencv2/core/core_c.h"
#include "opencv2/core/core.hpp" #include "opencv2/core.hpp"
#if defined _MSC_VER && _MSC_VER >= 1200 #if defined _MSC_VER && _MSC_VER >= 1200
#pragma warning( disable: 4714 ) //__forceinline is not inlined #pragma warning( disable: 4714 ) //__forceinline is not inlined

View File

@ -45,7 +45,7 @@
#ifdef __cplusplus #ifdef __cplusplus
#include "opencv2/core/core.hpp" #include "opencv2/core.hpp"
#include "opencv2/core/cuda_devptrs.hpp" #include "opencv2/core/cuda_devptrs.hpp"
namespace cv { namespace gpu namespace cv { namespace gpu

View File

@ -45,7 +45,7 @@
#ifdef __cplusplus #ifdef __cplusplus
#include "opencv2/core/core.hpp" #include "opencv2/core.hpp"
namespace cv { namespace ogl { namespace cv { namespace ogl {

View File

@ -9,7 +9,7 @@
#ifndef __OPENCV_PERF_PRECOMP_HPP__ #ifndef __OPENCV_PERF_PRECOMP_HPP__
#define __OPENCV_PERF_PRECOMP_HPP__ #define __OPENCV_PERF_PRECOMP_HPP__
#include "opencv2/ts/ts.hpp" #include "opencv2/ts.hpp"
#ifdef GTEST_CREATE_SHARED_LIBRARY #ifdef GTEST_CREATE_SHARED_LIBRARY
#error no modules except ts should have GTEST_CREATE_SHARED_LIBRARY defined #error no modules except ts should have GTEST_CREATE_SHARED_LIBRARY defined

View File

@ -1,7 +1,7 @@
#include <string> #include <string>
#include <sstream> #include <sstream>
#include "cvconfig.h" #include "cvconfig.h"
#include "opencv2/core/core.hpp" #include "opencv2/core.hpp"
#include "gl_core_3_1.hpp" #include "gl_core_3_1.hpp"
#ifdef HAVE_OPENGL #ifdef HAVE_OPENGL

View File

@ -42,7 +42,7 @@
#include "precomp.hpp" #include "precomp.hpp"
#include "opencv2/core/gpumat.hpp" #include "opencv2/core/gpumat.hpp"
#include "opencv2/core/opengl_interop.hpp" #include "opencv2/core/opengl.hpp"
/****************************************************************************************\ /****************************************************************************************\
* [scaled] Identity matrix initialization * * [scaled] Identity matrix initialization *

View File

@ -41,7 +41,7 @@
//M*/ //M*/
#include "precomp.hpp" #include "precomp.hpp"
#include "opencv2/core/opengl_interop.hpp" #include "opencv2/core/opengl.hpp"
#include "opencv2/core/gpumat.hpp" #include "opencv2/core/gpumat.hpp"
#ifdef HAVE_OPENGL #ifdef HAVE_OPENGL

View File

@ -47,7 +47,7 @@
#include "cvconfig.h" #include "cvconfig.h"
#endif #endif
#include "opencv2/core/core.hpp" #include "opencv2/core.hpp"
#include "opencv2/core/core_c.h" #include "opencv2/core/core_c.h"
#include "opencv2/core/internal.hpp" #include "opencv2/core/internal.hpp"

View File

@ -9,7 +9,7 @@
#ifndef __OPENCV_TEST_PRECOMP_HPP__ #ifndef __OPENCV_TEST_PRECOMP_HPP__
#define __OPENCV_TEST_PRECOMP_HPP__ #define __OPENCV_TEST_PRECOMP_HPP__
#include "opencv2/ts/ts.hpp" #include "opencv2/ts.hpp"
#include "opencv2/core/core_c.h" #include "opencv2/core/core_c.h"
#include <iostream> #include <iostream>

View File

@ -43,7 +43,7 @@
#ifndef __OPENCV_FEATURES_2D_HPP__ #ifndef __OPENCV_FEATURES_2D_HPP__
#define __OPENCV_FEATURES_2D_HPP__ #define __OPENCV_FEATURES_2D_HPP__
#include "opencv2/core/core.hpp" #include "opencv2/core.hpp"
#include "opencv2/flann/miniflann.hpp" #include "opencv2/flann/miniflann.hpp"
#ifdef __cplusplus #ifdef __cplusplus

View File

@ -9,9 +9,9 @@
#ifndef __OPENCV_PERF_PRECOMP_HPP__ #ifndef __OPENCV_PERF_PRECOMP_HPP__
#define __OPENCV_PERF_PRECOMP_HPP__ #define __OPENCV_PERF_PRECOMP_HPP__
#include "opencv2/ts/ts.hpp" #include "opencv2/ts.hpp"
#include "opencv2/highgui/highgui.hpp" #include "opencv2/highgui.hpp"
#include "opencv2/features2d/features2d.hpp" #include "opencv2/features2d.hpp"
#ifdef GTEST_CREATE_SHARED_LIBRARY #ifdef GTEST_CREATE_SHARED_LIBRARY
#error no modules except ts should have GTEST_CREATE_SHARED_LIBRARY defined #error no modules except ts should have GTEST_CREATE_SHARED_LIBRARY defined

Some files were not shown because too many files have changed in this diff Show More