[Insight-users] Fast marching to calculate distance map

siqi chen siqichensc at gmail.com
Tue Dec 29 15:10:24 EST 2009


Hi, ITKers,

I have a simple question regarding how to use FastMarchingImageFilter to
calculate distance map.

If I have a pointset P with integer coordinates, and I want to calculate a
distance map to P. What should I pass to FastMarchingImageFilter?

What I did is:
1. pass P to AlivePoints with value 0.0,
2. pass all the 4 neighbors of P to TrialPoints with value 1.0
3. set the speedconstant to 1.0
4. set the outputregion, size, origin, ....

Am I missing something?

Thank you very much
Siqi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20091229/a5228afa/attachment.htm>


More information about the Insight-users mailing list