[Insight-users] Python / ITK : Addition of two images

Vincent Page vpage at univ-ag.fr
Tue Apr 11 05:58:06 EDT 2006


Hi,

Looks like a silly problem :
I want to add two images.
Each one is the output of a filter.


I m pretty used to C programming, and
I suppose that a loop would make this right
(including the use of an iterator,
as it seems to be the usual way of doing this in itk)

However, I would like to know if there is a filter
to do this. If not, I would be glad to see some
clean code in order to avoid the kind of
crappy manipulations I am keen on writing !

best regards,
    Vincent.




More information about the Insight-users mailing list