MathMap is the GIMP Plug-In used to mathematically transform images. It is particularly useful with panoramas. The following is a quick recipe to a working MathMap installation. It is for Ubuntu 9.04, but you can easily adapt it to any recent system. Start a terminal window and hack on the keyboard. No more skills required than basic reading and typing, promised!
GIMP
To install GIMP in Ubuntu 9.04 is as simple as
sudo apt-get install gimp
However we need a recent version (>2.6.0) of GIMP, so if an older version is included in your distribution (e.g. 8.04 LTS), you’ll need to build GIMP from source. The following worked on my 8.04 LTS:
sudo apt-get build-dep gimp mkdir src cd src wget ftp://ftp.gimp.org/pub/babl/0.0/babl-0.0.22.tar.bz2 tar -jxvf babl-0.0.22.tar.bz2 cd babl-0.0.22 ./configure make sudo make install sudo ldconfig cd .. cd src wget ftp://ftp.gimp.org/pub/gegl/0.0/gegl-0.0.22.tar.bz2 tar -jxvf gegl-0.0.22.tar.bz2 cd gegl-0.0.22 ./configure make sudo make install sudo ldconfig cd .. wget ftp://ftp.gimp.org/pub/gimp/stable/gimp-2.6.6.tar.bz2 tar -jxvf gimp-2.6.6.tar.bz2 cd gimp-2.6.6 ./configure make sudo make install sudo ldconfig
This should replace your current (older) GIMP with a standard GIMP 2.6.6. If you want to keep multiple versions of GIMP side by side, or if you have other special needs, or if the above instructions do not work, you may want to look here for configuration options.
MathMap
Now that we got GIMP working, it is time to get MathMap. Unfortunately it is not yet part of the Ubuntu distribution, so your computer will have to build it for you. Fortunately, it is a straightforward process. Just type:
sudo apt-get install clisp clisp-dev flex bison gsl-bin libgsl0-dev libgimp2.0-dev libgif-dev libjpeg62-dev libpng12-dev libgtksourceview-dev wget http://www.complang.tuwien.ac.at/schani/mathmap/files/mathmap-1.3.4.tar.gz tar xvf mathmap-1.3.4.tar.gz cd mathmap-1.3.4/ make sudo make install
You may have to edit the Makefile before executing make. I did not have to do that in Ubuntu.
You’re set. Have fun MathMapping! There is a whole flick group dedicated to it.

If you’re on OS X it’s even easier, no GIMP required, just go to http://www.13thfloor.at/old/MathMap/ and download a MathMap-port with GUI :)
[...] droste, gimp, mathmap, quincuncial A few weeks back, Yuv posted a how-to on MathMap, a Gimp plugin that allows distortion of images specified in a simple [...]