The Khronos Group - a non-profit industry consortium to develop, publish and promote open standard, royalty-free media authoring and acceleration standards for desktop and handheld devices, combined with conformance qualification programs for platform and device interoperability.

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

OpenCL module for OpenCV

Hi,
We've developed a OpenCL module for OpenCV and have submitted as a branch of opencv code base:http://code.opencv.org/svn/opencv/branches/ocl
We'd developers of image processing can be benefit from this piece of work. The basic idea of this module is similar to OpenCV's gpu module, but enable none CUDA GPUs to run OpenCV functions. We also feel happy if OpenCL programers learn technics from our kernels when using it.

This version of OpenCV is based on OpenCV2.31. Please copy the FindOpenCL.cmake to you CMake's share folder so that it can find your OpenCL path. And this module is only tested on AMD's GPU, but i think that's enough.

Re: OpenCL module for OpenCV

I would like to first thanks bitwangyaoyao due to sharing this code. OpenCV is definitely needing OpenCL support and any effort like this is undoubtedly welcome!

I have just started messing around with bitwangyaoyao's OpenCV-OpenCL svn branch and since I have not found any sample code, I decided to give a try at Horego's code.

I wasn't expecting this, but the code just worked fine without any kind of modification. I have tested with 2 images (Teddy/img2 and Teddy/img6 from http://cat.middlebury.edu/stereo/newdata.html). No pre-processing on the images was done.

Re: OpenCL module for OpenCV

Thanks vlab & Horego's trying. As it is still under developement, some bugs need fix. But it's growing fast recently, and the code now is moved with OpenCV repository to Git. (git://code.opencv.org/opencv.git)
For the StereoBM, i'm afraid there still have some problem to make it running. But most of other functions are working. We'll try to fix the problems and add a sample about Stereo.