Two simple plugins :

  • Fourier : do direct and reverse fourier transform on your image
  • YUV : convert RGB images to YUV

Select the plugin you want in the tabs below.

Fourier Plugin

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.

source imageimage in fourier spacetransformed image

 

Download

Plugin source code (Linux and Win32) (v0.4.3, under GPL license)
Binaries for Windows (v0.4.3) : 32bits or 64bits tested OK for GIMP 2.10.24. Please check also GitHub page for new builds
Your Linux distribution may have packaged it : for Fedora

Older versions

Windows 0.4.3 for GIMP 2.8 : 32bits or 64bits
Windows 0.4.3 for GIMP 2.10 : aljacom version for GIMP 2.10

Source v0.3.3 ; Win32 Binaries v0.3.0 + FFTW3 DLL.

GIMP Registry Page was http://registry.gimp.org/node/19596.

 

Installation

For use under Linux, follow the usual steps :

  1. Install the required libraries : sudo apt-get install libfftw3-dev libgimp2.0-dev
  2. tar xvzf fourier-0.4.*.tar.gz
  3. cd fourier-0.4.*
  4. make clean
  5. make
  6. make install

For use under Windows, get the binary plugin (and the FFTW3 DLL with versions before 3.2), and copy them to the plugins directory (.gimp-2.2plug-ins or C:Program FilesGIMP-2.2libgimp2.0plug-ins).

To know how to compile under win32, please read this post to compile GIMP plugins with msys

Use

You will find two more items in the menu :

  • Filters/Generic/Foward FFT
  • Filters/Generic/Inverse FFT

More documentation

There is not much documentation for now, but use should be very straight forward. As this plugin was developped for educationnal purpose, documentation about principles used is available in the french report. Note this report is not up to date : the “magic pixel” was replaced by a GIMP parasite, and column order has changed.

Special Thanks to Mogens Kjaer and Alex Fernández for their patches.

History

For older versions, you can go to the old page.

 v0.1.1 : First release of this plugin
 v0.1.2 : BugFixes by Mogens Kjaer, May 5, 2002 
 v0.1.3 : Converted to Gimp 2.0 (dirty conversion)
 v0.2.0 : Many improvements from Mogens Kjaer, Mar 16, 2005
              * Moved to gimp-2.2
              * Handles RGB and grayscale images
              * Scale factors stored as parasite information
              * Columns are swapped
 v0.3.0 : Great Improvement from Alex Fernández with dynamic boosting :
              * Dynamic boosted normalization : 
                    fft/inverse loss of quality is now un-noticeable 
              * Removed the need of parasite information
 v0.3.1 : Zero initialize padding (patch provided by Rene Rebe)
 v0.3.2 : GPL distribution
 v0.4.0 : Patch by Edgar Bonet :
             * Reordered the data in a more natural way
             * No Fourier coefficient is lost
 v0.4.1 : Select Gray after transform + doc (patch by Martin Ramshaw)
 v0.4.2 : Makefile patch by Bob Barry (gcc argument order)
 v0.4.3 : Makefile patch by bluedxca93 (-lm argument for ubuntu 13.04)

 

YUV GIMP Plugin

A simple plug-in to convert RGB images to YUV in GIMP. This means that after having applied the filter, you will get luminance (Y) in the red channel (R), and chrominances in green and blue channel. By using the decompose plugin, or the channel dialog, you will be able to work in YUV space, and be back in RGB space by the reverse plugin. In fact, combined to the fourier plugin, you should be able to demonstratete a simple JPEG compression on the whole image.

source imageimage in YUV spaceimage back in RGB

Download / Installation

Plugin source code (Linux and Win32) (v0.1.3)
Binaries for Windows: 32bits or 64bits for GIMP 2.10.24 (v0.1.1 for very old GIMP).
Please also check the GitHub page for newer releases.

For use under Linux, follow the usual steps :

  • Install the required libraries : sudo apt-get install libgimp2.0-dev
  • tar xvzf yuv-0.1.3.tar.gz
  • cd yuv-0.1.3
  • make
  • make install

For use under Windows, get the binary plugin and copy it to the plugins directory (\.gimp-2.2\plug-ins or C:\Program Files\GIMP-2.2\libgimp2.0\plug-ins). To know how to compile under win32, please read this post to compile GIMP plugins with msys

Use

You will find two more items in the menu :

  • Image / Mode / RGB -> YUV
  • Image / Mode / YUV -> RGB

More documentation

There is not much documentation for now, but use should be very straight forward. As this plugin was developped for educationnal purpose, documentation about principles used is available in the french report.

For older versions, you can go to the old page.