[Insight-users] SignedDanielssonDistanceMap: squared distances inexact?

lynx.abraxas at freenet.de lynx.abraxas at freenet.de
Sun Jul 26 07:42:42 EDT 2009


Hello!


Using  the  SignedDanielssonDistanceMap and squared distances (signed short as
output) I wonder why a distance of 2 has the same grey value as  the  distance
1.
eg. input image (x white, space black):
|   |
| x |
|   |

The relative distance map I get looks like:
|111|
|1x1|
|111|

I'd expect:
|212|
|1x1|
|212|

Is  my  expactation wrong or is the SignedDanielssonDistanceMapImageFilter not
that accurate? Would flout as output and not squared distances exchage the  2s
by sqrt(2)?

Thanks for any hint or help
Lynx




More information about the Insight-users mailing list