MATLAB Answers

0

opposite of bwmorph thicken

Asked by Rainer on 3 Jan 2014
Latest activity Commented on by Rainer on 3 Jan 2014
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.

  0 Comments

Sign in to comment.

1 Answer

Answer by Image Analyst
on 3 Jan 2014
 Accepted Answer

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 Comment

Rainer on 3 Jan 2014
Ah!! Thanks.

Sign in to comment.