[Insight-users] Question about SignedMaurerDistanceMapImageFilter

anna han wan anna.han.wan at gmail.com
Thu Apr 26 09:02:21 EDT 2012


Thanks Brad for your relpy. But I dont have any problem with my contours
thay are connected and close and I dont want to fill the inside as I want
to have negative distance in this region.
Anna

On Thu, Apr 26, 2012 at 1:50 PM, Bradley Lowekamp <blowekamp at mail.nih.gov>wrote:

> Have you looked at filling the wholes caused by you contours with an
> algorithm such as BinaryFillholeImageFilter or a RegionGrowing methods?
> This hopefully will make the image compliant with the expected input to the
> signed distance function.
>
> Brad
>
>
>   On Apr 26, 2012, at 8:13 AM, anna han wan wrote:
>
>  Hi
>
> I am using SignedMaurerDistanceMapImageFilter to compute the distance map
> of my 3D images in which I have shapes like empty spheres and cubes(only
> the contour).
>
> My question is similar to the question asked in
> http://www.itk.org/pipermail/insight-users/2007-September/023496.html.
>
> I want to have negative distance values inside the sphere and positive
> outside the sphere knowing that I don’t want to fill in my contour.
>
> Is there any way to do that?
>
> Also what’s the role of function setInsideIsPositive ? can you give me
> more explanation that the one provided  in the class number definition?
>
> I believe this toggles when the inside is positive, and the outside
> negative and visa versa.
>
>  Thanks
>
> Anna.
> _____________________________________
> 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
>
>
>  ========================================================
>
> Bradley Lowekamp
>
> Medical Science and Computing for
>
> Office of High Performance Computing and Communications
>
> National Library of Medicine
>
> blowekamp at mail.nih.gov
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20120426/3554bf6f/attachment.htm>


More information about the Insight-users mailing list