Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

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

Asked by Jason Motl on 16 Jan 2013

I'm new to MATLAB and am trying to understand the strel operation.

0 Comments

Jason Motl

Products

No products are associated with this question.

2 Answers

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

0 Comments

Amith Kamath
Answer by Jason Motl on 16 Jan 2013

That makes sense. Thanks.

0 Comments

Jason Motl

Contact us