Underwater imaging Script-Fu download page
GIMP 2.4 script-fu update
As any keen GIMP fan will probably know by now, GIMP 2.4 has finally been released!. Consequenly the script-fu's below will now only work with the older GIMP 2.2 versions. Some procedures have been deprecated, so I've updated the scripts for GIMP 2.4. These scripts can be found at the bottom of the page.
Correcting lighting imbalance and dark shadows
Contrast Mask | Method 1
This script-fu will add a contrast mask to your image along with hue and saturation layers from your original, this should correct the exposure of dark areas without overexposing bright areas.
When you run this script-fu it will come up with an option box for blur radius and opacity. The default blur radius is set to 20px, as a ball park figure set the blur radius to 1% of the average picture size. A blur radius calculator can be found on the contrast mask tutorial page.
The opacity default is 80%, this can be changed after the script-fu has run if necessary.
The full tutorial can be found at Contrast Mask tutorial.
Restoring reds back into blue/green underwater images
All these script-fu's will enhance the red that is lost on underwater photographs taken without a flash.
The opacity default on all is 50%, this can be changed after the script-fu has run. Increasing the percentage of opacity will increase the red enhancement.
Red Enhance | Method 1
This script-fu is based on the mandrake method for Photoshop. The one difference is setting the mode of the luminosity layer to value.
The full tutorial can be found at Red Enhance tutorial 1.
Red Enhance | Method 2
This script-fu is a GIMP version of the mandrake method for Photoshop. The main difference with this method is that the grey layer has a mode setting of colour and the screen layer isn't then merged to another copy of the original.
The full tutorial can be found at Red Enhance tutorial 2.
Resizing and sharpening images
A modified 25% scaling and unsharp mask script-fu for the gallery images on the site. All our images are high resolution and this reduces it by 50%, performs an unsharp mask , reduces to gallery size (524x393) and unsharp masks again.
The full tutorial can be found at Unsharp Mask tutorial.
GIMP 2.4 versions
A couple of procedures have been depreciated from the scripts above, which work with GIMP 2.2 versions. The following script-fu's have been modified to work with GIMP 2.4.
Contrast Mask | Method 1
Red Enhance | Method 1
Red Enhance | Method 2
Resizing and sharpening images
GNU General Public License
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.








