GimpLensfun


0. Introduction
1. News
2. Download
3. Install
4. Usage
5. Supported Cameras/Lenses
6. Development
7. Contact

0. Introduction

GimpLensfun is a Gimp plugin to correct lens distortion using the lensfun library and database.

Move mouse over the example image to see the effect after lens correction.
This image has been taken using a Fuji F200EXR compact camera in wide angle position and the distortion is clearly visible at the curved horizon in the original shoot.




Screenshot from GIMP

goto menu/top


1. News

2012-02-02 Github
Sources are now avilable from a repository at github.com
https://github.com/seebk/GIMP-Lensfun
2011-11-10 GimpLensfun v0.2.1
Some minor changes and fixes for windows compatibility.
2011-09-20 GimpLensfun v0.2
For this release I did a lot of code cleanups and this will hopefully fix all the stability problems reported by so many users.
Apart from that:
2011-01-07 GimpLensfun v0.1.1
Some bugfixes:
2010-12-03 GimpLensfun v0.1 released!
This is the first beta release

goto menu/top


2. Download

Linux

gimplensfun-0.2.1.tar.gz (66 kB)

This package includes sources and binaries for 32/64 bit linux systems.

Windows

Since release 0.2.1 there is a Windows installer available. It copies GimpLensfun including the Lensfun library and database to your GIMP folder. Afterwards it registers these files in the GIMP uninstaller so it will be automatically removed when you remove GIMP. There is no seperate uninstall for GimpLensfun.

gimplensfun-0.2.1-setup.exe (1.9 MB)

Windows version is known to require an up to date GIMP with minimum version 2.6.10.

Sources

Sources are available from github: https://github.com/seebk/GIMP-Lensfun

goto menu/top


3. Install

Unzip the archive:
>$ tar -xvzf gimplensfun-0.x.tar.gz
Binaries can then be found under gimplensfun-0.x/bin/linux/. Select the corresponding architecture for your system (i386/amd64) and copy the binary file "gimplensfun" to your GIMP plugin folder. Normally you this located at "/home/USER/.gimp2.6/plug-ins/". You need to restart GIMP to detect the new plugin.

goto menu/top


4. Usage

You find the plugin under "Filters > Enhance > GimpLensfun".
It autodetects your camera, lens type and corresponding parameters from the EXIF information embedded in the image file. Please check if it matches the equipment you took the photo with. Otherwise distortion correction would not work as expected.

goto menu/top


5. Supported Cameras/Lenses

Wether your camera/lens combination is supported depends on the database that comes with the lensfun library installed on your computer. Lensfun usually reads the distortion parameters from xml files located under /usr/share/lensfun.

If your lens/camera combination is not part of the database it's no problem: Measuring the correction parameters is easy and can be done by yourself. Just follow this tutorial on the lensfun homepage.
Afterwards please email the lens profile to mail(at)sebastiankraft.net and I will add it to the database.

List with supported lenses

goto menu/top


6. Development

Compilation:

Dependencies:
- libgimp2.0
- libexiv2
- liblensfun

On (K)Ubuntu you can easily install the required libs by
>$ sudo apt-get install libgimp2.0-dev libexiv2-dev liblensfun-dev
Afterwards get the sources from github:
>$ git clone git://github.com/seebk/GIMP-Lensfun.git
Enter the directory and compile with "make":
>$ cd GIMP-Lensfun
>$ make
If all went fine copy the newly created binary file "gimplensfun" to your GIMP plugins folder. Normally you find this at "/home/USER/.gimp2.6/plug-ins/".

You need to restart GIMP to detect the new plugin.

goto menu/top


7. Contact

You can email me at mail (at) sebastiankraft.net

goto menu/top