[Insight-users] Morphology filters
David Doria
daviddoria at gmail.com
Wed Nov 3 19:52:54 EDT 2010
On Wed, Nov 3, 2010 at 7:40 PM, Richard Beare <richard.beare at gmail.com>wrote:
> That image isn't a "pure" binary one (at least plotting profiles
> across the edge suggests that there are other values), so there is
> probably some antialiasing going on around the edges. You could verify
> this by thresholding.
>
> You could do a greyscale erosion instead - it should look more natural.
>
> At the moment the values that are close to 255 are being left
> untouched, leaving the speckle.
>
Ah, I see it now. I thought (assumed) it was actually a binary image.
Another case of "you know what happens when you assume...". Should the
filter report an error (or at least a warning) if the input image is not
binary?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20101103/4ccdc776/attachment.htm>
More information about the Insight-users
mailing list