Is there an OpenCV equivalent function to OpenCL's clEnqueueAcquireGLObjects?

asked 2015-09-10 21:11:29 -0600

biaspoint gravatar image

There seems to be a method to convert OpenGL renderings (from the video buffer) to an OpenCL cl_mem (clEnqueueAcquireGLObjects). It is then also possible to transfer the cl_mem images to OpenCV UMats using

  cv::ocl::convertFromImage

Is there a shortcut for GL to CV direct?

I know OpenCV has the cv::ogl capability, however I have some complicated renderings with 2 different shaders (GLSL) being used, I haven't found too much discussion of cv::ogl and shaders.

Thanks!

edit retag flag offensive close merge delete