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

3 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.

Categories

Find more on Read, Write, and Modify Image in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!