What are the advantages/disadvantages to using the ball compared to the disk structuring element?

 Accepted Answer

http://blogs.mathworks.com/steve/2006/10/23/nonflat-grayscale-dilation-and-erosion/ has some details about the non-flat structuring elements. In one line, flat strels have a common weight for each pixel in it, and non-flat strels are weighted. The 'ball' strel in particular has highest weight at the center, and tapers down uniformly towards the edges. As to which one is better, I suppose it is application specific.

Categories

Find more on Images in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!