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

2 views (last 30 days)
I'm new to MATLAB and am trying to understand the strel operation.

Accepted Answer

Amith Kamath
Amith Kamath on 16 Jan 2013
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.

More Answers (1)

Jason Motl
Jason Motl on 16 Jan 2013
That makes sense. Thanks.

Community Treasure Hunt

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

Start Hunting!