Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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

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!