[Insight-users] SimpleITK GrayscaleFillholeImageFilter for 3D image volume

Richard Beare richard.beare at gmail.com
Fri Nov 16 17:54:55 EST 2012


It is sometimes surprising how an obvious "hole" in a 2D slice isn't a
hole any more when considered in its original 3D context. You may be
in a scenario where the things you think are holes are connected to
the edge of the image in 3D.

On Sat, Nov 17, 2012 at 1:17 AM, Bradley Lowekamp
<blowekamp at mail.nih.gov> wrote:
> Hello Sebastian,
>
> Your description that "it does not work" seems lacking. It does not provide
> enough information for me to reproduce your problem. ITK has some tests with
> this filter which ensures that it would in 3D as does SimpleITK.
>
> A quick check seems like the results are OK to me:
>
> img = - sitk.GaussianSource()
> sitk.Show( img )
> sitk.Show( sitk.GrayscaleFillhole( img ) )
> sitk.Show( sitk.GrayscaleFillhole( img )-img )
>
>
> Brad
>
> On Nov 16, 2012, at 2:08 AM, Sebastian Widz <widz at infovision.pl> wrote:
>
> Hi,
>
> I am trying to apply GrayscaleFillholeImageFilter on a 3d volume set.
> It seems that it does not work.
>
> When I apply it on a single slice extracted from the volume it works fine.
> Is this a bug or this filter can only be applied on 2D images ?
>
> I am using SimpleITK 0.5.1 C# version on Windows 64bit
>
> Best Regards,
> Sebastian
> _____________________________________
> 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.php
>
> 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
>
>
>
> _____________________________________
> 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.php
>
> 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