How access to UMat pixel by pixel without getMat?

asked 2016-05-17 23:04:06 -0500

Hi to everyone! I want to ask how I can access to UMat information pixel by pixel without using getMat. Thanks!

edit retag flag offensive close merge delete



you simply can't access data on theGPU directly.

berak gravatar imageberak ( 2016-05-18 01:44:01 -0500 )edit

Thanks Berak but What is the minimum data access offered by UMat? I mean , If i need read a pixel value in a iteration , I must convert the 'UMat' to a 'Mat' many times and this (I guess) produces many overhead. If I convert the 'UMat' to a 'Mat' before the iteration I won't use GPU and I will lose perfomance. That is my dilemma.

Anyway there is any guide to use UMat/GPU beyond the OpenCV's Doxygen Documentation?


MilevaMaric gravatar imageMilevaMaric ( 2016-05-19 14:59:48 -0500 )edit