[Insight-users] Summing over Voxels

Vikash Gupta vikash.gupta at inria.fr
Fri Feb 17 12:21:20 EST 2012


Ok I will try that 

Thanks
Vikash

----- Original Message -----
> From: "Julien Lamy" <lamy at unistra.fr>
> To: insight-users at itk.org
> Sent: Friday, February 17, 2012 6:20:12 PM
> Subject: Re: [Insight-users] Summing over Voxels
> Le 17/02/2012 15:36, Vikash Gupta a écrit :
> > Hello All,
> > I was wondering, if there is any function in ITK, which will sum all
> > the
> > values in the voxels in a region.
> 
> StatisticsImageFilter computes the sum (and more). According to the
> documentation, it's multi-threaded, so it should be fast enough.
> 
> > If I iterate over the region, it is
> > very time consuming.
> 
> I agree with John Drescher : iteration using ITK iterators is pretty
> efficient. Unless your data does not fit entirely in RAM, there
> shouldn't be performance issues.
> 
> --
> Julien
> _____________________________________
> 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


More information about the Insight-users mailing list