Handle Mat image in GPU

asked 2020-03-20 10:21:08 -0500

NL37 gravatar image


Actually, I have Mat image (6004 * 7920).

I need to use GPU. I have to sum 5 images, and calculate the average. Because of the size of the images, the CPU is not efficient.

There is no way to sum Mat image with opencv in cuda (I didn't find in the documentation).

I capture image from Gige Camera. I Stock the image in Mat matrix (CV_8UC1). The average will be CV_16FC1. I am looking for a way to send those 5 images to the GPU. Do you have a tips, to handle Mat image in __global__ function ? I didn't find anything.

Thant you for your help !

edit retag flag offensive close merge delete