By Jill Smith An Adobe Photoshop ® tutorial This is a colour correcting technique that may be employed in Adobe Photoshop ® using the Curves contrast adjustment tool in conjunction with LAB colour mode. Convert an image to LAB colour mode, and apply curves to the channels individually to knock out extreme colour casts, boost colour and even make very specific changes to colours all in one fell swoop. A LITTLE ABOUT CURVES: The Curves dialogue box is another graph mapping all of the tonal values on a straight diagonal line. The steeper the curve, the more contrast between the tonal values in the steep part of the curve; the flatter the curve, the flatter the contrast in the tones of that area of the curve. Click within the image, and a small circle will appear on the curve where that tonal value is represented. You can set a point on this line by clicking on the line directly, or by Ctrl-clicking within the image to plot that specific value on the line of the curve. Up to 14 control points can be added to the curve; this allows for very precise control when adjusting contrast. Each point may be edited separately. A LITTLE ABOUT LAB COLOUR MODE: LAB Colour mode consists of 3 channels much like RGB; however, the similarities end there. The LAB channels:
First, let’s illustrate the concept of LAB with this jacket to help us understand using Curves with the LAB channels better. Objective: We have decided to change this image of a blue and black jacket to a red and black jacket. The image has been converted to LAB Colour Mode (Image > Mode > Lab Colour), and the Curves dialogue box is open - Image > Adjustments > Curves (Ctrl - M for PC /Command –M for Mac). Note: Both of these Curves graphs plot the colour values along the diagonal line (top graph is for "a" channel, bottom graph is for "b" channel). Adjustments in a and b will affect colour, but not contrast. About "a" channel curve: Values that are plotted on the mid-neutral line in the center are neutral (neither green nor magenta). Values plotted above the neutral line are more magenta than green, increasing in intensity the higher it goes. Conversely, values plotted below the mid line are more green than magenta. About "b" channel curve: Values that are plotted on the mid-neutral line in the center are neutral (neither blue nor yellow). Values plotted above the neutral line are more yellow than blue, increasing in intensity the higher it goes. Conversely, values plotted below the mid line are more blue than yellow. Top Right ("a" channel curve): Above the graph display the Channel selection (drop-down box) has been changed from "Lightness" to "a" (I am satisfied with the brightness and contrast of this image, so I am not going to adjust curves on the Lightness channel). The "a" channel contains all of the green and magenta colour information. There are two values plotted on the graph. The top one was selected by Ctrl-clicking (Command-clicking for Mac) a good representation of the black fabric around the shoulders and the neck (do not take the sample from either the highlights or the shadows). It is seen plotted on the mid-neutral line of the graph, meaning it is neither magenta nor green. The bottom value was plotted by Ctrl-clicking a good representation of the blue fabric (neither highlight nor shadow). This value is plotted well above the mid-neutral line, indicating there is more magenta than green in the colour of the jacket. The red arrow on the graph shows the direction we are going to take this value when we edit (next). Bottom Right ("b" channel curve): The bottom curve shows the graph for the "b" channel containing all of the blue and yellow colour information. Again, a value representing the black has been plotted on this graph-line by Ctrl-clicking a good representation of that tone in the image. This time, the value is not plotted exactly on the mid-neutral line, but a little bit below, indicating either a blue colour cast, or perhaps the true colour of the fabric is navy blue. Below that (still see the figure above, the graph below the "a" graph), is another point that has been plotted on the line to represent the blue values in the jacket, and again, the red arrow on the graph illustrates the direction this value is going to be moved when we edit. Editing the Value Points: Now let's edit those points.
That's it, look Ma, no selections! This is an easy example, because the background is blank and relatively neutral, but it is a great image to introduce the concepts. Now let's colour correct an underwater image. Applying Curves with LAB Colour Mode in an Underwater Image I've never met an underwater image that didn't need some help, and this image can do with some pretty drastic adjustments in LAB. This Honeycomb Trunkfish and small yellow remora riding under him, is underexposed, and the colour cast is very cyan. At a glance, the water in the background looks like it has too much magenta in it too. First step is to open the image and convert to LAB (Image > Mode > LAB colour). Then open Curves (Image > Adjustments > Curves, or Ctrl-M/Command M for keyboard shortcut). The default Channel selected is the Lightness channel. That is where we will start. By clicking and dragging the cursor over the image it is possible to see where the values are plotted on the curve; note the lightest area of the image with detail (mouth of the trunkfish), and where that resides on the curve. Instead of Ctrl-clicking though, I click a value on the line above the lightness values of the mouth. This is because I want to keep the detail of mouth in the steepest part of the curve for contrast and detail (I don't count spectral highlights as important detail - there aren't any in this image anyway). The highlight point is dragged up significantly to lighten the image, and increase contrast, while watching the mouth area to make sure it isn't being clipped. To set the shadow, find the darkest values of the area of interest, and see where that value lives on the curve. Then manually click a point below that, and lower it to darken shadows and increase contrast. The curve now has an "S" shape, and all of the values of the image that are important detail, reside in the steep part of the S, creating more contrast. At the extreme bottom and top of the S, the darkest shadows and the lightest highlights are actually flattened and have less contrast. It may be helpful to remember that when adjusting the curve for contrast, while one part of the curve is made steeper to increase it, another part of it will be flattened, decreasing it. Above is the Curves adjustment for "a" channel (selected from the dropdown Channel menu):
For now, 3 points plotted is enough, although plotting a point for the sandy area roughly on the same plane as our fish would not be a bad idea either, but we'll check those values after we make some adjustments. Clicking the water value, pull it straight down to the green. Push the Trunkfish's skin value to the neutral, and drag the remora's yellow value up towards yellow. At this point, check the sand value near the fish , and try to keep it close to neutral, or even slightly warm in the magenta, but not too much. The sand in the distance may retain some blue values, and that is acceptable because it is natural-looking. The colour still doesn't look right, and that is ok, because we haven't adjusted any colour in yellow/blue yet. Above is the Curves adjustment for "b" channel (selected from the dropdown Channel menu):
The remora yellow may be raised a bit to make it a more intense yellow, but care must be taken to not introduce too much yellow to the sand. The sand may be a little yellow, but should not be as intense as our little remora. If the sand became too yellow, it may be plotted on the curve and pulled down a little. You have so much control here! If sharpening is desired, sharpen on the Lightness channel before converting back to RGB to avoid colour distortion around edges. Then I do any minor tweaking in RGB, and I'm done! I do love that I can control the colour and the intensity of a colour in an image using LAB and Curves; even two colours that are very similar may be pulled apart to be made more distinctive. I hope you find this colour mode to be useful to you; it has become one of my favourite tools in more ways than one. This is a pretty quick and dirty introduction to a very comprehensive colour mode/topic. Want to learn more? Here is a great resource written by one of my favourite instructors, Dan Margulis (now semi-retired): Margulis, D.2006.Photoshop LAB Color: The Canyon Conundrum and Other Adventures in the Most Powerful Colorspace.California:Peachpit Press.
3 Comments
By Jill Smith Chromatic Aberrations are those ugly, coloured halos that may outline contrasted edges in an image. They are often bright blues and yellows, or magentas and greens. The colours of light (yes, white light is made up of colours; all the colours of the rainbow - same principles apply), don't all behave and bend the same way. That is why we get to see and enjoy rainbows (nice), but also why we have these gross distortions (not so nice). Here are two quick and dirty ways to banish them (one way is quicker and dirtier than the other, but it may not always be the answer). Method 1 RAW images - If your images have been shot in RAW file format, they may be opened in Camera Raw, and possibly corrected very easily there. Go to the Lens Corrections tab, and click the “Remove Chromatic Aberration” box at the top of the panel. Most of the time this will do a good job. That was easy. Method 2 The following Chromatic Aberration Removal technique may be employed in the event that the Camera Raw feature did not completely remove the aberration, or if there is no RAW image to work with. This image sports arguably the most grotesque chromatic aberration I have ever seen. Notice how the distortion becomes more severe further away from the centre of the image. The distortion here is so terrible for a couple of reasons:
The Steps
This part of the process will be numbered to correspond with the figure below.
While the nasty colours have been taken care of, this particular image (and this section taken near the edge) was an extreme example, and I can still see the contrast on the edges. If I first ran this image through Camera Raw and checked the "Remove Chromatic Aberrations" box, they would have been largely removed, and the above method would have cleaned the rest up beautifully....but for this method, we wanted to work with the worst case scenario.
Happy Shooting and Editing! If you are an underwater photographer, you know that even your best work will need to undergo some image editing to make it the best it can be. In Photoshop we have some powerhouse sharpening options at our disposal, but I often find these image improvement tools to be a double-edged sword. Excessively glowing highlight halos and colour aberrations make a mess of any sharpen job, unless you know how to hold these undesirables at bay. Unsharp mask can be found under the menu > filter > Unsharp mask. The name comes from an old darkroom technique of making inverted, unsharp negatives of the original, sandwiching them with a glass plate, and re-exposing to reveal a sharp edge. In Adobe Photoshop®, the "Unsharp Mask" tool looks for edges in an image. Within the dark side of an edge, a dark halo is created, and within the light side of the edge, a light halo is created, boosting the contrast of the detail. There are three settings to consider: Amount - The higher the percentage, the stronger the effect. Radius - The range of pixels on either side of the determined edge that will be affected. Threshold - The level of difference in tonal values between pixels before they are considered to be edge pixels. Keep this value low, roughly between 0 and 5. There are two general methods of sharpening with this tool: High Amount (around 500%), Low Radius (1-2 pixels) – Good for sharpening tiny detail in an image. If there is any noise present, this setting may increase chatter to an unpleasant degree (read: that pesky backscatter). Keep threshold between 0-5 levels of difference for edge finding. Incidentally, if you are sharpening images of faces above the water, this method is usually undesirable. It will sharpen every line and pore in the skin of your subject, and personally, while I have earned every wrinkle on my face and do not need to have them removed, I certainly do NOT wish to have them enhanced! Lower Amount (30 – 150%), High Radius (5 – 30 pixels) – To find just the right radius, set the Amount to 500% temporarily. Slowly move your radius slider up until you see clear definition of the detail in the main subject of the image. Reduce Amount to desired level. There are two problems when using Unsharp mask in RGB colour mode in Photoshop. The first is that you will find some very nasty colour aberration effects along the edges in your image. This is a result of the sharpening algorithm and the way it functions; as you can see in the image above, there are halos created along the edges, and the colours of those halos are usually very intense, deeply saturated colours. The second problem is the introduction of bright white halos, particularly around fine detail such as fan-coral, which tend to be distracting to our eyes. There are many techniques to solve both of these problems. Here is one of them. Open Image to be sharpened: 1. Duplicate the layer in the Layers Palette (Ctrl J). There is now a locked Background layer, and Layer 1 (Background Copy), which is active because it is highlighted blue. *The layers palette can be found on the right side of your desktop. Activate the Layers tab so you can see the layers listed there. 2. From the menu bar across the top of the program, go to Filter > Sharpen > Unsharp mask. The little window shows a zoomed portion of the image. In the figure below, you can see the colour aberrations present due to the sharpen settings chosen. Click anywhere in the image to see that section in the zoom window. When you click and hold your mouse inside the window, you will see the "before" version, and when you release the mouse, you will see the "after sharpen effects applied" version. Set your amount to 500% while you visually choose a radius that defines the edges nicely in your image; then bring the amount back down. 3. Under the Layers tab, there is a blending option. It defaults to Normal - click that box to reveal a dropdown menu, and very near the bottom, choose luminosity. This is instructing the program to use the luminosity (detail) of the top layer, but use the colour from the bottom layer to blend these layers together. This will eliminate the colour aberrations created by the unsharp mask. 4. Now to reduce the exaggerated white halos while keeping the dark halos and edge contrast. While the top layer is still active, go to Image > Apply Image (top menu bar). Source 1 is your active image. Layer needs to be changed from Merged, to the Background layer (the unsharpened version, which is absent of white halos). Channel may remain at RGB. Blending mode should be changed to Darken. This will tell Photoshop to blend your background layer with your sharpened version by comparing each pixel between the two, and using whichever pixel is darker. This will eliminate the white halos entirely when the Opacity is at 100%, but reducing that to 50% will allow the halos to show through at half strength. 5. Now that the colour aberrations and white halos have been taken care of, you may determine if you want to keep this sharpening effect at full strength, or if you think you may have been heavy handed, you may reduce the opacity of the top layer. Opacity is to the right of the Layer blend option in the Layers Palette near the top. 6. Tip: The nature of human sight is such that we can only focus on one area at a time. While our sight is focussed on one area in our vision, our peripheral vision is out of focus and somewhat de-saturated (colourless). Sometimes I will make a conscious effort to replicate that effect in an image (although I am partial to very colourful images, so it is not too often) in order to make the subject stand out brighter, sharper, and more colourful than everything else. I will create a layer mask after my sharpening has been applied, and mask out the sharpening effects on the foreground and/or background, keeping the subject in sharpest focus. To do so, click the “add a mask” icon at the bottom of the Layer’s palette while holding the Alt key down (see figure below). This adds a black mask over your sharpened layer, which hides all of the work you have just done. That’s ok, because now you can “paint in” the sharpening effects where you want them. Choose the paintbrush from the tool bar (shown below), set your brush size and hardness (set hardness to 0 so that your brush is soft and feathers the effect in) in the Options bar. You will need to paint in the mask with white to “show” the sharpening effects of your work in those areas. Set the brush colour to white by hitting the “D” key on the keyboard, making the foreground swatch black, and the background swatch white (shown below at the bottom of the tool bar), and then hit the “X” key to switch them. Your brush is now white. Make sure the mask is active rather than the image itself, by clicking in the middle of the black mask icon on the layer bar. When you are done, click the drop down arrow on the right side of the layers palette, and choose Flatten. Save.
|
AuthorsJill Smith Archives
January 2024
Categories
All
|