renamed gpuimgproc -> cudaimgproc

pull/1299/head
Vladislav Vinogradov 11 years ago
parent 219b662127
commit a0ae602bb7
  1. 9
      modules/cudaimgproc/CMakeLists.txt
  2. 0
      modules/cudaimgproc/doc/color.rst
  3. 0
      modules/cudaimgproc/doc/cudaimgproc.rst
  4. 0
      modules/cudaimgproc/doc/feature_detection.rst
  5. 0
      modules/cudaimgproc/doc/histogram.rst
  6. 0
      modules/cudaimgproc/doc/hough.rst
  7. 0
      modules/cudaimgproc/doc/imgproc.rst
  8. 8
      modules/cudaimgproc/include/opencv2/cudaimgproc.hpp
  9. 0
      modules/cudaimgproc/perf/perf_bilateral_filter.cpp
  10. 0
      modules/cudaimgproc/perf/perf_blend.cpp
  11. 0
      modules/cudaimgproc/perf/perf_canny.cpp
  12. 0
      modules/cudaimgproc/perf/perf_color.cpp
  13. 0
      modules/cudaimgproc/perf/perf_corners.cpp
  14. 0
      modules/cudaimgproc/perf/perf_gftt.cpp
  15. 0
      modules/cudaimgproc/perf/perf_histogram.cpp
  16. 0
      modules/cudaimgproc/perf/perf_hough.cpp
  17. 2
      modules/cudaimgproc/perf/perf_main.cpp
  18. 0
      modules/cudaimgproc/perf/perf_match_template.cpp
  19. 0
      modules/cudaimgproc/perf/perf_mean_shift.cpp
  20. 0
      modules/cudaimgproc/perf/perf_precomp.cpp
  21. 2
      modules/cudaimgproc/perf/perf_precomp.hpp
  22. 0
      modules/cudaimgproc/src/bilateral_filter.cpp
  23. 0
      modules/cudaimgproc/src/blend.cpp
  24. 0
      modules/cudaimgproc/src/canny.cpp
  25. 0
      modules/cudaimgproc/src/color.cpp
  26. 0
      modules/cudaimgproc/src/corners.cpp
  27. 0
      modules/cudaimgproc/src/cuda/bilateral_filter.cu
  28. 0
      modules/cudaimgproc/src/cuda/blend.cu
  29. 0
      modules/cudaimgproc/src/cuda/build_point_list.cu
  30. 0
      modules/cudaimgproc/src/cuda/canny.cu
  31. 0
      modules/cudaimgproc/src/cuda/clahe.cu
  32. 0
      modules/cudaimgproc/src/cuda/color.cu
  33. 0
      modules/cudaimgproc/src/cuda/corners.cu
  34. 0
      modules/cudaimgproc/src/cuda/debayer.cu
  35. 0
      modules/cudaimgproc/src/cuda/generalized_hough.cu
  36. 0
      modules/cudaimgproc/src/cuda/gftt.cu
  37. 0
      modules/cudaimgproc/src/cuda/hist.cu
  38. 0
      modules/cudaimgproc/src/cuda/hough_circles.cu
  39. 0
      modules/cudaimgproc/src/cuda/hough_lines.cu
  40. 0
      modules/cudaimgproc/src/cuda/hough_segments.cu
  41. 0
      modules/cudaimgproc/src/cuda/match_template.cu
  42. 0
      modules/cudaimgproc/src/cuda/mean_shift.cu
  43. 0
      modules/cudaimgproc/src/cvt_color_internal.h
  44. 0
      modules/cudaimgproc/src/generalized_hough.cpp
  45. 0
      modules/cudaimgproc/src/gftt.cpp
  46. 0
      modules/cudaimgproc/src/histogram.cpp
  47. 0
      modules/cudaimgproc/src/hough_circles.cpp
  48. 0
      modules/cudaimgproc/src/hough_lines.cpp
  49. 0
      modules/cudaimgproc/src/hough_segments.cpp
  50. 0
      modules/cudaimgproc/src/match_template.cpp
  51. 0
      modules/cudaimgproc/src/mean_shift.cpp
  52. 0
      modules/cudaimgproc/src/mssegmentation.cpp
  53. 0
      modules/cudaimgproc/src/precomp.cpp
  54. 2
      modules/cudaimgproc/src/precomp.hpp
  55. 0
      modules/cudaimgproc/test/test_bilateral_filter.cpp
  56. 0
      modules/cudaimgproc/test/test_blend.cpp
  57. 0
      modules/cudaimgproc/test/test_canny.cpp
  58. 0
      modules/cudaimgproc/test/test_color.cpp
  59. 0
      modules/cudaimgproc/test/test_corners.cpp
  60. 0
      modules/cudaimgproc/test/test_gftt.cpp
  61. 0
      modules/cudaimgproc/test/test_histogram.cpp
  62. 0
      modules/cudaimgproc/test/test_hough.cpp
  63. 0
      modules/cudaimgproc/test/test_main.cpp
  64. 0
      modules/cudaimgproc/test/test_match_template.cpp
  65. 0
      modules/cudaimgproc/test/test_mean_shift.cpp
  66. 0
      modules/cudaimgproc/test/test_precomp.cpp
  67. 2
      modules/cudaimgproc/test/test_precomp.hpp
  68. 2
      modules/gpubgsegm/CMakeLists.txt
  69. 6
      modules/gpubgsegm/perf/perf_bgsegm.cpp
  70. 2
      modules/gpubgsegm/src/fgd.cpp
  71. 4
      modules/gpubgsegm/src/precomp.hpp
  72. 9
      modules/gpuimgproc/CMakeLists.txt
  73. 2
      modules/gpuoptflow/CMakeLists.txt
  74. 2
      modules/gpuoptflow/src/precomp.hpp
  75. 2
      modules/photo/CMakeLists.txt
  76. 2
      modules/photo/perf/perf_gpu.cpp
  77. 6
      modules/photo/src/denoising_gpu.cpp
  78. 2
      modules/photo/test/test_denoising_gpu.cpp
  79. 2
      modules/superres/CMakeLists.txt
  80. 2
      modules/superres/src/input_array_utility.cpp
  81. 4
      modules/superres/src/precomp.hpp
  82. 8
      modules/videostab/include/opencv2/videostab/global_motion.hpp
  83. 4
      modules/videostab/src/global_motion.cpp
  84. 4
      samples/cpp/CMakeLists.txt
  85. 4
      samples/cpp/videostab.cpp
  86. 2
      samples/gpu/CMakeLists.txt
  87. 2
      samples/gpu/alpha_comp.cpp
  88. 2
      samples/gpu/cascadeclassifier.cpp
  89. 2
      samples/gpu/generalized_hough.cpp
  90. 2
      samples/gpu/houghlines.cpp
  91. 2
      samples/gpu/morphology.cpp
  92. 2
      samples/gpu/performance/tests.cpp
  93. 2
      samples/gpu/pyrlk_optical_flow.cpp

