ocl::cvtcolor Bayer to RGB supported in OpenCV 3.0?

asked 2014-09-28 18:47:28 -0500

Echo88 gravatar image

Hi, in OpenCV ocl::cvtcolor Bayer->RGB is not supported. Will it be supported in OpenCV 3.0 and if: does it already work in 3.0-Alpha?



edit retag flag offensive close merge delete



AFAIK using the master docs the function still only supports RGB2GRAY, that as far as the docs state. But looking at the tests for the color API on ocl, it seems there are way more tests, leading me into thinking there is indeed support for many more types but not for Bayer...

StevenPuttemans gravatar imageStevenPuttemans ( 2014-09-29 06:12:45 -0500 )edit

Thx for your answer, so i gotta use gpu::demosaicing via OpenCV 3.0 to do what i want. At the moment im using a AMD-GPU but for better performance i already thought about buying a faster Nvidia-GPU, although i wanted to support OpenCL instead of CUDA...

Echo88 gravatar imageEcho88 ( 2014-09-29 15:59:13 -0500 )edit

Just tested cv::cuda::demosaicing on my new nvidia-gpu, works like a charm :)

Echo88 gravatar imageEcho88 ( 2014-10-20 19:34:16 -0500 )edit