[Insight-users] LabelOverlayImageFilter - specific color map
Gaëtan Lehmann
gaetan.lehmann at jouy.inra.fr
Tue Apr 21 04:06:10 EDT 2009
Le 21 avr. 09 à 05:32, Martin Kavec a écrit :
> Hi,
>
> I was playing the past few days with LabelOverlayImageFilter.
>
> I think it could be a nice extension of the filter if it would allow
> application of a user defined color map. There is already a
> mechanism to
> AddColor(r,g,b) to the LabelToRGBFunctor, which is used by the overlay
> filter, so the only think to implement is erasing m_Colors vector
> and add the
> missing interface(s) for adding a color.
Hi Martin,
Would it be possible for you to provide a patch?
I would be pleased to review it, and commit it in ITK cvs.
Also, have you looked at Nick's contribution http://insight-journal.org/browse/publication/285
?
The colors are not associated to a specific pixel value, but maybe it
would be ok for you?
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.mandriva.org
http://www.itk.org http://www.clavier-dvorak.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: Ceci est une signature ?lectronique PGP
URL: <http://www.itk.org/pipermail/insight-users/attachments/20090421/ecd77f14/attachment.pgp>
More information about the Insight-users
mailing list