Elementwise Trig Operations with a cv::UMat?

asked 2015-07-22 14:07:57 -0500

I need to take the element wise sin and cos of some 2d data.

Something like:

cv::UMat image,image_sin;

Normally, I would just grab the underlying pointer and iterate over the elements. On the other hand, I am trying to use the same code for CPU and GPU processing.

Should I file a bug report/feature request?

edit retag flag offensive close merge delete