Reputation: 472
So I found the function to compute the GPU integral image here.
The functions I need are gpu::integral
and gpu::sqrIntegral
(if there's a function that compute both the integral image and squared integral image at the same time, it would be best).
However, in OpenCV 4.3.0, I cannot find these functions at all. I can only find the CPU version here . Where have the GPU version been moved to?
Upvotes: 0
Views: 455
Reputation: 1764
I found cv::gpu::integral
in the namespace cv::cuda
. There're many changed between OpenCV 2 and 4. I hope that you also refer to UMat
which accelerates using OpenCL and easy to learn.
Upvotes: 1