[Insight-users] Mean of N images (Luis Roberto P. Paula)

Stefan Klein s.klein at erasmusmc.nl
Thu Oct 28 12:13:48 EDT 2010


Hi Luis,

The NaryAddImageFilter may be useful. The documentation speaks only 
about adding two images, but in fact you can add multiple images with 
it. In combination with a DivideByConstantImageFilter you are done.

Kind regards
Stefan


>     2. Mean of N images (Luis Roberto P. Paula)

Hi All,

Is there an appropriate class to calculate the mean of n images?

Will I have to accumulate the images first and then divide it by the 
scalar n?

Thanks & Regards,
Luis


More information about the Insight-users mailing list