Roberto Ballerini - traveling Published on November 23, 2007
by Roberto Ballerini - travelingpro

Roberto Ballerini - traveling's blog

Browse posts
[INTERVIEWS] Seelview
Posted on November 29, 2007
7 comments (latest 23 months ago)
[INTERVIEWS] mad.melon
Posted on November 28, 2007
21 comments (latest 23 months ago)
[BIRTHDAY CARD] A collective Happy Birthday [EDIT]
Posted on November 27, 2007
23 comments (latest 23 months ago)
[IPERNITY NEWS] New format for viewing streams
Posted on November 25, 2007
12 comments (latest 23 months ago)
[GIMP] Color enhancement using LAB color mode
20 comments (latest 22 months ago)
[INTERVIEWS] Manganite
Posted on November 21, 2007
6 comments (latest 23 months ago)
[IPERNITY NEWS] 1.000.000 uploads
Posted on November 20, 2007
6 comments (latest 2 years ago)
[INTERVIEWS] Ying
Posted on November 17, 2007
4 comments (latest 2 years ago)
[IPERNITY NEWS] Thanks Team Ipernity: you're great
Posted on November 16, 2007
8 comments (latest 23 months ago)

Keyword tags

gimp
tutorial
color enhancement

Member tags

hervé

More information

This post is public
All rights reserved
  1. 2 people added it to their favorites
  2. Read 4 993 times

[GIMP] Color enhancement using LAB color mode

Friday November 23, 2007 at 03:29PM

Something I learned after reading this fine tutorial for Photoshop by Erwan. I tried to repeat it with the open source The GIMP and that's what I learned.

This tutorial is written following the GIMP 2.4 menus. You can adapt it easily for different configurations.

First of all, if your version of GIMP is in a different language and you want to use GIMP in English to follow this tutorial more easily, here is what you can do, from the GIMP site:

Linux

 

In LINUX: in console mode, type LANGUAGE=en gimp or LANG=en gimp replacing en by fr, de, ... according to the language you want. Background: By using LANGUAGE=en you're setting an environment variable for the executed program gimp here.

Windows XP

Control PanelSystemAdvancedEnvironment button in “System Variables” area: Add button: Enter LANG for Name and en for Value. Watch out! You have to click on three successive OK to validate your choice.

If you often change language, you can create a batch file. Open NotePad. Type the following commands :


set lang=en
cd c:\Program Files\GIMP-2.0\bin (alter the dir if different)
GIMP-2.4.exe

Save this file as GIMP-EN.BAT (or another name, but always with a .BAT extension. Create shortcut and drag it to your desktop.

Windows ME

Start/Programs/ Accessories/System Tools/System Informations/Tools/System Configuration Utility/"Environment" tab/"New" button: Enter LANG for Name and en for Value.

Windows 95/Windows 98

Under Window 95 and Windows 98, add the line set lang=en in the “C:\autoexec.bat” file.

Apple Mac OS X

Go to System Preferences, click on the International icon, and in the Language tab, the desired language should be the first in the list.

____________________________________

 

 

 

Now the step of the procedure:

  1. open your file
  2. change to LAB mode: menu Colors --> Components --> Decompose; in the dialog choose LAB in the Color mode drop-down and tick the Decompose to layers [OK]
  3. the LAB decomposed image opens in a new window; open the Layers dialog: menu Dialogs --> Layers
  4. (optional) select the L layer and apply an Unsharp mask: menu Filters --> Enhance --> Unsharp mask (as a first attempt choose radius=5, amount 0.5 and threshold=1)
  5. (optional) select the L layer and apply a mild S-curve: menu Colors --> Curves and draw a mildly S shaped curve (or press Load and apply a preset curve: you can download good curves for Gimp/Photoshop here: http://fotogenetic.dearingfilm.com/downloads.html).
  6. (optional) select the A layer and duplicate it (menu Layer --> Duplicate layer), select the L layer and change its mode to Overlay from the drop-down in the Layers dialog) and merge down (menu Layer --> Merge down)
  7. select the A layer and duplicate it (menu Layer --> Duplicate layer), select the A copy #1 layer and change its mode to Overlay from the drop-down in the Layers dialog) and merge down (menu Layer --> Merge down)
  8. select the B layer and duplicate it (menu Layer --> Duplicate layer), select the B copy layer and change its mode to Overlay from the drop-down in the Layers dialog) and merge down (menu Layer --> Merge down)
  9. recompose the color components: menu Colors --> Components --> Compose and in the dialog choose LAB color mode and verify that there is the right correspondence between layers and components
  10. a new image window opens; now you can play with it or you can cut it, paste it in the original image as a new layer and mix the two using the Opacity slider in the Layers dialog after selecting the upper layer

This is a simple and straightforward application of the LAB color mode, but you can play with the optional steps and their parameters and with the opacity of the duplicated overlayed layers.

Googling around you can find lots of others applications (I will study them and report), from grayscaling to selective sharpening.

 

20 Comments / add your comment?

