GPU imdilate of 3D volume
5 次查看(过去 30 天)
显示 更早的评论
I am using imdilate very frequently in my code, so speeding up this process would give me a huge performace benefit. Therefore I am trying to run it on the GPU.
se_c = ((X).^2+(Y).^2+(Z).^2<1);
C = imdilate(gpuArray(uint8(G)),gpuArray(se_c));
The following error message is issued: Error using morphopInputParser (line 48) Expected structuring element to be 2-D.
Is there a way to perform an image dilation of a 3D volume by a 3D structuring element using the GPU?
1 个评论
采纳的回答
Joss Knight
2018-7-23
No, this isn't possible unless you wish to write your own implementation. You are not the first to request this feature, it has been noted, and thanks for giving your feedback.
4 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 GPU Computing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!