"OpenCV Error: The function/feature is not implemented (The called functionality is disabled for current build or platform) in throw_no_cuda

I am using : Visual Studio2017 (v 15) and OpenCV 3.4.0 and Cuda toolkit 9.1

When I use “labelComponents” in my project then occur a problem :

“OpenCV Error: The function/feature is not implemented (The called functionality is disabled for current build or platform) in throw_no_cuda, file C:\OpenCV 3.4.0\opencv-3.4.0\modules\core\include\opencv2/core/private.cuda.hpp, line 111”

How I can solve this problem ?

Hi, joe.afshany

Sorry that I have little knowledge about OpenCV.
Suggest to move the topic to CUDA Programming session.

Thanks!

Thanks a lot for your response

Hi Joe,
Check out this link for a nice explanation why it is not supported any more:
https://answers.opencv.org/question/187243/opencv-error-the-functionfeature-is-not-implemented/