image fourier transform

Robert Kern rkern at ucsd.edu
Mon Feb 14 23:56:51 EST 2005


Johannes Ahl-mann wrote:
> hi,
> 
> i've been looking all around the net (google is my friend ;-) for a
> module to apply fourier transformations on images. the different ones in
> numerical python and scientific python seem all to be operating on
> sequences and therefore seem to be 1D fourier transform.

Huh? From the FFT module which comes with Numeric:

In [1]: import FFT

In [2]: FFT.fft2d?
Type:           function
Base Class:     <type 'function'>
String Form:    <function fft2d at 0x1444fb0>
Namespace:      Interactive
File:           /platlib/Numeric/FFT/FFT.py
Definition:     FFT.fft2d(a, s=None, axes=(-2, -1))
Docstring:
     fft2d(a, s=None, axes=(-2,-1))

     The 2d fft of a. This is really just fftnd with different default
     behavior.


-- 
Robert Kern
rkern at ucsd.edu

"In the fields of hell where the grass grows high
  Are the graves of dreams allowed to die."
   -- Richard Harter



More information about the Python-list mailing list