[Image-SIG] Use of FFT with PIL objects??

Jeff Nash jknash@llnl.gov
Wed, 19 Apr 2000 11:45:50 -0700


I'm intend to use PIL to view and manipulate images. My question is how to
use 2D FFT techniques on the image objects created by, e.g. im =
Image.open("imagefile.psd") ??

It would be very convenient to use the FFT routines implemented in the
Numeric package.  I expect I'd have to create a 2D 'array' object from
'im', unless by great good fortune the Numeric package is already familiar
with Image objects (unlikely I'd guess).  That suggests I'd need to extract
the data from the image object.

Any good suggestions on how to proceed here?  If anyone has a different way
to accomplish this I'd be very interested.

Thanks for your help.

Jeff Nash

Lawrence Livermore National Laboratory
jknash@llnl.gov