[Insight-users] StatisticsOnImage

Stefan Klein stefan at isi.uu.nl
Thu Jun 22 08:07:47 EDT 2006


Hi Gaetan,

Thanks for your reply. I missed the LabelStatisticsImageFilter. It does 
indeed exactly what I want!

I do not fully understand your first remark. Do you mean that using a 
spatial object as a mask is not
as efficient as using a label image? Or do you mean that filters shouldn't 
support masks in general, because it makes them slow, and, that actually 
you even would like to remove mask support for the 
ConnectedComponentImageFilter?

Regards,
Stefan.



>IMHO, the mask support should not be added to this class - the experience
>show that it is much difficult to implement more efficient algorithm with
>that feature, like for the ConnectedComponentImageFilter. Why not use
>LabelStatisticsImageFilter to do that job ?
>
>Gaetan
>
>
>
>--
>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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20060622/4b53d60c/attachment.htm


More information about the Insight-users mailing list