Ask Your Question

vent_d_ame's profile - activity

2017-07-25 10:46:19 -0600 received badge  Popular Question (source)
2016-01-13 05:53:40 -0600 received badge  Student (source)
2013-05-28 07:57:26 -0600 asked a question Interfacing OpenCV and Cuda

I wish to interface OpenCV with Cuda. By this, I mean:

  • given a T* pointer on a GPU memory block allocated with cudaMalloc, how create an OpenCV GpuMat using this allocation (without copy, and later losing my block when the GpuMat object is destroyed).
  • given a GpuMat object, how to get the associated device pointer usable by cuda (seems from a previous answer that the ptr<> method can do this).

Thanks for your help.

Note: cuda5 is now able to compile the gpumat.hpp header.