Ask Your Question

Revision history [back]

Elementwise Trig Operations with a cv::UMat?

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

Something like:

cv::UMat image,image_sin;
cv::sin(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?