Improving digital images with the GNU Image Manipulation Program PHOTO FIX

Similar documents
PICTURE AS PAINT. Most magazine articles written. Creating a seamless, tileable texture in GIMP KNOW-HOW. Brightness. From Photo to Tile

Reading The Histogram

Color Correction and Enhancement

Turning Photograph Into Cartoon-Style Picture. Digital Media I West High School Susan M. Raymond

Painting Special Effects on Photographs

40 Digital Photo Retouching Techniques COPYRIGHTED MATERIAL

Learning Photo Retouching techniques the simple way

Maine Day in May. 54 Chapter 2: Painterly Techniques for Non-Painters

Extreme Makeovers: Photoshop Retouching Techniques

Retouching Portraits in Photoshop

Camera Exposure Modes

Topaz Labs DeNoise 3 Review By Dennis Goulet. The Problem

Adobe Photoshop. Levels

HISTOGRAMS. These notes are a basic introduction to using histograms to guide image capture and image processing.

Using Adobe Photoshop

Adobe Studio on Adobe Photoshop CS2 Enhance scientific and medical images. 2 Hide the original layer.

The Unsharp Mask. A region in which there are pixels of one color on one side and another color on another side is an edge.

The original image. The final effect. The Layers palette showing the original photo on the Background layer.

Digitizing Film Using the D850 and ES-2 Negative Digitizer

Kent Messamore 3/6/2010

Unit 7 : Image Painting, Editing and Layers

These aren t just cameras

EXTREME CONTRAST PHOTO EFFECT

Extending the Dynamic Range of Film

How to correct a contrast rejection. how to understand a histogram. Ver. 1.0 jetphoto.net

L I F E L O N G L E A R N I N G C O L L A B O R AT I V E - FA L L S N A P I X : P H O T O G R A P H Y

Advanced Photoshop Tutorial: RTVF Chairs

By Washan Najat Nawi

PROCESSING ERRORS and the DIGITAL FIX

Creating a Contrast Mask. Text and images Copyright (C) 2002 Eric R. Jeschke and may not be used without permission of the author.

High Dynamic Range Imaging

Adobe Lightroom CC Tutorial

How to combine images in Photoshop

Project 8: Nice Close-Up

Using Adobe Photoshop

Color and More. Color basics

Levels. What is a levels histogram? "Good" and "bad" histograms. Levels

Darkroom Effects. Solarization. Bleach Bypass

What is real? What is art?

GIMP More Improvements

Improve your photos and rescue old pictures

Challenge Image: Blur the Background

Adobe Photoshop PS2, Part 3

Photoshop Elements 3 More Improvements

In order to manage and correct color photos, you need to understand a few

Realistic Skin Smoothing

the RAW FILE CONVERTER EX powered by SILKYPIX

Adobe Photoshop Chapter 5 Study Questions /50 Total Points

Central Photography Photoshop Tutorial. Color Splash. 1. Open Photoshop. 2. Go to File>Open (Command O).

Easily Smooth And Soften Skin In A Photo With Photoshop

An Introduction to Histograms in Photography

mastering manual week one

This histogram represents the +½ stop exposure from the bracket illustrated on the first page.

The original image. Let s get started! The final rainbow effect. The photo sits on the Background layer in the Layers panel.

ADJUSTMENT LAYERS TUTORIAL

Camera Raw software is included as a plug-in with Adobe Photoshop and also adds some functions to Adobe Bridge.

High Dynamic Range (HDR) Photography in Photoshop CS2

Combine Black-and-White and Color

DIGITAL PHOTOGRAPHY CAMERA MANUAL

Select your Image in Bridge. Make sure you are opening the RAW version of your image file!

ADOBE PHOTOSHOP CS TUTORIAL

ADDING RAIN TO A PHOTO

Stretching Your Photons

Inverted Colors Photo Effect With Photoshop

Rendering a perspective drawing using Adobe Photoshop

Photoshop Elements Hints by Steve Miller

CAMERA BASICS. Stops of light

Troop 61 Self-Teaching Guide to Photography Merit Badge

PHOTOSHOP INVERTED COLORS PHOTO EFFECT

Photoshop Elements 3 Brightness and Contrast

Rubbing your Nikon RAW file the Right Way

Photoshop Elements 3 Filters

Teach Yourself Adobe Photoshop Topic 9: Photo Retouching Part 2

The Layer Blend Modes drop-down box in the top left corner of the Layers palette.

Aperture. The lens opening that allows more, or less light onto the sensor formed by a diaphragm inside the actual lens.

CHAPTER 7 - HISTOGRAMS

MY ASTROPHOTOGRAPHY WORKFLOW Scott J. Davis June 21, 2012

HIGH DYNAMIC RANGE IMAGING Nancy Clements Beasley, March 22, 2011

Using Adobe Photoshop to enhance the image quality. Assistant course web site:

Add Photoshop Masks and Adjustments to RAW Images

Black and White Photoshop Conversion Techniques

Failure is a crucial part of the creative process. Authentic success arrives only after we have mastered failing better. George Bernard Shaw

Exploring Photoshop Tutorial

