Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
91dd44e7
Commit
91dd44e7
authored
Jul 23, 2013
by
Vladislav Vinogradov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed compatibility headers
parent
fef646d4
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
40 additions
and
123 deletions
+40
-123
gpu.hpp
modules/gpu/include/opencv2/gpu.hpp
+0
-40
gpu.hpp
modules/gpu/include/opencv2/gpu/gpu.hpp
+0
-48
alpha_comp.cpp
samples/gpu/alpha_comp.cpp
+1
-1
bgfg_segm.cpp
samples/gpu/bgfg_segm.cpp
+2
-7
brox_optical_flow.cpp
samples/gpu/brox_optical_flow.cpp
+4
-2
cascadeclassifier.cpp
samples/gpu/cascadeclassifier.cpp
+3
-1
cascadeclassifier_nvidia_api.cpp
samples/gpu/cascadeclassifier_nvidia_api.cpp
+5
-7
driver_api_multi.cpp
samples/gpu/driver_api_multi.cpp
+1
-1
driver_api_stereo_multi.cpp
samples/gpu/driver_api_stereo_multi.cpp
+1
-1
farneback_optical_flow.cpp
samples/gpu/farneback_optical_flow.cpp
+1
-1
hog.cpp
samples/gpu/hog.cpp
+1
-0
houghlines.cpp
samples/gpu/houghlines.cpp
+1
-1
multi.cpp
samples/gpu/multi.cpp
+1
-1
optical_flow.cpp
samples/gpu/optical_flow.cpp
+1
-1
opticalflow_nvidia_api.cpp
samples/gpu/opticalflow_nvidia_api.cpp
+2
-5
tests.cpp
samples/gpu/performance/tests.cpp
+8
-0
pyrlk_optical_flow.cpp
samples/gpu/pyrlk_optical_flow.cpp
+2
-1
stereo_match.cpp
samples/gpu/stereo_match.cpp
+2
-1
stereo_multi.cpp
samples/gpu/stereo_multi.cpp
+3
-3
surf_keypoint_matcher.cpp
samples/gpu/surf_keypoint_matcher.cpp
+1
-1
No files found.
modules/gpu/include/opencv2/gpu.hpp
View file @
91dd44e7
...
...
@@ -49,46 +49,6 @@
#include "opencv2/core/gpu.hpp"
#if !defined(__OPENCV_BUILD) && !defined(OPENCV_GPU_SKIP_INCLUDE)
#include "opencv2/opencv_modules.hpp"
#ifdef HAVE_OPENCV_GPUARITHM
#include "opencv2/gpuarithm.hpp"
#endif
#ifdef HAVE_OPENCV_GPUWARPING
#include "opencv2/gpuwarping.hpp"
#endif
#ifdef HAVE_OPENCV_GPUFILTERS
#include "opencv2/gpufilters.hpp"
#endif
#ifdef HAVE_OPENCV_GPUIMGPROC
#include "opencv2/gpuimgproc.hpp"
#endif
#ifdef HAVE_OPENCV_GPUFEATURES2D
#include "opencv2/gpufeatures2d.hpp"
#endif
#ifdef HAVE_OPENCV_GPUOPTFLOW
#include "opencv2/gpuoptflow.hpp"
#endif
#ifdef HAVE_OPENCV_GPUBGSEGM
#include "opencv2/gpubgsegm.hpp"
#endif
#ifdef HAVE_OPENCV_GPUSTEREO
#include "opencv2/gpustereo.hpp"
#endif
#ifdef HAVE_OPENCV_GPUCODEC
#include "opencv2/gpucodec.hpp"
#endif
#endif
namespace
cv
{
namespace
cuda
{
//////////////// HOG (Histogram-of-Oriented-Gradients) Descriptor and Object Detector //////////////
...
...
modules/gpu/include/opencv2/gpu/gpu.hpp
deleted
100644 → 0
View file @
fef646d4
/*M///////////////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
//
// By downloading, copying, installing or using the software you agree to this license.
// If you do not agree to this license, do not download, install,
// copy or use the software.
//
//
// License Agreement
// For Open Source Computer Vision Library
//
// Copyright (C) 2000-2008, Intel Corporation, all rights reserved.
// Copyright (C) 2009, Willow Garage Inc., all rights reserved.
// Copyright (C) 2013, OpenCV Foundation, all rights reserved.
// Third party copyrights are property of their respective owners.
//
// Redistribution and use in source and binary forms, with or without modification,
// are permitted provided that the following conditions are met:
//
// * Redistribution's of source code must retain the above copyright notice,
// this list of conditions and the following disclaimer.
//
// * Redistribution's in binary form must reproduce the above copyright notice,
// this list of conditions and the following disclaimer in the documentation
// and/or other materials provided with the distribution.
//
// * The name of the copyright holders may not be used to endorse or promote products
// derived from this software without specific prior written permission.
//
// This software is provided by the copyright holders and contributors "as is" and
// any express or implied warranties, including, but not limited to, the implied
// warranties of merchantability and fitness for a particular purpose are disclaimed.
// In no event shall the Intel Corporation or contributors be liable for any direct,
// indirect, incidental, special, exemplary, or consequential damages
// (including, but not limited to, procurement of substitute goods or services;
// loss of use, data, or profits; or business interruption) however caused
// and on any theory of liability, whether in contract, strict liability,
// or tort (including negligence or otherwise) arising in any way out of
// the use of this software, even if advised of the possibility of such damage.
//
//M*/
#ifdef __OPENCV_BUILD
#error this is a compatibility header which should not be used inside the OpenCV library
#endif
#include "opencv2/gpu.hpp"
samples/gpu/alpha_comp.cpp
View file @
91dd44e7
...
...
@@ -2,7 +2,7 @@
#include "opencv2/core/opengl.hpp"
#include "opencv2/highgui/highgui.hpp"
#include "opencv2/gpu
/gpu
.hpp"
#include "opencv2/gpu
imgproc
.hpp"
using
namespace
std
;
using
namespace
cv
;
...
...
samples/gpu/bgfg_segm.cpp
View file @
91dd44e7
...
...
@@ -3,15 +3,10 @@
#include "opencv2/core.hpp"
#include "opencv2/core/utility.hpp"
#include "opencv2/gpu.hpp"
#include "opencv2/gpubgsegm.hpp"
#include "opencv2/video.hpp"
#include "opencv2/highgui.hpp"
#include "opencv2/opencv_modules.hpp"
#ifdef HAVE_OPENCV_NONFREE
# include "opencv2/nonfree/gpu.hpp"
#endif
using
namespace
std
;
using
namespace
cv
;
using
namespace
cv
::
cuda
;
...
...
samples/gpu/brox_optical_flow.cpp
View file @
91dd44e7
...
...
@@ -6,7 +6,9 @@
#include "opencv2/core.hpp"
#include "opencv2/core/utility.hpp"
#include "opencv2/highgui.hpp"
#include "opencv2/gpu.hpp"
#include "opencv2/imgproc.hpp"
#include "opencv2/gpuoptflow.hpp"
#include "opencv2/gpuarithm.hpp"
using
namespace
std
;
using
namespace
cv
;
...
...
@@ -161,7 +163,7 @@ int main(int argc, const char* argv[])
interpolateFrames
(
d_r
,
d_rt
,
d_fu
,
d_fv
,
d_bu
,
d_bv
,
timePos
,
d_rNew
,
d_buf
);
GpuMat
channels3
[]
=
{
d_bNew
,
d_gNew
,
d_rNew
};
merge
(
channels3
,
3
,
d_newFrame
);
cuda
::
merge
(
channels3
,
3
,
d_newFrame
);
frames
.
push_back
(
Mat
(
d_newFrame
));
...
...
samples/gpu/cascadeclassifier.cpp
View file @
91dd44e7
...
...
@@ -10,7 +10,9 @@
#include "opencv2/objdetect/objdetect.hpp"
#include "opencv2/highgui/highgui.hpp"
#include "opencv2/imgproc/imgproc.hpp"
#include "opencv2/gpu/gpu.hpp"
#include "opencv2/gpu.hpp"
#include "opencv2/gpuimgproc.hpp"
#include "opencv2/gpuwarping.hpp"
using
namespace
std
;
using
namespace
cv
;
...
...
samples/gpu/cascadeclassifier_nvidia_api.cpp
View file @
91dd44e7
...
...
@@ -6,14 +6,12 @@
#include <iostream>
#include <iomanip>
#include <cstdio>
#include "opencv2/gpu/gpu.hpp"
#include "opencv2/highgui/highgui.hpp"
#include "opencv2/objdetect/objdetect.hpp"
#include "opencv2/objdetect/objdetect_c.h"
#ifdef HAVE_CUDA
#include "opencv2/core/gpu.hpp"
#include "opencv2/gpulegacy.hpp"
#endif
#include "opencv2/highgui.hpp"
#include "opencv2/imgproc.hpp"
#include "opencv2/objdetect.hpp"
#include "opencv2/objdetect/objdetect_c.h"
using
namespace
std
;
using
namespace
cv
;
...
...
samples/gpu/driver_api_multi.cpp
View file @
91dd44e7
...
...
@@ -9,7 +9,7 @@
#include <iostream>
#include "cvconfig.h"
#include "opencv2/core/core.hpp"
#include "opencv2/gpu
/gpu
.hpp"
#include "opencv2/gpu
arithm
.hpp"
#ifdef HAVE_TBB
# include "tbb/tbb_stddef.h"
...
...
samples/gpu/driver_api_stereo_multi.cpp
View file @
91dd44e7
...
...
@@ -11,7 +11,7 @@
#include "cvconfig.h"
#include "opencv2/core/core.hpp"
#include "opencv2/highgui/highgui.hpp"
#include "opencv2/gpu
/gpu
.hpp"
#include "opencv2/gpu
stereo
.hpp"
#ifdef HAVE_TBB
# include "tbb/tbb_stddef.h"
...
...
samples/gpu/farneback_optical_flow.cpp
View file @
91dd44e7
...
...
@@ -6,7 +6,7 @@
#include "opencv2/core/utility.hpp"
#include "opencv2/highgui.hpp"
#include "opencv2/video.hpp"
#include "opencv2/gpu.hpp"
#include "opencv2/gpu
optflow
.hpp"
using
namespace
std
;
using
namespace
cv
;
...
...
samples/gpu/hog.cpp
View file @
91dd44e7
...
...
@@ -8,6 +8,7 @@
#include "opencv2/gpu.hpp"
#include "opencv2/highgui.hpp"
#include "opencv2/objdetect.hpp"
#include "opencv2/imgproc.hpp"
using
namespace
std
;
using
namespace
cv
;
...
...
samples/gpu/houghlines.cpp
View file @
91dd44e7
...
...
@@ -5,7 +5,7 @@
#include <opencv2/core/utility.hpp>
#include "opencv2/highgui.hpp"
#include "opencv2/imgproc.hpp"
#include "opencv2/gpu.hpp"
#include "opencv2/gpu
imgproc
.hpp"
using
namespace
std
;
using
namespace
cv
;
...
...
samples/gpu/multi.cpp
View file @
91dd44e7
...
...
@@ -9,7 +9,7 @@
#include <iostream>
#include "cvconfig.h"
#include "opencv2/core/core.hpp"
#include "opencv2/gpu
/gpu
.hpp"
#include "opencv2/gpu
arithm
.hpp"
#ifdef HAVE_TBB
# include "tbb/tbb_stddef.h"
...
...
samples/gpu/optical_flow.cpp
View file @
91dd44e7
...
...
@@ -4,7 +4,7 @@
#include "opencv2/core.hpp"
#include <opencv2/core/utility.hpp>
#include "opencv2/highgui.hpp"
#include "opencv2/gpu.hpp"
#include "opencv2/gpu
optflow
.hpp"
using
namespace
std
;
using
namespace
cv
;
...
...
samples/gpu/opticalflow_nvidia_api.cpp
View file @
91dd44e7
...
...
@@ -11,14 +11,11 @@
#include "cvconfig.h"
#include <iostream>
#include <iomanip>
#include "opencv2/gpu/gpu.hpp"
#include "opencv2/core/gpu.hpp"
#include "opencv2/gpulegacy.hpp"
#include "opencv2/highgui/highgui.hpp"
#include "opencv2/highgui/highgui_c.h"
#ifdef HAVE_CUDA
#include "opencv2/gpulegacy.hpp"
#endif
#if !defined(HAVE_CUDA)
int
main
(
int
,
const
char
**
)
{
...
...
samples/gpu/performance/tests.cpp
View file @
91dd44e7
...
...
@@ -4,11 +4,19 @@
#include "opencv2/calib3d.hpp"
#include "opencv2/video.hpp"
#include "opencv2/gpu.hpp"
#include "opencv2/gpuimgproc.hpp"
#include "opencv2/gpuarithm.hpp"
#include "opencv2/gpuwarping.hpp"
#include "opencv2/gpufeatures2d.hpp"
#include "opencv2/gpufilters.hpp"
#include "opencv2/gpuoptflow.hpp"
#include "opencv2/gpubgsegm.hpp"
#include "opencv2/legacy.hpp"
#include "performance.h"
#include "opencv2/opencv_modules.hpp"
#ifdef HAVE_OPENCV_NONFREE
#include "opencv2/nonfree/gpu.hpp"
#include "opencv2/nonfree/nonfree.hpp"
...
...
samples/gpu/pyrlk_optical_flow.cpp
View file @
91dd44e7
...
...
@@ -6,7 +6,8 @@
#include "opencv2/imgproc.hpp"
#include "opencv2/highgui.hpp"
#include "opencv2/video.hpp"
#include "opencv2/gpu.hpp"
#include "opencv2/gpuoptflow.hpp"
#include "opencv2/gpuimgproc.hpp"
using
namespace
std
;
using
namespace
cv
;
...
...
samples/gpu/stereo_match.cpp
View file @
91dd44e7
...
...
@@ -4,8 +4,9 @@
#include <iomanip>
#include <stdexcept>
#include <opencv2/core/utility.hpp>
#include "opencv2/gpu.hpp"
#include "opencv2/gpu
stereo
.hpp"
#include "opencv2/highgui.hpp"
#include "opencv2/imgproc.hpp"
using
namespace
cv
;
using
namespace
std
;
...
...
samples/gpu/stereo_multi.cpp
View file @
91dd44e7
...
...
@@ -9,9 +9,9 @@
#include <iostream>
#include "cvconfig.h"
#include "opencv2/core
/core
.hpp"
#include "opencv2/highgui
/highgui
.hpp"
#include "opencv2/gpu
/gpu
.hpp"
#include "opencv2/core.hpp"
#include "opencv2/highgui.hpp"
#include "opencv2/gpu
stereo
.hpp"
#ifdef HAVE_TBB
# include "tbb/tbb_stddef.h"
...
...
samples/gpu/surf_keypoint_matcher.cpp
View file @
91dd44e7
...
...
@@ -7,7 +7,7 @@
#include "opencv2/core/core.hpp"
#include "opencv2/features2d/features2d.hpp"
#include "opencv2/highgui/highgui.hpp"
#include "opencv2/gpu
/gpu
.hpp"
#include "opencv2/gpu
features2d
.hpp"
#include "opencv2/nonfree/gpu.hpp"
using
namespace
std
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment