Clear Filters
Clear Filters

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

5 views (last 30 days)
when I try to check the function imdilate(), I get error "Function imdilate cannot perform dilate a binary image with a nonflat structuring element.

Answers (1)

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

Tags

Community Treasure Hunt

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

Start Hunting!