SHAW ACADEMY NOTES. Ultimate Photography Program

How to create beautiful B&W images with Adobe Photoshop Elements 12

How to Make Instagram Filters in Photoshop: Earlybird

Basic Digital Dark Room

METAL TEXT EFFECT. Step 1: Create A New Document. Step 2: Fill The Background With Black

Sun City Summerlin Computer Club Seminar Introduction to Image Editing With GIMP Tom Burt February 23, 2017

Your objective: maximum control, maximum manageability

B&W Photos from Colour:

Take Control of Your Camera

Recovering highlight detail in over exposed NEF images

Photography Help Sheets

Web Graphics Chapter 7 Review

METERING FOR A BETTER PHOTOGRAPH

How To Add Falling Snow

Pacific New Media David Ulrich

Using Adobe Photoshop

Photo Effects & Corrections with PhotoFiltre

Transcription:

Improving digital images with the GNU Image Manipulation Program PHOTO FIX is great for fixing digital images. We ll show you how to correct washed-out or underexposed images and white balance. BY GAURAV NAWANI Regardless of the advancements in photography, we still make some mistakes, and it is nice to be able to correct them in our photographs later. Thankfully, Linux users can harness the power of the. The, or GNU Image Manipulation Program, is freely distributed software that allows you to retouch photos and much more. This article explains how to use the to correct colors and touch up your photo images. The has a few corrective filters (Layers Colors Auto), which you can can use to apply automatic corrective alogrithms on your images. Unfortunately, the results of these filters don t always work like we'd want them to, because they usually do the equalization to the extreme, rendering the resulting image almost useless. The techniques described in this article offer better control in a few simple steps. Washed-Out Images You ve probably dealt with washed-out images before images that lack depth of contrast. For example, Figure 1 shows a photograph of the construction site of the Tehri Dam in northern India. Figure 1: The washed-out photograph. The photograph was taken with the camera's automatic mode on and also with full zoom, and it looks like the photograph was over exposed. The LCD display, however, was misleading. It showed the photograph pre- 48 ISSUE 76 MARCH 2007 W W W. L I N U X- M A G A Z I N E. C O M

KNOW-HOW Figure 2: The histogram of the image. Figure 3: The Selective Gaussian Blur filter. Christine Lamour, Fotolia view with good contrast. First, we should take a look at the image histogram. You can access the histogram from Layers Colors Histogram. At the bottom of the histogram panel, notice that there is a little strip that goes from black to white in 256 steps. This strip illustrates the intensity levels in the photograph. Also, note the intensity distribution in the graph above it, which is separated into five intervals. As you can see in Figure 2, the distribution is towards the white end, which means that the image contains more bright pixels. You can also see that the left part almost starts from near the end of the second interval (see Figure 3, yellow selection). That means the parts of the image that should have been dark are overly bright, which explains why the image looks washed out. There is no way to recover the missing data because we don t have it in the image, but thanks to the, we can try to equalize it with a few simple steps to salvage the image. Step 1: Layer Modes First, duplicate the layer by going to Layers Duplicate Layer. In the layers dialog Figure 4: The Layers Mode Dialog. box (Figure 4), change the mode of the layer to Multiply, and also reduce the opacity to about 30-35. This opacity value at 30-35, along with the multiply mode, acts like a single stop for image correction. You should be aware that this is not actually a calculated amount; this amount is just being used here for the Figure 5: The image before and after correction. Figure 6: The final improved image. W W W. L I N U X- M A G A Z I N E. C O M ISSUE 76 MARCH 2007 49

Figure 7: The final histogram. sake of simplicity because it allows us to have discrete control. For the example image, we needed 1/ 1/ 2 stops. To achieve the half stop, you must duplicate the layer and reduce the layer opacity to 15, or to half of the number you initially used. Terms Histogram: The histogram is a graphical representation of the number of pixels for each intensity value in the image. It shows the spread of the intensity values of the pixels within the image. The left is the lowest value of pixel intensity (0), and the right is highest value of the pixel intensity (255). It is called the histogram distribution since it shows the distribution of the pixel intensity values over the interval 0-255. Each bar in the distribution shows the number of the pixels in the image for that particular intensity value. If the the bulk of the distribution is towards the left, it means that most pixels have lower intensities and the image will be dark. If the bulk of the distribution is towards right, then the image will be bright. F-stop: This is a photographic mechanism that determines the amount of light that will get to the film or CCD. It is dependent on other components of the camera, such as the aperture size, lens size, and shutter speed. White Balance: In photography, white balance refers to the color-neutral white point in the image. Photographs are affected with a color screen-like effect, if the white color in the photo is other than white, making them have a particular off-white color for every color in the photo. The off-white tone, if it can be identified, is replaced by white to get back the original colors in the image. Figure 8: An underexposed bottom half. Step 2: Flattening an Image After you are satisfied with the result, you can apply Image Flatten Image and save the copy of the image. After applying our corrective steps, we can see the initial results in Figure 5. Step 3: Contrast Correction The improved example image still lacks some contrast, which can be corrected by going to Layers Colors Brightness- Contrast. In the pop-up window, you can play with the contrast slider and see the results in real time. Adjust it until you are satisfied with the results. After a little bit of contrast enhancement on the example image, you ll get something like the result in Figure 6. As you can see, the corrected image now contains improved color saturation and contrast. Figure 9: The histogram (left) and the Layers dialog box (right). Figure 10: The exposure-corrected image. Look at the histogram again to understand what we just did. If you look at the histogram panel, you will see that the graph has five intervals in it (shown by vertical gray lines). This is akin to the world of photography, in which an image with a range of five F-Stops is considered a well-balanced image. Note that our photo was initially confined within approximately 2.5 stops (see Figure 2). We have managed to stretch it over to almost all five stops (see Figure 7). Essentially, we have stretched the range of pixel values from nearly zero all the way to 255, thereby enhancing the image contrast. Correcting Underexposed Images Like the washed out images, underexposed images are a relatively common 50 ISSUE 76 MARCH 2007 W W W. L I N U X- M A G A Z I N E. C O M