@ -0,0 +1,9 @@
if(ANDROID OR IOS)
ocv_module_disable(cudaimgproc)
endif()
set(the_description "CUDA-accelerated Image Processing")
ocv_warnings_disable(CMAKE_CXX_FLAGS /wd4127 /wd4100 /wd4324 /wd4512 /wd4515 -Wundef -Wmissing-declarations -Wshadow -Wunused-parameter)
ocv_define_module(cudaimgproc opencv_imgproc OPTIONAL opencv_cudaarithm opencv_cudafilters)

@ -40,11 +40,11 @@
//
//M*/
#ifndef __OPENCV_GPUIMGPROC_HPP__
#define __OPENCV_GPUIMGPROC_HPP__
#ifndef __OPENCV_CUDAIMGPROC_HPP__
#define __OPENCV_CUDAIMGPROC_HPP__
#ifndef __cplusplus
# error gpuimgproc.hpp header must be compiled as C++
# error cudaimgproc.hpp header must be compiled as C++
#endif
#include "opencv2/core/cuda.hpp"
@ -359,4 +359,4 @@ CV_EXPORTS void blendLinear(InputArray img1, InputArray img2, InputArray weights
}} // namespace cv { namespace cuda {
#endif /* __OPENCV_GPUIMGPROC_HPP__ */
#endif /* __OPENCV_CUDAIMGPROC_HPP__ */

@ -44,4 +44,4 @@
using namespace perf;
CV_PERF_TEST_CUDA_MAIN(gpuimgproc)
CV_PERF_TEST_CUDA_MAIN(cudaimgproc)

