-->
Home » » Selective Colorization using The GIMP.
Friday
3 May 2013

Selective Colorization using The GIMP.


In this tutorial I will explain how to convert a color photograph to a B&W one with color restored to selective areas. With the right subject this can give really striking results, as you can see for yourself. This technique is elsewhere referred to sometimes as “hand coloring”


The basic technique is to duplicate the color photograph, convert the duplicate to B&W, and paste it as a new layer on top of the color image. Add an opaque layer mask and then selectively paint transparency into the upper mask, exposing the color photograph underneath.

Giving credit where credit is due: I did not come up with this method. I adapted it for The GIMP from a reader comment I saw in a “hand-coloring” tutorial on photo.net (great web site by the way, I recommend it).
The Procedure.

Here is the original example image, loaded into The GIMP.

Duplicate the image (Ctrl+D).By whatever method suits you best, convert the duplicate image to B&W. Once you have gotten the B&W version that you like, change it back to RGB mode (Image/Mode/RGB).
In this example, I tried the channel mixer, but ended up in this case preferring a simple conversion to grayscale (Image/Mode/Grayscale), then back to RGB.

Open the Layers dialog (Ctrl+L). Make sure that the original color image is selected in the Image drop down box. Click on the new layer button at the bottom of the dialog.Here I’ve named the new layer “B&W”
Make sure the new layer is selected in the layers dialog.



Go to the B&W image and select all, then copy (Ctrl+A then Ctrl+C). Then go to the color image window and paste (Ctrl+V). The B&W image should be pasted into that layer, obscuring the color image.Click the anchor button in the Layers dialog to anchor the pasted image.
You can close the B&W image window you just copied from now, if you want.


In the Layers dialog, right-click on the B&W layer and select “Add Layer Mask”. In the Add Mask Options dialog, select White (Full Opacity).


Make sure that Black is selected as the foreground color in the toolbox. We’re going to paint transparency into the layer mask to reveal the color image below.Bring up the Brushes dialog (Dialogs/Brushes) and select a big brush. In the toolbox, select the paint tool (). Begin painting the interior of the parts you want to be in color.



When you get to the edges of the colored part, zoom in to make life easier.

At the very boundaries of the colored image I typically zoom in to 300% or so. Switch to a small, feathered brush and very carefully paint the edges.If you only paint a little at a time it makes it much easier to use the GIMP’s excellent undo feature if you accidentally stray outside the boundary. If for some reason you can’t undo, don’t worry: just switch to white paint and paint opacity back over your mistake to repair the mask.


When your all done, go over the colored part carefully to see if there are any gray (opaque) specks that you missed. Then zoom out and have a look. Voila!
Tips
  • For this kind of fine paint work, a pen tablet like this Wacom one is very useful. For photo retouching you don’t need any bigger than a 4×5 model.
  • In this example I restored the original color from the color image, but there is no reason that you couldn’t paint other colors onto the second layer. Just make sure that the image is selected and not the layer mask in the upper layer of the Layers dialog (click on either the image icon or the mask icon to select the one you want to work on).
  • Try blurring the lower color layer, or running one of the interesting “artistic” filters on it (pastels, oil painting, etc). You probably want to do this before you create the B&W copy.
  • Try combining this technique with simulated film grain, sepia toning or other techniques on this site, as shown in the third example below.
Other Examples.



Custom Search
 
If you liked this article, subscribe to the feed by clicking the image below to keep informed about new contents of the blog:

0 commenti:

Post a Comment

Random Posts

  • Gaming with Linux
    03.06.2009 - 0 Comments
    There are literally hundreds of games that run in Linux.Freely distributed games include popular card games, Gaming with X Window board games, strategy games, and first person shooters. The list of commercial games that will run in Linux has also…
  • 30 Coolest and Funniest Tux Icons
    20.11.2009 - 1 Comments
    Tux is the world famous and endearing symbol of Linux. I don’t know any other software mascot that is so loved and venerated other than Tux. There are plenty of reasons for this phenomenon, but I won’t try to enumerate it here. Perhaps seeing my…
  • Audio burn and libaudioburn, command-line audio cd burning application written in C.
    11.03.2008 - 0 Comments
    A command-line audio cd burning application written in C. It uses libaudioburn (also written in C) for all of the real work. audio_burn uses cdrecord internally. The advantage of audio_burn is that you can mix and match audio file types and get a…
  • Wmii is a small, dynamic window manager for X11.
    27.02.2011 - 0 Comments
    wmii is a small, dynamic window manager for X11. It is scriptable, has a 9p filesystem interface and supports classic and tiling (acme-like) window management. It aims to maintain a small and clean (read hackable and beautiful) codebase. Links. …
  • Decibel Audio Player is a real audio player and does not include features that are not meant to be part of an audio player.
    11.03.2012 - 0 Comments
    Decibel Audio Player is a recent entry into the already crowded realm of music players for Linux. A quick glance at GnomeFiles.org shows there are already close to 90 music players listed. Does the world really need another? Probably not, but that…
  • Visopsys (VISual OPerating SYStem) is an alternative operating system and the source code is available under the terms of the GNU General Public License.
    17.04.2011 - 0 Comments
    Visopsys (VISual OPerating SYStem) is an alternative operating system for PC-compatible computers, written "from scratch", and developed primarily by a single hobbyist programmer since late 1997. Visopsys is free software and the source code is…
  • Install Amarok 2.2 Sunjammer in Ubuntu 9.04 Jaunty Jackalope in 3 easy-to-do steps
    08.10.2009 - 0 Comments
    Amarok 2.2 codenamed sunjammer is released. This all new release comes with a lot of improvements and bug fixes. Amarok 2.2, like they have quoted on their blog , is the next step towards the ultimate music player! Let's hope that they will…
  • Guides and tutorials for Manjaro: Using Multiple Kernels.
    16.06.2022 - 2 Comments
    The Linux kernel is the core of a Linux operating system. It acts as an interface between your computer's hardware and the applications that run on it. Manjaro not only supports the use of multiple kernels (selectable from the boot screen), but…
  • Tribal Trouble is a real-time strategy video game for Linux.
    01.02.2012 - 0 Comments
    Tribal Trouble is a real-time strategy video game for Linux. The game pits natives of tropical islands against invading Vikings. The game was developed by independent studio Oddlabs, and has won several awards, including four top 5 positions in…
  • GNOME Commander is a "two-pane" graphical file manager for the GNOME desktop environment
    01.07.2012 - 0 Comments
    GNOME Commander aims to fulfill the demands of more advanced users who like to focus on file management, their work through special applications and running smart commands. Features.     GTK-2 GUI with standard mouse interactions. …

Recent Posts

Recent Posts Widget

Popular Posts

Labels

Archive

page counter follow us in feedly
 
Copyright © 2014 Linuxlandit & The Conqueror Penguin
-->