KNOW-HOW problem. Figure 8 shows an image that suffers from underexposure in the bottom half. The photograph was taken in the evening against the setting sun. The auto mode reduced the aperture because the sun s bright light was striking the camera directly. As a result, the darker areas in the image have become dark and are hardly visible. Again, looking at the histogram (Figure 9), we can deduce why the image appears so dark. Step 1: Screen Layer Mode To correct an underexposed image, we will first duplicate the layer by going to Layers Duplicate Layer. Change the mode to Screen and the opacity to 30. For our example image, we needed about five stops, or five duplicates of the layer with Screen mode and opacity set to 30. The result is shown in Figure 10. If your image contains noise, first try to remove the noise before using the methods defined in this article. If you don't remove the noise, you will very likely have problems with it later. To reduce noise in your photo images, use the s Selective Gaussian Blur filter. You can access the Selective Gaussian Blur filter from Filters Selective Gaussian Blur. In the pop-up menu for the Selective Gaussian Blur filter, you can play with the radius value that applies blur to the pixels in the given radius. Correcting White Balance One of the most common problems with digital cameras is the white balance. Indoor shots are often affected by the white balance problem, especially if you forget to set the auto mode for incandescent lights. In this situation, we will first try out the Auto White balance filter of, which can be accessed from Layers Color Auto White balance. The resulting image is not much different than the image shown in the original (see Figure 11). Tips The Max Delta parameter is the important part of the Gaussian equation because it defines the edges between the parts you wish blur. If you increase the Max Delta too far, the result will be unsightly, so you should always check the preview while you play with with the blur feature. Finally, never apply sharpening before you correct the image, since the use of sharpening could affect the results. Always apply sharpening later, with some small discrete value, and repeat it to get the preferred results. The only auto filter in that sometimes returns decent results doesn t work in our case. However, we can manually fix the problem with only a few simple steps. Step 1: Identifying the Off-White Tone We can trace back the steps the auto filter might use to correct white balance in advertisement

Figure 11: The base image (left), and after applying Auto White balance (right). the image. For this step, we must depend on our judgment. First, go to the Toolbox and select the Color Picker. Zoom into the image to where you can find pure white or near white. By observing the image, you can probably deduce which color has caused the screening or toning. In our image, it looks like a shade of yellow (see Figure 12), so you should try to find an unnatural-looking shade of the color your photo seems affected with, then left click to pick it. Figure 12: The trusty sidekick color picker. Once you are satisfied, you can then copy the color (RGB values) you have identified as the culprit. Step 2: Color Box Using the RGB values, you can double click on the Foreground Color plate, bring up the color dialog box, and fill in the RGB values you noted. Now select that color and go to the Layers dialog box and create and new layer with foreground color as fill type. We are assuming that you have selected that color as foreground in the color palette. If you haven t, then you should do so now. Step 3: Descreening We will again use a layer trick, but this time, our trick will use the layer mode Figure 15: The image after white-balance correction. Divide. Change the layer opacity to 30 or so (see Figure 14). It should be sufficient to use only one stop this time. If it is not, you can use it discretely until you are satisfied with the final results. As soon as we do this step, we can see that tone of that color has been removed from the image, and the image has been restored to the natural colors again (see Figure 15). One thing to note here is that you may or may not get the desired results in the first attempt. The final result will depend upon whether you have found the bad tint that is affecting the image. Conclusion Various automatic tools are available to assist you with image correction, but nothing beats the manual correction option because an auto tool cannot see the final result, but a human eye can. I hope this article gives you some useful insight into manual methods of correcting images with the. Figure 13: Entering the RGB values in the Color Dialog box. Figure 14: Descreening the false tone. THE AUTHOR Gaurav Nawani is a graphic artist at IronCode Software. He is an open source enthusiast and loves writing articles as a freelance writer. Nawani is the editor and designer of Blenderart Magazine (http://blenderart. org). Apart from his usual hobbies of photgraphy and traveling, he also dabbles in cooking. 52 ISSUE 76 MARCH 2007 W W W. L I N U X- M A G A Z I N E. C O M