[Insight-users] Image Arithmetic with Scalars

Andreas Keil andreas.keil at cs.tum.edu
Wed Apr 18 05:40:35 EDT 2007


Dear all,

how is it possible to do perform scalar operations with images, e.g.

  1 / 3 * myImage

The solution of filling an image with constant values and using
AddImageFilter etc. is of course not the way to go. Do I have to subclass
UnaryFunctorImageFilter or is there an easier way?

Thank you,
Andreas.



More information about the Insight-users mailing list