Earthbound Light - Nature Photography from the Pacific Northwest and beyond by Bob Johnson
Online Ordering
Recent Updates

Photo Tip of the Week

Photoshop Curves: Stepping Up From Levels

We've spent a few weeks now getting our feet wet adjusting image brightness and contrast in Photoshop using Levels. It's time this week to wade in a bit further and start taking a look at Curves. You won't need to hold your breath just yet though. This week, just the basics, along with what the adjustments we've already done in Levels look like in Curves.

After opening the Curves dialog from either the Image >> Adjustments menu or from the New Adjustment Layer icon (the half black, half white circle icon) on the Layers palette reveals the rather surprising fact that there is no curve in the Curves window. Indeed, the now familiar shapes of the histogram in Levels seem more "curve like" than the Spartan grid we find in the Curves window.

Photoshop Curves. So where's the curve?The "curve" of Curves isn't there until we make it. What we have to start with is a grid that looks at least somewhat like Levels with a diagonal line running from the lower left to the upper right. This diagonal line will become our curve. As with Levels, the x-axis represents the range of brightness in the image from black to white. Rather than a count of how many pixels fall at each value though, the y-axis here represents how bright a pixel of the resulting image should be when we click "OK." The diagonal line shows that every tonal value should remain unchanged — zero maps to zero, 255 maps to 255 and so on. Photoshop doesn't show us a graphical representation of our image data in the grid but rather a function showing how that data will be changed by Curves. If we go up from any given value on the x-axis until we hit the diagonal, the go over to the y-axis, we're at the same brightness we started with. In other words, every input value will map to the same output value. In order to actually make a change, we have to move and bend that diagonal line to re-map input values as we want them to end up.

But how do we do that?

Let's start with black point and white point adjustments, just as we did for Levels. At opposite ends of the diagonal line mapping input to output tones you will find a small dot. Grab hold one of this dots with your mouse and drag it around and you will see the image change (assuming the Preview option is checked in on the bottom right of the dialog box). The original diagonal line also changes. This line is our curve. Don't worry if it still seems like nothing but straight line segments so far. We'll start bending it more later on. No matter what, the curve always stretches from the far left to the far right. It has to so Photoshop knows how to convert input values over the entire 0 to 255 range. If it doesn't also stretch all the way from bottom to top, the output values (the results of our Curves adjustments), will only cover part of the 0 to 255 range and the image will not have a correspondingly low contrast.

Hold down the Alt/Option key and the "OK" button will turn into a "Reset" button. If you click on it, the curve will revert to the basic diagonal line we srarted with. If you make a mistake, this can be a big help. If you are using an Adjustment Layer though, you may prefer to slimply click on "Cancel" since "Reset" will completely undo any previous adjustments you may have done. One of the nice benefits of adjustment layers is that you can revisit them and your settings will still be there just as you left them. "Reset" will clear them too.

When we adjusted the black point in Levels, we moved the slider to the right such that pixels in our image that used to not be black became black. That is, we set the black point by selecting the original value (input value) we wanted to map to black (output value) when we clicked "OK." The Input Levels above and Output Levels below the Levels histogram reinforce this concept. Since we didn't mess with the Output Levels when we set Levels, we were always mapping our selected Input Black Point to 0 which is, of course, black.

Adjusting black point and white point in CurvesIn Curves, we can set the black point by dragging the original (0,0) point (the one on the lower left end of the starting diagonal) to any point along the x-axis at the bottom of the graph area. As we move the point, we can see the corresponding Input and Output numbers in the area below the curve. So long as we stay at the bottom edge of the area, the output level will remain at zero since we have picked a point at the lowest possible value on the y-axis of Output values. We can similarly pick a white point by moving the (255,255) point (the one on the top right of the original diagonal) to any point along the top of the graph area. Photoshop will keep things tidy for us by adding line segments from the new end points back to Input values 0 and 255 (left and right) since this is required to be sure we have accounted for all possible Input values in an image. The modified image will have greater contrast than it did to begin with since we moved the black point and white point inward.

For the most part, we will still have a straight line stretching from Output values 0 to 255 (bottom to top), much as we did before we adjusted anything. However, this revised line (curve) will have a steeper slope than did the original. Downward slopeThis is a fundamental concept in understanding Curves: steeper slopes mean greater contrast. If we had moved the original (0,0) and (255,255) points up and down along the left and right sides instead, we would have created a line with a shallower slope, and thus an image with lower contrast.

