mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 15:53:03 +04:00
move labeling routines from cuda to cudalegacy
This commit is contained in:
@@ -83,8 +83,8 @@
|
||||
# include "opencv2/cudafeatures2d.hpp"
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_OPENCV_CUDA
|
||||
# include "opencv2/cuda.hpp"
|
||||
#ifdef HAVE_OPENCV_CUDALEGACY
|
||||
# include "opencv2/cudalegacy.hpp"
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_OPENCV_XFEATURES2D
|
||||
|
||||
@@ -1321,7 +1321,7 @@ void GraphCutSeamFinder::find(const std::vector<UMat> &src, const std::vector<Po
|
||||
}
|
||||
|
||||
|
||||
#ifdef HAVE_OPENCV_CUDA
|
||||
#ifdef HAVE_OPENCV_CUDALEGACY
|
||||
void GraphCutSeamFinderGpu::find(const std::vector<UMat> &src, const std::vector<Point> &corners,
|
||||
std::vector<UMat> &masks)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user