Roberto Ballerini - travelingpro says:
Example shots:

pre:
"IMG 2882" by Roberto Ballerini [?]
IMG 2882 by Roberto Ballerini

post (step 6 excluded):
"2882 color enhanced" by Roberto Ballerini [?]
2882 color enhanced by Roberto Ballerini

--
Coming from robertoballerini blog (?)
Posted 2 years ago. ( permalink )
alboe says:
Thanks a lot for translating this to Gimp. I'll give it a try. :)
Posted 2 years ago. ( permalink )
Nils Pickertpro says:
Hi Roberto,

can you add a link to this in the Open Source Photography group? This looks like a nice trick :-)

--
Seen in a user home page (?)
Posted 2 years ago. ( permalink )
Roberto Ballerini - travelingpro replies:
Posted 2 years ago. ( permalink / translate )
Spectacles says:
Thank you for this tranlation, Roberto. Just a side note concerning Gimp under Windows XP: After starting it with the "english" batch file, my version of The Gimp (2.4.1) crashed when launching the compose plugin.
This bug seems to have been fixed in the most recent version (2.4.2), since after an update the problem did not occur anymore.
Posted 2 years ago. ( permalink )
Roberto Ballerini - travelingpro replies:
Thank you for pointing out, Wolfgang: I only tested it under Ubuntu Linux and Gimp 2.4.0rc3

--
Seen in my account recent activity (?)
Posted 2 years ago. ( permalink )
Paprikaplains says:
Thanks for the tutorial, Roberto! Some weeks ago I found a report about using LAB mode in a german print magazine. Unfortunately the compose step did not work correctly (Gimp 2.2.something/XP), so I gave up on it. I will give it another try...

--
Seen in paprikaplains home page (?)
Posted 2 years ago. ( permalink )
Roberto Ballerini - travelingpro replies:
I think the unintuitive step is that you have to compose in LAB mode, not in RGB... the compose mode is about what you're composing and not about what you are obtaining

--
Seen in my account recent activity (?)
Posted 2 years ago. ( permalink )
Dirkpro replies:
2.2.x is outdated - Give 2.4.3 a chance :)

--
Seen in a group discussion (?)
Posted 23 months ago. ( permalink / translate )
Paprikaplains replies:
Currently I have 2.4.2 installed, will upgrade ASAP...

--
Seen in my account recent activity (?)
Posted 23 months ago. ( permalink )
Roberto Ballerini - travelingpro replies:
I use the 2.4.x on Ubuntu, and the Portable 2.2.x on Windows.
I'm still translating lots of scripts for the new Tiny Script-Fu interpreter...

--
Seen in my account recent activity (?)
Posted 23 months ago. ( permalink )
ypell says:
Thank you very much Roberto for this tutorial. I will be looking forward to the followup.
Posted 2 years ago. ( permalink )
kurtsikpro says:
Thanks for the translation Roberto :)
Posted 23 months ago. ( permalink )
Scab... Ange & Démon... ♀pro says:
heu .. y a pas une version en français de gimp ?
Posted 22 months ago. ( permalink / translate )
Roberto Ballerini - travelingpro replies:
tu voudrais la traduction en français de cet article ou tu voudrais Gimp en français (tu le trouves sur gimp.org)?

--
Seen in my account recent activity (?)
Posted 22 months ago. ( permalink / translate )
Scab... Ange & Démon... ♀pro replies:
je voudrais gimp en français ;) ah ok merci Roberto :))
Posted 22 months ago. ( permalink )
Roberto Ballerini - travelingpro replies:
Gimp prends automatiquement la langue de Windows; si tu veux la changer, tu dois utiliser la methode que j'ai ecrit au debut; si ça demarre automatiquement en employant une langue differente, tu dois utiliser lang=fr avec celle methode là.

--
Seen in my account recent activity (?)
Posted 22 months ago. ( permalink / translate )
Scab... Ange & Démon... ♀pro replies:
ok, ça merche en français, merci !!
par contre tu peux me dire si c'est normal que j'ai une autre fenetre qui s'ouvre pour la photo ?
Posted 22 months ago. ( permalink / translate )
Roberto Ballerini - travelingpro replies:
oui. tu peux combiner toutes les autres fenetres, mais la fenetre de la photo est toujours separée.
Tu peut trouver des scripts pour Gimp sur registry.gimp.org et sur gimpfx-foundry.sourceforge.net

--
Seen in my account recent activity (?)
Posted 22 months ago. ( permalink / translate )
Scab... Ange & Démon... ♀pro replies:
ah , d'accord, merci beaucoup Roberto :))
Posted 22 months ago. ( permalink / translate )

Add your comment

Reply to this comment

Edit your comment

Please sign in to post a comment Sign in now?


rss Latest comments – Subscribe to the feed of comments related to this post.

 

Català | Čeština nové | 中文 | Deutsch | English | Español | Esperanto | Ελληνικά | Français | Galego | Italiano | Nederlands | Português | More...