A simple plug-in to do fourier transform on you image. The major advantage of this plugin is to be able to work with the transformed image inside GIMP. You can so draw or apply filters in fourier space, and get the modified image with an inverse FFT.
| Attachment | Size |
|---|---|
| 525.5 KB | |
| 7.05 KB |
Comments
Builds for me under OS X with
Builds for me under OS X with a little effort. I don't use a Macports build and don't have the GIMP source handy so I used some GIMP headers from the Debian package libgimp2.0-dev, unpacked in ../libgimp/usr/include/gimp-2.0/. I think GIMP has to be running while you do this to make some paths work (there might be a better way).
g++ -O2 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I../libgimp/usr/include/gimp-2.0/ -L/opt/local/lib -L/tmp/skl/Gimp.app/Contents/Resources/lib -lfftw3 -lgimp-2.0 -lgimpcolor-2.0 -lglib-2.0 -o fourier fourier.c
Then copy the 'fourier' binary to the GIMP plug-ins directory.
Despite the need to mess around, I prefer this over the GMIC plug-in because my main need for it is descreening and the Descreen plugin ( http://registry.gimp.org/node/24411 ) is quicker and easier than manually FFTing -> tweaking -> inverting FFT.
Pages