First time here? Check out the FAQ!
answered 2013-12-01 03:35:15 -0600
You can't iterate GpuMat data in host code. GpuMat data is stored in GPU memory and can be accessed only from GPU code. If you want to fill GpuMat you must:
GpuMat
Mat
upload
OR