[Image-SIG] Re: PIL & flat-field division

Fredrik Lundh fredrik@pythonware.com
Wed, 5 Feb 2003 11:34:45 +0100


Lila Chase wrote:

> How might I accomplish flat-field division with the current
> free version of PIL?

I guess you could use Image.point to invert the flat field, and
then use ImageChops.subtract and ImageChops.multiply.

however, it's probably easier (and more flexible) to move the
problem over to the numerical Python domain:

    http://effbot.org/zone/pil-numpy.htm

regards /F