mirror of
https://github.com/opencv/opencv.git
synced 2026-09-15 07:29:07 -05:00
move labeling routines from cuda to cudalegacy
This commit is contained in:
@@ -5,4 +5,4 @@ if(HAVE_CUDA)
|
||||
endif()
|
||||
|
||||
ocv_define_module(stitching opencv_imgproc opencv_features2d opencv_calib3d opencv_objdetect
|
||||
OPTIONAL opencv_cuda opencv_cudaarithm opencv_cudafilters opencv_cudafeatures2d opencv_xfeatures2d)
|
||||
OPTIONAL opencv_cuda opencv_cudaarithm opencv_cudafilters opencv_cudafeatures2d opencv_cudalegacy opencv_xfeatures2d)
|
||||
|
||||
@@ -249,7 +249,7 @@ private:
|
||||
};
|
||||
|
||||
|
||||
#ifdef HAVE_OPENCV_CUDA
|
||||
#ifdef HAVE_OPENCV_CUDALEGACY
|
||||
class CV_EXPORTS GraphCutSeamFinderGpu : public GraphCutSeamFinderBase, public PairwiseSeamFinder
|
||||
{
|
||||
public:
|
||||
|
||||
@@ -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