help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Thinning algorithm


From: Søren Hauberg
Subject: Re: Thinning algorithm
Date: Mon, 03 Aug 2009 15:02:59 +0200

man, 03 08 2009 kl. 05:09 -0700, skrev AGD:
> Apparently Matlab has a command for the thinning proces. The format looks
> something like this:
> 
> BW2=bwmorph(BW,'remove');
> 
> where 'remove' is a function that eliminates the interior pixels; something
> similar to thinning. 
> However this format does not work in Octave even though there is a bwmorph
> command in the image package.

Did we forget to implement the 'remove' option (I don't have the code
right here, so I can't check)? You can just do something like (untested
code)

  interior = bwmorph (BW, 'erode');
  BW2 = BW - interior;

Søren



reply via email to

[Prev in Thread] Current Thread [Next in Thread]