[Insight-users] Fast marching to calculate distance map
Kevin H. Hobbs
hobbsk at ohiou.edu
Tue Dec 29 16:25:29 EST 2009
On 12/29/2009 03:10 PM, siqi chen wrote:
> 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?
>
1. pass P to TrialPoints with value 0.0
2. set the speedconstant to 1.0
3. set the outputregion, size, origin, ....
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
URL: <http://www.itk.org/pipermail/insight-users/attachments/20091229/551e0cc0/attachment.pgp>
More information about the Insight-users
mailing list