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

2 visualizzazioni (ultimi 30 giorni)
I'm new to MATLAB and am trying to understand the strel operation.

Risposta accettata

Amith Kamath
Amith Kamath il 16 Gen 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.

Più risposte (1)

Jason Motl
Jason Motl il 16 Gen 2013
That makes sense. Thanks.

Community Treasure Hunt

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

Start Hunting!

Translated by