Hi, ITKers,<br><br>I have a simple question regarding how to use FastMarchingImageFilter to calculate distance map.<br><br>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?<br>
<br>What I did is:<br>1. pass P to AlivePoints with value 0.0, <br>2. pass all the 4 neighbors of P to TrialPoints with value 1.0<br>3. set the speedconstant to 1.0<br>4. set the outputregion, size, origin, ....<br><br>Am I missing something?<br>
<br>Thank you very much<br>Siqi<br>