[Insight-users] Re: Signed distance map
Luis Ibanez
luis.ibanez at kitware.com
Mon, 05 Jan 2004 13:12:02 -0500
Hi Lucas,
You are right, the DanielssonDistanceMap generates a
non-signed distatnce.
For computing a signed distance you may use the
ReinitializeLevelSetImageFilter
http://www.itk.org/Insight/Doxygen/html/classitk_1_1ReinitializeLevelSetImageFilter.html
OR...
You could use two Danielsson distance map filters.
One taking as input the mask of your object, and a
the other taking as input the negation of the mask.
Then combining the outputs of the two Danielsson
distance map image filters.
Regards,
Luis
-------------------------
Lucas Lorenzo wrote:
> Hi Luis,
>
> I have a set of binary images and I need to generate a signed distance
> map from them. As far as I understand the
> itk::DanielssonDistanceMapImageFilter generates a distance map which
> is not signed. Is there any other filter I could use for this purpose ?
> Thanks in advance,
>
> Lucas Lorenzo
>
> University of Utah
> Nora Eccles Harrison CardioVascular Research and Training Institute
> Fellows Room
> 95 South 2000 East
> Salt Lake City, UT 84112-5000
>
>