cv::gpu:: Loop on Pixels
Hello,
How to make a loop on each pixels of the images; in the GPU, on a cv::gpu::GpuMat ?
Thank you, cjacquel
Hello,
How to make a loop on each pixels of the images; in the GPU, on a cv::gpu::GpuMat ?
Thank you, cjacquel
no, you can't access pixels on the gpu (same for GpuMat or UMat) , only on the cpu.
either: find out, if there's something doing what you want in the gpu api already, and use that (chances are high, that you only missed it !)
or: download it from the gpu, do your processing, upload again (expensive)
Asked: 2018-03-05 07:20:04 -0600
Seen: 336 times
Last updated: Mar 05 '18