[Insight-users] DanielssonDistanceMapImageFilter not working with unsigned short as imput?

Gaëtan Lehmann gaetan.lehmann at jouy.inra.fr
Sun Aug 9 17:46:15 EDT 2009


Le 9 août 09 à 22:51, lynx.abraxas at freenet.de a écrit :

> Hello!
>
>
> Having  modified  my  filter  chain  to  use   
> DanielssonDistanceMapImageFilter
> instead of the signed version the distance map is only black (even  
> after grey-
> scaling) although the test imput is the same as in the singed version.
> It  only  works  if I use unsinged char instead of unsigned short as  
> the imput
> type. Is this a bug?

Can't say for this one...

> How does DanielssonDistanceMapImageFilter set the foreground? fg != 0?


yes. DanielssonDistanceMapImageFilter works on labeled images. The  
labels are used to build the voronoi map.

Regards,

Gaëtan


-- 
Gaëtan Lehmann
Biologie du Développement et de la Reproduction
INRA de Jouy-en-Josas (France)
tel: +33 1 34 65 29 66    fax: 01 34 65 29 09
http://voxel.jouy.inra.fr  http://www.itk.org
http://www.mandriva.org  http://www.bepo.fr

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 203 bytes
Desc: Ceci est une signature ?lectronique PGP
URL: <http://www.itk.org/pipermail/insight-users/attachments/20090809/635aeab0/attachment.pgp>


More information about the Insight-users mailing list