[Insight-users] Calculating statitics on an image, without considering the 0 valued pixels

Sergio Vera sergio.vera at alma3d.com
Thu Jun 9 12:07:49 EDT 2011


I think that can be done using a binary mask of all the nonzero pixels and
this other filter:
http://www.itk.org/Doxygen320/html/classitk_1_1BinaryImageToStatisticsLabelMapFilter.html#_details
(Review
section of ITK)

Regards

On Thu, Jun 9, 2011 at 5:58 PM, Cory Quammen <cquammen at cs.unc.edu> wrote:

> Hi Luca,
>
> You could file this as a feature request in the ITK issue tracker:
> http://public.kitware.com/Bug/
>
> It is similar to this issue:
> http://public.kitware.com/Bug/view.php?id=11149
>
> Cory
>
> On Thu, Jun 9, 2011 at 1:40 PM, Luca Penasa <luca.penasa at gmail.com> wrote:
> > Is there any chance to compute mean value of an image excluding from
> > calculation the pixels that assume a given value? (zero in my case).
> >
> >
> > Thank you
> >
> >
> > --
> > ---------------------------
> > Luca Penasa
> > Student at Geosciences Dpt.
> > University of Padua (IT)
> > luca.penasa at email.it
> > ---------------------------
> >
> > _____________________________________
> > Powered by www.kitware.com
> >
> > Visit other Kitware open-source projects at
> > http://www.kitware.com/opensource/opensource.html
> >
> > Kitware offers ITK Training Courses, for more information visit:
> > http://www.kitware.com/products/protraining.html
> >
> > Please keep messages on-topic and check the ITK FAQ at:
> > http://www.itk.org/Wiki/ITK_FAQ
> >
> > Follow this link to subscribe/unsubscribe:
> > http://www.itk.org/mailman/listinfo/insight-users
> >
>
>
>
> --
> Cory Quammen
> Computer Integrated Systems for Microscopy and Manipulation (CISMM)
> Department of Computer Science
> University of North Carolina at Chapel Hill
> http://www.cs.unc.edu/~cquammen
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>



-- 
Sergio Vera

 Alma IT Systems
 C/ Vilana, 4B, 4º 1ª
 08022 Barcelona
 T. (+34) 932 380 592
 www.alma3d.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20110609/8c4896aa/attachment.htm>


More information about the Insight-users mailing list