@ -54,7 +54,7 @@
#include "opencv2/ts.hpp"
#include "opencv2/ts/gpu_perf.hpp"
#include "opencv2/gpuimgproc.hpp"
#include "opencv2/cudaimgproc.hpp"
#include "opencv2/imgproc.hpp"
#ifdef GTEST_CREATE_SHARED_LIBRARY

@ -43,7 +43,7 @@
#ifndef __OPENCV_PRECOMP_H__
#define __OPENCV_PRECOMP_H__
#include "opencv2/gpuimgproc.hpp"
#include "opencv2/cudaimgproc.hpp"
#include "opencv2/core/utility.hpp"
#include "opencv2/core/private.hpp"

@ -54,7 +54,7 @@
#include "opencv2/ts.hpp"
#include "opencv2/ts/gpu_test.hpp"
#include "opencv2/gpuimgproc.hpp"
#include "opencv2/cudaimgproc.hpp"
#include "opencv2/imgproc.hpp"
#include "cvconfig.h"

@ -6,4 +6,4 @@ set(the_description "GPU-accelerated Background Segmentation")
ocv_warnings_disable(CMAKE_CXX_FLAGS /wd4127 /wd4324 /wd4512 -Wundef -Wmissing-declarations)
ocv_define_module(gpubgsegm opencv_video OPTIONAL opencv_legacy opencv_imgproc opencv_cudaarithm opencv_cudafilters opencv_gpuimgproc)
ocv_define_module(gpubgsegm opencv_video OPTIONAL opencv_legacy opencv_imgproc opencv_cudaarithm opencv_cudafilters opencv_cudaimgproc)

