How can I use the imdilate() with structuring element 'ball'?

5 次查看(过去 30 天)
when I try to check the function imdilate(), I get error "Function imdilate cannot perform dilate a binary image with a nonflat structuring element.

回答(1 个)

Image Analyst
Image Analyst 2017-11-28
Ball is a 3-D structuring element. If you want a round one, use disc instead.

标签

Community Treasure Hunt

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

Start Hunting!

Translated by