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

조회 수: 3 (최근 30일)
I'm new to MATLAB and am trying to understand the strel operation.

채택된 답변

Amith Kamath
Amith Kamath 2013년 1월 16일
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.

추가 답변 (1개)

Jason Motl
Jason Motl 2013년 1월 16일
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