@ -46,8 +46,8 @@
# include "opencv2/legacy.hpp"
#endif
#ifdef HAVE_OPENCV_GPUIMGPROC
# include "opencv2/gpuimgproc.hpp"
#ifdef HAVE_OPENCV_CUDAIMGPROC
# include "opencv2/cudaimgproc.hpp"
#endif
using namespace std;
@ -121,7 +121,7 @@ PERF_TEST_P(Video, FGDStatModel,
GPU_SANITY_CHECK(foreground, 1e-2, ERROR_RELATIVE);
#ifdef HAVE_OPENCV_GPUIMGPROC
#ifdef HAVE_OPENCV_CUDAIMGPROC
cv::cuda::GpuMat background3, background;
d_fgd->getBackgroundImage(background3);
cv::cuda::cvtColor(background3, background, cv::COLOR_BGR2BGRA);

@ -45,7 +45,7 @@
using namespace cv;
using namespace cv::cuda;
#if !defined(HAVE_CUDA) || defined(CUDA_DISABLER) || !defined(HAVE_OPENCV_IMGPROC) || !defined(HAVE_OPENCV_CUDAARITHM) || !defined(HAVE_OPENCV_GPUIMGPROC)
#if !defined(HAVE_CUDA) || defined(CUDA_DISABLER) || !defined(HAVE_OPENCV_IMGPROC) || !defined(HAVE_OPENCV_CUDAARITHM) || !defined(HAVE_OPENCV_CUDAIMGPROC)
cv::cuda::FGDParams::FGDParams() { throw_no_cuda(); }

@ -59,8 +59,8 @@
# include "opencv2/cudafilters.hpp"
#endif
#ifdef HAVE_OPENCV_GPUIMGPROC
# include "opencv2/gpuimgproc.hpp"
#ifdef HAVE_OPENCV_CUDAIMGPROC
# include "opencv2/cudaimgproc.hpp"
#endif
#endif /* __OPENCV_PRECOMP_H__ */

@ -1,9 +0,0 @@
if(ANDROID OR IOS)
ocv_module_disable(gpuimgproc)
endif()
set(the_description "GPU-accelerated Image Processing")
ocv_warnings_disable(CMAKE_CXX_FLAGS /wd4127 /wd4100 /wd4324 /wd4512 /wd4515 -Wundef -Wmissing-declarations -Wshadow -Wunused-parameter)
ocv_define_module(gpuimgproc opencv_imgproc OPTIONAL opencv_cudaarithm opencv_cudafilters)

@ -6,4 +6,4 @@ set(the_description "GPU-accelerated Optical Flow")
ocv_warnings_disable(CMAKE_CXX_FLAGS /wd4127 /wd4324 /wd4512 -Wundef -Wmissing-declarations)
ocv_define_module(gpuoptflow opencv_video opencv_legacy opencv_cudaarithm opencv_cudawarping opencv_gpuimgproc OPTIONAL opencv_cudalegacy)
ocv_define_module(gpuoptflow opencv_video opencv_legacy opencv_cudaarithm opencv_cudawarping opencv_cudaimgproc OPTIONAL opencv_cudalegacy)

@ -48,7 +48,7 @@
#include "opencv2/gpuoptflow.hpp"
#include "opencv2/cudaarithm.hpp"
#include "opencv2/cudawarping.hpp"
#include "opencv2/gpuimgproc.hpp"
#include "opencv2/cudaimgproc.hpp"
#include "opencv2/video.hpp"
#include "opencv2/core/private.cuda.hpp"

@ -4,4 +4,4 @@ if(HAVE_CUDA)
ocv_warnings_disable(CMAKE_CXX_FLAGS -Wundef -Wmissing-declarations)
endif()
ocv_define_module(photo opencv_imgproc OPTIONAL opencv_cudaarithm opencv_gpuimgproc)
ocv_define_module(photo opencv_imgproc OPTIONAL opencv_cudaarithm opencv_cudaimgproc)

@ -47,7 +47,7 @@
#include "opencv2/opencv_modules.hpp"
#if defined (HAVE_CUDA) && defined(HAVE_OPENCV_CUDAARITHM) && defined(HAVE_OPENCV_GPUIMGPROC)
#if defined (HAVE_CUDA) && defined(HAVE_OPENCV_CUDAARITHM) && defined(HAVE_OPENCV_CUDAIMGPROC)
using namespace std;
using namespace testing;

@ -51,14 +51,14 @@
# include "opencv2/cudaarithm.hpp"
#endif
#ifdef HAVE_OPENCV_GPUIMGPROC
# include "opencv2/gpuimgproc.hpp"
#ifdef HAVE_OPENCV_CUDAIMGPROC
# include "opencv2/cudaimgproc.hpp"
#endif
using namespace cv;
using namespace cv::cuda;
#if !defined (HAVE_CUDA) || !defined(HAVE_OPENCV_CUDAARITHM) || !defined(HAVE_OPENCV_GPUIMGPROC)
#if !defined (HAVE_CUDA) || !defined(HAVE_OPENCV_CUDAARITHM) || !defined(HAVE_OPENCV_CUDAIMGPROC)
void cv::cuda::nonLocalMeans(const GpuMat&, GpuMat&, float, int, int, int, Stream&) { throw_no_cuda(); }
void cv::cuda::FastNonLocalMeansDenoising::simpleMethod(const GpuMat&, GpuMat&, float, int, int, Stream&) { throw_no_cuda(); }

@ -48,7 +48,7 @@
#include "opencv2/opencv_modules.hpp"
#include "cvconfig.h"
#if defined (HAVE_CUDA) && defined(HAVE_OPENCV_CUDAARITHM) && defined(HAVE_OPENCV_GPUIMGPROC)
#if defined (HAVE_CUDA) && defined(HAVE_OPENCV_CUDAARITHM) && defined(HAVE_OPENCV_CUDAIMGPROC)
using namespace cvtest;

@ -6,4 +6,4 @@ set(the_description "Super Resolution")
ocv_warnings_disable(CMAKE_CXX_FLAGS /wd4127 -Wundef)
ocv_define_module(superres opencv_imgproc opencv_video
OPTIONAL opencv_highgui opencv_ocl
opencv_cudaarithm opencv_cudafilters opencv_cudawarping opencv_gpuimgproc opencv_gpuoptflow opencv_cudacodec)
opencv_cudaarithm opencv_cudafilters opencv_cudawarping opencv_cudaimgproc opencv_gpuoptflow opencv_cudacodec)

