[Insight-users] image - constant operations?

Richard Beare richard.beare at gmail.com
Wed Sep 28 03:17:57 EDT 2005


Hi,
I'm sure this is in the toolkit somewhere, but I haven't been able to
find it. How do you apply an operation with a literal to all pixels in
an image? My immediate need is to do 255 - image in order to run some
experiments. I've found the image/image filters, but constructing a
white image seems a bit round about.

Ideally I'd like to use this in a python script.

Thanks


More information about the Insight-users mailing list