If we re-arrange these two points so that the one on the right ends up lower than the one on the left, we will have created a line that slopes downward and actually inverts the colors in our image. Bright Input values will be mapped to dark Output values and vice versa. All the colors in our image will end up looking like a negative image of how they normally appear. If we place the two points at or near the same Output value, the line will be flat and the image will have no contrast whatsoever, becoming completely some shade of featureless gray. This brings me to another fundamental Curves concept: while it may vary from shallow to steep, the line for a curve should always have an upward slope (unless you are looking to create special effects of course).

When adjusting Levels, we were able to hold down the Alt/Option key to clearly show when we began to clip data as we moved the Black Point and White Point sliders. Unfortunately, Adobe doesn't give us this same ability for Curves. For this reason, it's usually easiest to set these points via Levels before moving on to more advanced adjustments in Curves. However, understanding what these adjustments look like in Curves can make it a lot easier to see just what Curves is doing before we venture into such other adjustments.

It can be worthwhile keeping an eye on the Histogram palette while adjusting Curves. If you don't already have it enabled, you can do so via Windows >> Histogram on the menu. Using it will help keep you informed of what you are doing to your image as you make your adjustments.

Now to make our curve look at least a bit more "curve like."

The Curves equivalent of setting the Gray Point slider involves adding an additional control point on our curve (up to now, actually just our diagonal line). If you click anywhere along the curve, you will add a point. It will show up as a solid dot and all other points including the two original ones will become open circle dots. No matter how many points your curve has, only one of them is active at any given time. To switch from one point to another existing point, simply re-click on it. If you pull this new point slightly upwards, the curve will finally curve, creating an arc between the two endpoints we made by adjusting black and white points (or the original two endpoints if we decided to set black and white points via Levels). Unmodified image of avalanche liliesDon't go overboard; a little movement of the point goes a long way as you will be able to tell by watching the image itself as well as the Histogram palette. This brings us to our next fundamental concept: easy does it. Drastic amounts of movement in Curves will do nothing more than create bizarre images. Pulling a point in the middle of the curve upward is equivalent to moving the Levels gray point slider towards the left, increasing the overall brightness of an image. Pulling it slightly downward instead is the same as moving the Levels gray point slider to the right, making the image seem somewhat darker overall. If you need to delete a point, simply drag it off the graph and it will go away.

To illustrate what we've been discussing, take a look at the image above on the right. This is an unmodified shot of avalanche lilies blooming in the Olympic Mountains of Washington state. Reasonably nice, but somewhat lacking in impact and a tad underexposed. Now look at the two versions of this same image shown below. The one on the left shows how it looks after making adjustments to white, black and gray points in Levels. Exactly the same adjustments were done using Curves for the version on the right.

Image adjusted with Levels
Our sample image modified in Levels
Levels for the above
Levels used for the above
Image adjusted with Curves
Our sample image modified in Curves
Curves for the above
Curves used for the above

Curves can actually do much more than Levels, but hopefully they at least make a bit more sense than they did previously.

More on Curves next week, including how to add support for them to Photoshop Elements!

Date posted: December 26, 2004


Copyright © 2004 Bob Johnson, Earthbound Light - all rights reserved.
Permanent link for this article

Previous tip: More on Photoshop Levels Return to archives menu Next tip: Curves (and Other Goodies) for Photoshop Elements

Related articles:
The 1-2-3 of Photoshop Levels
Cooler Curves Come to Photoshop CS3
Color Balance Adjustment with Curves
Some Random Thoughts on Superman and Photoshop Curves

Tweet this page       Bookmark and Share       Subscribe on Facebook via NetworkedBlogs       Printer Friendly Version

Machine translation:   Español   |   Deutsch   |   Français   |   Italiano   |   Português

A new photo tip is posted each Sunday, so please check back regularly.

Support Earthbound Light by buying from B&H Photo
  Buy a good book
Click here for book recommendations
Support Earthbound Light
  Or say thanks the easy way with PayPal if you prefer

Home  |  About  |  Portfolio  |  WebStore  |  PhotoTips  |  Contact  |  Comments  |  Updates  |  Support
Nature Photography from the Pacific Northwest and beyond by Bob Johnson

View Cart  |  Store Policies  |  Terms of Use  |  Your Privacy