@ -190,7 +190,7 @@ namespace
switch (src.kind())
{
case _InputArray::GPU_MAT:
#ifdef HAVE_OPENCV_GPUIMGPROC
#ifdef HAVE_OPENCV_CUDAIMGPROC
cuda::cvtColor(src.getGpuMat(), dst.getGpuMatRef(), code, cn);
#else
CV_Error(cv::Error::StsNotImplemented, "The called functionality is disabled for current build or platform");

@ -69,8 +69,8 @@
# include "opencv2/cudafilters.hpp"
#endif
#ifdef HAVE_OPENCV_GPUIMGPROC
# include "opencv2/gpuimgproc.hpp"
#ifdef HAVE_OPENCV_CUDAIMGPROC
# include "opencv2/cudaimgproc.hpp"
#endif
#ifdef HAVE_OPENCV_GPUOPTFLOW

@ -52,8 +52,8 @@
#include "opencv2/videostab/motion_core.hpp"
#include "opencv2/videostab/outlier_rejection.hpp"
#ifdef HAVE_OPENCV_GPUIMGPROC
# include "opencv2/gpuimgproc.hpp"
#ifdef HAVE_OPENCV_CUDAIMGPROC
# include "opencv2/cudaimgproc.hpp"
#endif
namespace cv
@ -199,7 +199,7 @@ private:
std::vector<Point2f> pointsPrevGood_, pointsGood_;
};
#if defined(HAVE_OPENCV_GPUIMGPROC) && defined(HAVE_OPENCV_GPU) && defined(HAVE_OPENCV_GPUOPTFLOW)
#if defined(HAVE_OPENCV_CUDAIMGPROC) && defined(HAVE_OPENCV_GPU) && defined(HAVE_OPENCV_GPUOPTFLOW)
class CV_EXPORTS KeypointBasedMotionEstimatorGpu : public ImageMotionEstimatorBase
{
@ -230,7 +230,7 @@ private:
std::vector<uchar> rejectionStatus_;
};
#endif // defined(HAVE_OPENCV_GPUIMGPROC) && defined(HAVE_OPENCV_GPU) && defined(HAVE_OPENCV_GPUOPTFLOW)
#endif // defined(HAVE_OPENCV_CUDAIMGPROC) && defined(HAVE_OPENCV_GPU) && defined(HAVE_OPENCV_GPUOPTFLOW)
CV_EXPORTS Mat getMotion(int from, int to, const std::vector<Mat> &motions);

@ -737,7 +737,7 @@ Mat KeypointBasedMotionEstimator::estimate(const Mat &frame0, const Mat &frame1,
}
#if defined(HAVE_OPENCV_GPUIMGPROC) && defined(HAVE_OPENCV_GPU) && defined(HAVE_OPENCV_GPUOPTFLOW)
#if defined(HAVE_OPENCV_CUDAIMGPROC) && defined(HAVE_OPENCV_GPU) && defined(HAVE_OPENCV_GPUOPTFLOW)
KeypointBasedMotionEstimatorGpu::KeypointBasedMotionEstimatorGpu(Ptr<MotionEstimatorBase> estimator)
: ImageMotionEstimatorBase(estimator->motionModel()), motionEstimator_(estimator)
@ -812,7 +812,7 @@ Mat KeypointBasedMotionEstimatorGpu::estimate(const cuda::GpuMat &frame0, const
return motionEstimator_->estimate(hostPointsPrev_, hostPoints_, ok);
}
#endif // defined(HAVE_OPENCV_GPUIMGPROC) && defined(HAVE_OPENCV_GPU) && defined(HAVE_OPENCV_GPUOPTFLOW)
#endif // defined(HAVE_OPENCV_CUDAIMGPROC) && defined(HAVE_OPENCV_GPU) && defined(HAVE_OPENCV_GPUOPTFLOW)
Mat getMotion(int from, int to, const std::vector<Mat> &motions)

@ -19,8 +19,8 @@ if(BUILD_EXAMPLES AND OCV_DEPENDENCIES_FOUND)
if(HAVE_opencv_gpuoptflow)
ocv_include_directories("${OpenCV_SOURCE_DIR}/modules/gpuoptflow/include")
endif()
if(HAVE_opencv_gpuimgproc)
ocv_include_directories("${OpenCV_SOURCE_DIR}/modules/gpuimgproc/include")
if(HAVE_opencv_cudaimgproc)
ocv_include_directories("${OpenCV_SOURCE_DIR}/modules/cudaimgproc/include")
endif()
if(HAVE_opencv_cudaarithm)
ocv_include_directories("${OpenCV_SOURCE_DIR}/modules/cudaarithm/include")

