[Insight-users] Morphology filters
Richard Beare
richard.beare at gmail.com
Wed Nov 3 19:40:18 EDT 2010
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.
On Thu, Nov 4, 2010 at 10:15 AM, David Doria <daviddoria at gmail.com> wrote:
> I am having trouble with the morphology filters. Take this example for
> instance:
>
> http://www.vtk.org/Wiki/ITK/Examples/Images/FlatStructuringElement
>
> With the attached Yinyang.png as input, it produces the attached erode.png.
> Shouldn't the eroded region be solid (as opposed to "grainy" as it is here)?
> This is happening for the FlatStructuringElement and the
> BinaryBallStructuringElement with both the erosion and dilation filters.
>
> Any thoughts?
>
> Thanks,
>
> David
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>
>
More information about the Insight-users
mailing list