Written By:Neil Duffin
Getting The Red Out
Redeye can ruin an otherwise perfectly good portrait, but there are ways to remove it. Unfortunately some of these methods can remove detail in the eyes and make them look very unusual, even lifeless. The following is a simple method of removing the problem while still retaining detail and a normal appearance to the ÃƒÂ«windows of our soulÃƒÂ.
IÃƒÂm going to be usingAdobe Photoshop 6, but the technique should be possible in other packages too. All you need are channels, layers and layer masks.
Figure 1 shows the original image Ã¢â‚¬â€ not exactly the best picture of an eye ever, but it serves to show redeye. We start by duplicating the image into a second layer, layer > duplicate layer.Here IÃƒÂve called the new layer ÃƒÂ«false colourÃƒÂ for reasons that will become obvious in a moment (plus I live in the UK :). Figure 2 shows the Photoshop layers after this step.
Now to remove the redeye. We do this by removing the red channel from the duplicate layer. To do this, first select the ÃƒÂ«false colourÃƒÂ layer only (Figure 2), then switch to the channels and select only the green channel (Figure 3). YouÃƒÂll notice that in this channel the eye appears normal, but only in grey scale (Figure 4).
Figure 3 Figure 4
Select the entire channel, select > all, and copy it, edit > copy. Then select the red channel and paste the green channelÃƒÂs data into it, edit > paste. If you now select all the channels, ÃƒÂ¬RGBÃƒÂ®, you will see that there is an awful colour cast, butthe eyeÃƒÂs pupil is black (Figure 5).
This leaves the problem of having no redeye, but a colour cast in one layer and no colour cast, but redeye, in the other. So, the final step is to combine the useful parts of both layers. To do this we use a layer mask. Go back to the layers, ensure ÃƒÂ«false colourÃƒÂ is still selected and add the mask, layer > add layer mask > hide all. The original image should pop back into view, redeye and all.
The final step is to select the parts of the false colour image that we wish to overwrite the original image. Painting into the layer mask performs this. Any area of the layer mask, which is black, will select the original, correctly coloured image. White parts of the mask will select the new, redeye removed, ÃƒÂ«false colourÃƒÂ image. Any grey shade in-between will blend the two layers.
So, with the ÃƒÂ«false colourÃƒÂ layer still selected, go back to the channels and select the mask channel. This will be named something similar to ÃƒÂ¬ False colour maskÃƒÂ® (Figure 6). Select the paintbrush tool, press B on the keyboard, and select a brush with a graduated, grey edge ÃƒÂ± the size will depend on how large the eyeÃƒÂs pupils are in your image. It will also help if you zoom in on the eyes.
Now simply select white and paint into the eyes. They will become black within the pupil (Figure 7). This is because you are selecting the ÃƒÂ«false colourÃƒÂ layer by painting white into the mask layer. You are not painting into the colour channels (red, green and blue) and this is the reason the image does not become white.
Be careful not to paint into the iris or it will become discoloured ÃƒÂ± as it appears in the ÃƒÂ«false colourÃƒÂ layer. If you do this by accident, select black and paint over your error. This will reselect the original layer. You should find it easy to produce an image without any redeye, while retaining all flash highlights (Figure 8). Additionally, you donÃƒÂt have to worry about eyelashes, as they will be black in both layers (in most cases) and hence you will no longer need to paint round them.
For comparison, I have included an image produced using the more normal, ÃƒÂ¬paint blackÃƒÂ®, method (Figure 9). As you can see the image produced using the above technique looks much more life like.
The final step would be to flatten the layers to return the image to a normal RGB format, layers > flatten. However, you may not wish to do this if you are going to do further manipulation of the image.
Of course, it would have been easier to have not had any redeye in the first place! However, I find the use of in-camera ÃƒÂ«redeye reductionÃƒÂ a real pain. Firstly it usually doesnÃƒÂt work and secondly, it delays the shot by several seconds in some cases. This normally results in you missing the shot. These days I leave the redeye reduction off on all digital cameras and use this technique if redeye should occur.
About The Author
Neil Duffin is a 32 year old computer games programmer.
"I have been a keen photographer since my late teens. However, I had faltered due to the cost of film, development, and the lack of a darkroom. Then came the digital age – allowing me to combine my skills as a programmer with my creative photographic side."