@ -216,7 +216,7 @@ public:
outlierRejector = tblor;
}
#if defined(HAVE_OPENCV_GPUIMGPROC) && defined(HAVE_OPENCV_GPU) && defined(HAVE_OPENCV_GPUOPTFLOW)
#if defined(HAVE_OPENCV_CUDAIMGPROC) && defined(HAVE_OPENCV_GPU) && defined(HAVE_OPENCV_GPUOPTFLOW)
if (gpu)
{
KeypointBasedMotionEstimatorGpu *kbest = new KeypointBasedMotionEstimatorGpu(est);
@ -257,7 +257,7 @@ public:
outlierRejector = tblor;
}
#if defined(HAVE_OPENCV_GPUIMGPROC) && defined(HAVE_OPENCV_GPU) && defined(HAVE_OPENCV_GPUOPTFLOW)
#if defined(HAVE_OPENCV_CUDAIMGPROC) && defined(HAVE_OPENCV_GPU) && defined(HAVE_OPENCV_GPUOPTFLOW)
if (gpu)
{
KeypointBasedMotionEstimatorGpu *kbest = new KeypointBasedMotionEstimatorGpu(est);

@ -2,7 +2,7 @@ SET(OPENCV_GPU_SAMPLES_REQUIRED_DEPS opencv_core opencv_flann opencv_imgproc ope
opencv_ml opencv_video opencv_objdetect opencv_features2d
opencv_calib3d opencv_legacy opencv_contrib opencv_gpu
opencv_nonfree opencv_softcascade opencv_superres
opencv_cudaarithm opencv_cudafilters opencv_cudawarping opencv_gpuimgproc
opencv_cudaarithm opencv_cudafilters opencv_cudawarping opencv_cudaimgproc
opencv_gpufeatures2d opencv_gpuoptflow opencv_gpubgsegm
opencv_cudastereo opencv_cudalegacy)

@ -2,7 +2,7 @@
#include "opencv2/core/opengl.hpp"
#include "opencv2/highgui/highgui.hpp"
#include "opencv2/gpuimgproc.hpp"
#include "opencv2/cudaimgproc.hpp"
using namespace std;
using namespace cv;

@ -11,7 +11,7 @@
#include "opencv2/highgui/highgui.hpp"
#include "opencv2/imgproc/imgproc.hpp"
#include "opencv2/gpu.hpp"
#include "opencv2/gpuimgproc.hpp"
#include "opencv2/cudaimgproc.hpp"
#include "opencv2/cudawarping.hpp"
using namespace std;

@ -5,7 +5,7 @@
#include "opencv2/core.hpp"
#include "opencv2/core/utility.hpp"
#include "opencv2/imgproc.hpp"
#include "opencv2/gpuimgproc.hpp"
#include "opencv2/cudaimgproc.hpp"
#include "opencv2/highgui.hpp"
#include "opencv2/contrib.hpp"

@ -5,7 +5,7 @@
#include <opencv2/core/utility.hpp>
#include "opencv2/highgui.hpp"
#include "opencv2/imgproc.hpp"
#include "opencv2/gpuimgproc.hpp"
#include "opencv2/cudaimgproc.hpp"
using namespace std;
using namespace cv;

@ -3,7 +3,7 @@
#include "opencv2/imgproc.hpp"
#include "opencv2/highgui.hpp"
#include "opencv2/cudafilters.hpp"
#include "opencv2/gpuimgproc.hpp"
#include "opencv2/cudaimgproc.hpp"
using namespace std;
using namespace cv;

@ -4,7 +4,7 @@
#include "opencv2/calib3d.hpp"
#include "opencv2/video.hpp"
#include "opencv2/gpu.hpp"
#include "opencv2/gpuimgproc.hpp"
#include "opencv2/cudaimgproc.hpp"
#include "opencv2/cudaarithm.hpp"
#include "opencv2/cudawarping.hpp"
#include "opencv2/gpufeatures2d.hpp"

@ -7,7 +7,7 @@
#include "opencv2/highgui.hpp"
#include "opencv2/video.hpp"
#include "opencv2/gpuoptflow.hpp"
#include "opencv2/gpuimgproc.hpp"
#include "opencv2/cudaimgproc.hpp"
using namespace std;
using namespace cv;

Loading…
Cancel
Save