[Insight-users] Gatens Label Object Representation and Manipulation

Gaëtan Lehmann gaetan.lehmann at jouy.inra.fr
Sun Feb 28 18:26:48 EST 2010


Le 28 févr. 10 à 23:56, Christian Werner a écrit :

> Yes, this RGBPixel Type makes sense... :)
>
> Unfortunately I am still fighting to get the  
> LabelMapToRGBImageFilter make its work. Now that I fiddled around  
> with this without success I tried the LabelMapToLabelImageFilter for  
> a change and voila: that worked with exactly the same style of code!  
> I am getting a labeled image with my objects painted in all shades  
> of grey. But when using the RGB labeling I get black void.
>
> I attached my code, maybe I am blind or still misunderstand  
> something, but I really don't know how to fix this.


I can't see anything wrong - have you tried to use several output  
image formats?

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/20100301/4e558035/attachment.pgp>


More information about the Insight-users mailing list