This plugin provides a simple interface between GIMP and GNU Octave.
Means you can edit a picture from GIMP in the high level numerical language Octave:
Download elsamuko-gimp-octave.c and install it with:
$ gimptool-2.0 --install elsamuko-gimp-octave.c
or download elsamuko-gimp-octave.tar.gz and install it with:
$ tar -xzf elsamuko-gimp-octave.tar.gz
$ cd elsamuko-gimp-octave
The second one is also able to use OctaveEmbedded instead of the Linux system call, you have to change the
#define USE_OCTAVE_EMBEDDED FALSE
in the file elsamuko-gimp-octave.cpp at line 48 to TRUE before compiling with make. But since OctaveEmbedded is not reentrant safe yet, it is recommended to use the system call.
You will find it then under Filters -> Mathematics -> GIMP Octave.
The input/output matrices and the Octave script are stored in ~/.gimp-octave.
For more interesting examples, download and unzip the filter pack to ~/.gimp-octave.
The filter pack needs the octave-image package which should be available in your repository.
These are from here:
Søren Hauberg modified the plugin to a version with included terminal:
For example in this image the red layer has been FFT-shifted by Octave (needs 5-6 secs for a 1MP image):
Another example code (needs to be fitted to the GIMP color range):
Update1: Some IO fixes, OctaveEmbedded and possibility of using S/W images.
Update2: README added, some cleanup and a more general makefile in the tar packet. Default Octave script can do backup files optionally.
Update3: Some internal fixes && clean-up.
For all scripts together, go here: