opposite of bwmorph thicken

3 ビュー (過去 30 日間)
Rainer
Rainer 2014 年 1 月 3 日
コメント済み: Rainer 2014 年 1 月 3 日
Hi All,
'thicken' in bwmorph adds pixels to the exterior of objects without changing the EULER number. Is there a way to do the opposite....i.e. take away pixels from the exterior of objects without changing the Euler number? 'erode' does not fulfil this requirement.

採用された回答

Image Analyst
Image Analyst 2014 年 1 月 3 日
Use the skel option of bwmorph: " With n = Inf, removes pixels on the boundaries of objects but does not allow objects to break apart. The pixels remaining make up the image skeleton. This option preserves the Euler number. " You can use n less than inf if you want.
  1 件のコメント
Rainer
Rainer 2014 年 1 月 3 日
Ah!! Thanks.

サインインしてコメントする。

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by