Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

You can create a sub-mat of a GpuMat with the call to

cv::gpu::GpuMat::GpuMat(const GpuMat& m, Rect roi)

but to access its pixels you'll still have to download it to a Mat.

You can create a sub-mat of a GpuMat with the a call to

cv::gpu::GpuMat::GpuMat(const GpuMat& m, Rect roi)

but to access its pixels you'll still have to download it to a Mat.