Dear list,<br><br>I&#39;m trying to use itkFastMarchingImageFilter by following the examples in the ITK source tree. Instead of getting a time arrival image which is similar to a distance map in this case, I only got a binary image with 0 inside (a sphere) and 1.70141e+38 outside. I have tested my code on both 3.10 and 3.12 releases of ITK, and got the same results. Following is part of my code:<br>
<br>// &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; begin &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>   index[0] = index[1] = index[2] = 100;<br>   node.SetIndex( index );<br>   node.SetValue( 0 );<br>   points-&gt;InsertElement( 0, node );<br>
<br>   marcher-&gt;SetTrialPoints( points );<br>   marcher-&gt;SetSpeedConstant( 1.0 );<br>   marcher-&gt;SetStoppingValue( 100.0 );<br>   marcher-&gt;SetOutputSize( size );<br>   marcher-&gt;DebugOn();<br>   marcher-&gt;Update();<br>
   marcher-&gt;GetOutput()-&gt;SetOrigin( origin );<br>   marcher-&gt;GetOutput()-&gt;SetSpacing( spacing );<br><br>   volumeWriter-&gt;SetInput( marcher-&gt;GetOutput() );<br>   volumeWriter-&gt;SetFileName( &quot;volume.mha&quot; );<br>
   volumeWriter-&gt;Write();<br>// &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;<br><br>Anyone can give me some suggestion on that? Thanks!<br><br>Best regards,<br>DING Feng<br>