diff --git a/modules/cudaimgproc/src/histogram.cpp b/modules/cudaimgproc/src/histogram.cpp index 9652bed00b..87e5f556eb 100644 --- a/modules/cudaimgproc/src/histogram.cpp +++ b/modules/cudaimgproc/src/histogram.cpp @@ -64,6 +64,8 @@ void cv::cuda::histRange(InputArray, GpuMat*, const GpuMat*, Stream&) { throw_no #else /* !defined (HAVE_CUDA) */ +#include + //////////////////////////////////////////////////////////////////////// // calcHist @@ -163,6 +165,16 @@ namespace void collectGarbage(); + void setBitShift(int) override + { + CV_LOG_WARNING(NULL, "CUDA implementation of CLAHE algorithm does not support bit shift option"); + }; + int getBitShift() const override + { + CV_LOG_WARNING(NULL, "CUDA implementation of CLAHE algorithm does not support bit shift option"); + return 0; + } + private: double clipLimit_; int tilesX_;