[Insight-users] LabelObject and list<> as LabelType ?
Gaëtan Lehmann
gaetan.lehmann at jouy.inra.fr
Tue Apr 26 03:23:10 EDT 2011
Le 21 avr. 11 à 22:51, Arnaud GELAS a écrit :
> Hi,
>
> I would like to make a label map where each label objects has a
> container of ids.
> Labels have different size, is for each object it is not known a
> priori.
>
> What would you recommend as LabelType for each LabelObject?
>
> Is std::list< T > the most appropriate choice? or should I use an
> itk class for this label?
Hi Arnaud,
Sorry for the late reply.
The LabelType should always be an integer. If you want associate a
list as attribute, you can use the AttributeLabelObject class: this
class takes an extra template parameter used as the attribute type.
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/20110426/a5f67c98/attachment.pgp>
More information about the Insight-users
mailing list