Hello all,
I am using OpenCV 2.4.9 with Cuda support on Funtoo Linux (installed via Portage).
While compiling a project made with a former version of OpenCV, the compiler tells me
error: ‘Canny’ is not a member of ‘cv::gpu’
AFAIK this means the compiler couldn't find the relevant function. It then tells me I might want to use cv::Canny instead.
I see that in OpenCV 3, cv::gpu:: will be moved to cv::cuda::. However, I'm using 2.4.9, so I assume that's not related. I read the online documentation, and I can see Canny in cv::gpu::, so I'm not sure what's wrong here: http://docs.opencv.org/modules/gpu/doc/image_processing.html?highlight=gpu%20canny#gpu-canny
How can I use the Cuda GPGPU version of the Canny filter in OpenCV?
I'm going to use the CPU version cv::Canny instead, since it seems I can't use cv::gpu::Canny. Does this one automagically use CUDA if available?
Best regards.