Interoperability with OpenCV GpuMat

Jun 2, 2016 at 11:24 PM
I am investigating using C# with OpenCV for a GPU computer vision project. The OpenCV wrappers can be found here:

https://github.com/shimat/opencvsharp

I am looking at the GpuMat class, and it is possible to get the pointer to the raw data on the GPU after it has been downloaded. It should then be possible to execute a Cudafy kernel on this data, however I don't see how to pass the pointer to the "Launch" function so that is is usable as an array. What is the best way to handle this?