GPU imdilate of 3D volume

5 vues (au cours des 30 derniers jours)
Stijn De Schepper
Stijn De Schepper le 23 Juil 2018
Commenté : Paul CHao le 2 Fév 2023
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 commentaire
Matt J
Matt J le 23 Juil 2018
Modifié(e) : Matt J le 23 Juil 2018
Is G binary? What are the typical dimensions of se_c? Of G?

Connectez-vous pour commenter.

Réponse acceptée

Joss Knight
Joss Knight le 23 Juil 2018
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 commentaires
Stijn De Schepper
Stijn De Schepper le 24 Juil 2018
No need to say sorry. I was genuinly grateful for your response. I would have liked for the function to exist already, but now I know it's not available yet I can at least stop looking. Thanks!
Paul CHao
Paul CHao le 2 Fév 2023
Found this thread, is this feature implemented now?

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur GPU Computing dans Help Center et File Exchange

Produits


Version

R2017b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by