mirror of
https://github.com/opencv/opencv.git
synced 2025-01-18 06:03:15 +08:00
renamed gpubgsegm -> cudabgsegm
This commit is contained in:
parent
259ceb7eaa
commit
29386f1449
9
modules/cudabgsegm/CMakeLists.txt
Normal file
9
modules/cudabgsegm/CMakeLists.txt
Normal file
@ -0,0 +1,9 @@
|
||||
if(ANDROID OR IOS)
|
||||
ocv_module_disable(cudabgsegm)
|
||||
endif()
|
||||
|
||||
set(the_description "CUDA-accelerated Background Segmentation")
|
||||
|
||||
ocv_warnings_disable(CMAKE_CXX_FLAGS /wd4127 /wd4324 /wd4512 -Wundef -Wmissing-declarations)
|
||||
|
||||
ocv_define_module(cudabgsegm opencv_video OPTIONAL opencv_legacy opencv_imgproc opencv_cudaarithm opencv_cudafilters opencv_cudaimgproc)
|
@ -40,11 +40,11 @@
|
||||
//
|
||||
//M*/
|
||||
|
||||
#ifndef __OPENCV_GPUBGSEGM_HPP__
|
||||
#define __OPENCV_GPUBGSEGM_HPP__
|
||||
#ifndef __OPENCV_CUDABGSEGM_HPP__
|
||||
#define __OPENCV_CUDABGSEGM_HPP__
|
||||
|
||||
#ifndef __cplusplus
|
||||
# error gpubgsegm.hpp header must be compiled as C++
|
||||
# error cudabgsegm.hpp header must be compiled as C++
|
||||
#endif
|
||||
|
||||
#include "opencv2/core/cuda.hpp"
|
||||
@ -149,4 +149,4 @@ CV_EXPORTS Ptr<cuda::BackgroundSubtractorFGD>
|
||||
|
||||
}} // namespace cv { namespace cuda {
|
||||
|
||||
#endif /* __OPENCV_GPUBGSEGM_HPP__ */
|
||||
#endif /* __OPENCV_CUDABGSEGM_HPP__ */
|
@ -44,4 +44,4 @@
|
||||
|
||||
using namespace perf;
|
||||
|
||||
CV_PERF_TEST_CUDA_MAIN(gpubgsegm)
|
||||
CV_PERF_TEST_CUDA_MAIN(cudabgsegm)
|
@ -54,7 +54,7 @@
|
||||
#include "opencv2/ts.hpp"
|
||||
#include "opencv2/ts/gpu_perf.hpp"
|
||||
|
||||
#include "opencv2/gpubgsegm.hpp"
|
||||
#include "opencv2/cudabgsegm.hpp"
|
||||
#include "opencv2/video.hpp"
|
||||
|
||||
#include "opencv2/opencv_modules.hpp"
|
@ -45,7 +45,7 @@
|
||||
|
||||
#include <limits>
|
||||
|
||||
#include "opencv2/gpubgsegm.hpp"
|
||||
#include "opencv2/cudabgsegm.hpp"
|
||||
|
||||
#include "opencv2/core/private.cuda.hpp"
|
||||
|
@ -56,7 +56,7 @@
|
||||
#include "opencv2/ts.hpp"
|
||||
#include "opencv2/ts/gpu_test.hpp"
|
||||
|
||||
#include "opencv2/gpubgsegm.hpp"
|
||||
#include "opencv2/cudabgsegm.hpp"
|
||||
#include "opencv2/video.hpp"
|
||||
|
||||
#include "opencv2/opencv_modules.hpp"
|
@ -1,9 +0,0 @@
|
||||
if(ANDROID OR IOS)
|
||||
ocv_module_disable(gpubgsegm)
|
||||
endif()
|
||||
|
||||
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_cudaimgproc)
|
@ -3,7 +3,7 @@ SET(OPENCV_GPU_SAMPLES_REQUIRED_DEPS opencv_core opencv_flann opencv_imgproc ope
|
||||
opencv_calib3d opencv_legacy opencv_contrib opencv_gpu
|
||||
opencv_nonfree opencv_softcascade opencv_superres
|
||||
opencv_cudaarithm opencv_cudafilters opencv_cudawarping opencv_cudaimgproc
|
||||
opencv_cudafeatures2d opencv_cudaoptflow opencv_gpubgsegm
|
||||
opencv_cudafeatures2d opencv_cudaoptflow opencv_cudabgsegm
|
||||
opencv_cudastereo opencv_cudalegacy)
|
||||
|
||||
ocv_check_dependencies(${OPENCV_GPU_SAMPLES_REQUIRED_DEPS})
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
#include "opencv2/core.hpp"
|
||||
#include "opencv2/core/utility.hpp"
|
||||
#include "opencv2/gpubgsegm.hpp"
|
||||
#include "opencv2/cudabgsegm.hpp"
|
||||
#include "opencv2/video.hpp"
|
||||
#include "opencv2/highgui.hpp"
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
#include "opencv2/cudafeatures2d.hpp"
|
||||
#include "opencv2/cudafilters.hpp"
|
||||
#include "opencv2/cudaoptflow.hpp"
|
||||
#include "opencv2/gpubgsegm.hpp"
|
||||
#include "opencv2/cudabgsegm.hpp"
|
||||
|
||||
#include "opencv2/legacy.hpp"
|
||||
#include "performance.h"
|
||||
|
Loading…
Reference in New Issue
Block a user