How do I dilate a 3d binary image with gpu?

I want to dilate a 3dmask with ones and zeros under gpu. Now I try imdilate(gpuArray('3dmask'),se)); where se is a sphere.
Best Regards, Martijn Kusters

1 件のコメント

Joss Knight
Joss Knight 2016 年 11 月 29 日
gpuArray('3dmask') will produce an error, you cannot have a gpuArray of characters. imdilate expects a numeric array for the first input, normally this would be a logical array (a mask) or an array of underlying class single.

サインインしてコメントする。

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeGPU Computing についてさらに検索

タグ

質問済み:

2016 年 11 月 28 日

コメント済み:

2016 年 11 月 29 日

Community Treasure Hunt

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

Start Hunting!

Translated by