FFT package update

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
seanburke1979

FFT package update

Post by seanburke1979 »

Hello everyone. I'm sorry it has been so long since I updated the proposed FFT package. I have been studying for LSATs (I know, I know). Below are links for updated fft routines for IM.
> The full monty (90 MB):
ftp://depot.aecom.yu.edu/pub/Bo8x4IkfTz ... /imfft.tbz
> The lesser monty (12 MB - no documentation)
ftp://depot.aecom.yu.edu/pub/Bo8x4IkfTz ... no_doc.tbz

Fred has helped me develop a better demo - so here it is. You can build it from the trunk/ directory with <code>make demo</code>. The usage is pretty simple:
demo f my_file.png
(Performs a Fourier transform, outputs a tiff stack: R_magnitude, R_phase, G_mag, G_phase, B_mag, B_phase).
You can process the same stack after masking it, etc. with:
demo i my_file_F_Q16.tiff

Obviously, using the C functions is less restrictive, but this is an example of how to write code with the routines. As usual, post to the forum or email me directly with questions, comments.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: FFT package update

Post by magick »

See ftp://ftp.imagemagick.org/pub/ImageMagick/sandbox for the FFT routines and documentation. Also, see http://www.fmwconcepts.com/misc_tests/F ... index.html to see the results of running the FFT demos.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: FFT package update

Post by fmw42 »

You also need to first download and install the FFTW 3.1.2 delegate library.

http://www.fftw.org/download.html
Post Reply