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

3 ビュー (過去 30 日間)
Jason Motl
Jason Motl 2013 年 1 月 16 日
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.

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by