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 Exchange에서 GPU 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