[英]OpenCV 4.3.0 compute integral image on GPU>
So I found the function to compute the GPU integral image here .所以我在这里找到了 function 来计算 GPU 积分图像。
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).我需要的函数是
gpu::integral
和gpu::sqrIntegral
(如果有一个 function 计算它的时间积分图像和平方积分图像最好)。
However, in OpenCV 4.3.0, I cannot find these functions at all.但是,在 OpenCV 4.3.0 中,我根本找不到这些功能。 I can only find the CPU version here .
我只能在这里找到 CPU 版本。 Where have the GPU version been moved to?
GPU版本移到哪里了?
I found cv::gpu::integral
in the namespace cv::cuda
.我在命名空间
cv::cuda
中找到了cv::gpu::integral
。 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. OpenCV 2和4之间有很多变化。希望您也参考使用OpenCL加速且易于学习的
UMat
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.