[Insight-users] SignedDanielssonDistanceMapImageFilter

chensiqi pidanchen at hotmail.com
Tue Dec 9 22:24:40 EST 2008


 
Hi, ITKers
 
I got two questions regarding SignedDanielssonDistanceMapImageFilter.
 
1. The result I have is not "signed", both the inside and outside distance values are negative.  The input is only a binary image with boundary points at 0, and all other points at 1.  I was wondering how I was wondering how SignedDanielssonDistanceMapImageFilter  determine the region of inside and outside.
 
2. In Examples of SignedDanielssonDistanceMapImageFilter. cxx,  I notice that the OutputImageType of filter is unsigned short, which I don't quite understand.  The output should contains both negative and positive distance, why use "unsigned" here?
 
Thanks
Siqi
_________________________________________________________________
微软地图率先推出跨城市多点驾车路线查询!
http://ditu.live.com/?form=MRAHAB&rtp=pos.30.454167_116.308611_%E5%A4%AA%E6%B9%96__~pos.29.554046_115.983427_%E5%BA%90%E5%B1%B1__~pos.29.116111_110.478889_%E5%BC%A0%E5%AE%B6%E7%95%8C__&rtop=0~0~0&encType=1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20081210/62a19cab/attachment.htm>


More information about the Insight-users mailing list