[Insight-users] Fast marching to calculate distance map

Kevin H. Hobbs hobbsk at ohiou.edu
Wed Dec 30 05:38:17 EST 2009


On 12/29/2009 04:45 PM, siqi chen wrote:
> Hi, Kevin,
>
> Thanks for your reply. However, I still can't get it to work. Here is
> my simple code, where I want to calculate the distance map to point
> [50,50]. I write the output of the FastMarching filter to .vtk file
> and open it in Paraview.

That output looks fine to me.

You may have to rescale the colors in ParaView to go from 0.0 to 10.0 to
match your start and stopping values. Or you could remove the stopping
value as I've done.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: CMakeLists.txt
URL: <http://www.itk.org/pipermail/insight-users/attachments/20091230/124c3afc/attachment-0001.txt>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: FMDistMap.cxx
Type: text/x-c++src
Size: 1413 bytes
Desc: not available
URL: <http://www.itk.org/pipermail/insight-users/attachments/20091230/124c3afc/attachment-0001.cxx>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: FMDistMap.png
Type: image/png
Size: 19061 bytes
Desc: not available
URL: <http://www.itk.org/pipermail/insight-users/attachments/20091230/124c3afc/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
URL: <http://www.itk.org/pipermail/insight-users/attachments/20091230/124c3afc/attachment-0001.pgp>


More information about the Insight-users mailing list