[Insight-users] removing label objects based on several statistics

Gaëtan Lehmann gaetan.lehmann at jouy.inra.fr
Wed Jan 12 07:55:17 EST 2011


Le 11 janv. 11 à 09:13, Conrad Bielski a écrit :

> Happy New Year Insight Users! All the best in 2011!
>
> I would like to remove statistics labels (StatisticsLabelObject)  
> based on testing of a few attributes computed for each object. I  
> have not been able to find an example for this and I'm having  
> trouble figuring out how to access the attributes themselves when  
> applying for example StatisticsOpeningLabelMapFilter on multiple  
> attributes.
>

Hi Conrad,

You have to create one StatisticsOpeningLabelMapFilter for each  
selection you want to make.
Each selection use a single attribute and keep or reject the object by  
comparing the attribute value to a value you have chosen.

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/20110112/e7500a5c/attachment.pgp>


More information about the Insight-users mailing list