Using Your Camera’s Histogram to Take Better Digital Photographs

The histogram is one of the best ways to check for accurate exposure in the camera, and yet it’s underused by many photographers. Use this tutorial to learn to use histograms in-camera and as part of further Photoshop processing.

1. Understand What the Histogram Represents

A histogram is a two-dimensional graph that most digital cameras record for each exposure taken. It’s a simple graph – it keeps track of all the tones in a photograph, from dark (on the left side) to light (on the right).

Spending time looking at histograms, whether in the display of your digital camera or on the computer screen, will make them more familiar and a useful tool for taking exposures. Histograms look very different depending on the scene, the color and the light in each photo.

Here are some examples of different photos and their histograms. You can see the difference in the histograms of these three based on their backgrounds, environments, object colors and light.

2. There is No Such Thing as a “Correct” Histogram

One thing to avoid is to try to emulate a histogram – they look very different based on what’s in the photograph. If you photograph someone with dark clothing or hair, for example, the photo’s histogram is going to skew toward the left of the graph, whereas the opposite is true with light colored clothing, background or light. Even if the histogram is heavy on one side of the graph, or has unusual spikes, you just want to make sure your histogram has some information from one end of the graph to the other.

Look at these two examples of photographs and their respective histograms. The first is a darker image, considered low-key because of its dark background, which causes the histogram to skew to the left.

The second photograph, however, skews to the right because it is a high-key image (meaning that the background is lighter than the subject). Backgrounds can make this distinction, but so can objects in the photo. It all depends on the number of pixels in the photo that are a dark color, a gray mid-color or a light color.

3. Avoid Clipping

While there is no such thing as a wrong histogram, there is something very important to watch for in your histograms. This is called clipping, and it occurs when the photograph is incorrectly exposed, which can lead to blown-out highlights (where no detail can be seen) or clipped shadows, where detail is lost in darker areas of the photo. Since you want detail to remain in all parts of the photograph, this is one of the most important uses of the histogram.

When highlights or shadows are clipped, the histogram will have a large slope leading up to either edge of the graph, and that slope does not return to the bottom axis of the graph before it ends. This is a sign that detail has been lost either in the whites or blacks in your photograph. If you can catch this in-camera, it will give you an opportunity to adjust the exposure and correctly expose the photograph.

In the example below, the first photograph is over-exposed, meaning too much light has entered the camera, clipping the highlights and losing details in the light areas of the photo. Next to it is the correctly exposed version, which can be created by simply shortening the exposure time by adjusting to a quicker shutter speed.

The second is just the opposite: this exposure is too dark, and has therefore lost detail in the shadow areas. To correctly expose this image, the shutter speed should be slower to allow more light in.

4. Adjust Your Display to Show the Histogram

While viewing histograms at the computer can tell you much information about your photos and help with editing, one of the most useful applications of being able to read the histogram is the usefulness of evaluating an exposure in the field, right after the photo is taken. This is also a great way to understand and get comfortable reading histograms quickly.

Most display modes on a digital camera’s back LCD will have an option that shows a small preview of the photo alongside a small version of the histogram. After you take a photo, especially in a tough lighting situation, check in with the histogram to make sure there is no clipping and then you’ll have an opportunity to correct any over-exposed or under-exposed photographs before leaving the scene.

5. Boost Contrast in Photoshop by Adjusting the Histogram Using Levels

If reading the histogram in-camera to correct exposures hasn’t worked and you need to fix your exposure, it is possible to do in Photoshop. This adjustment can also be used to boost contrast in a photo where the light or scene hasn’t allowed for a very high-contrast exposure.

This photo, while underexposed, is not yet to the point of having lost information in the shadows, and we’ll be able to restore a wider range of tones in Photoshop.

6. Adjust Histogram in the Levels Adjustment Window

The first way to do this, and a good way for more beginner Photoshop users, is to open the Levels Adjustment window. Here you’ll be looking at the photo’s histogram, and there are sliders below the histogram that allow you to bring in the sides of the graph nearer to the tone blocks. This can make darks darker and lights lighter, which is why it makes for a good contrast-boosting measure.

A good rule of thumb is to slide the sliders in so that they hug the main data slopes in the graph, eliminating any areas in the graph with little to no data.

In this photo, by adjusting the slider on the right-hand side (just click and drag the white triangle) we can bring back some of the tones lost in the graph.

Notice how the edge of the graph has been moved in to where the data stops, in order to spread the information more evenly across the histogram. This results in a better-exposed photograph, with more visible information.

7. View Individual Color Channels

Another view to take advantage of in Photoshop is the expanded histogram view, which will show you an individual histogram for each color channel (in this example, red, green and blue). To expand this view, click the right-hand arrow button on the histogram panel and choose All Channels View.

Viewing all three color channels will allow you the added advantage of being able to correct your midtone levels closer to the as-shot levels. Here is the beginning photo, one that needs adjustment and has fairly different histograms in each color channel.

8. Keep Midtones Consistent

Begin by opening the levels adjustment window again, and moving the right-side slider over to near where the data starts. But notice how that shifts the histogram’s midpoint quite dramatically.

Now you can move the slider in the middle just slightly to try to align the graph with the version as-shot. This boosts the contrast while keeping the photo’s midtones in place.

Conclusion

These Photoshop techniques for repairing photographs without a wide dynamic range or with exposure problems work, but remember that controlling exposure in-camera will always lead to a more vibrant result.

Add Comment

Discussion 44 Comments

  1. Corey says:

    Cool. Thanks

  2. CCH says:

    excuse me ……..can i request a tuts?

    how do i make a photo look like that it was coated a silver

  3. CCH says:

    I mean color picture with metallic silver tone (metal pink or metal blue tone )

  4. Sanne says:

    I use them all the time :)

  5. Alex C. says:

    Histogram are very important!
    I like it that you’ve made a tutorial… Useful info for others as well!
    Good job!

    Regards!

  6. lau says:

    Nice, i’ve been taken pictures for quite a while without ever using the histogram. Maybe I should start trying.

  7. Sam says:

    Great stuff, I’ve been looking for a decent histogram tutorial for a while!

  8. iArts says:

    When it comes to exposure…I find the HDR technique very usefull…If it’s possible to use it and if it’s used normally…

  9. Tiago says:

    Very Good. Keep posting.

  10. m. gartsman says:

    good good good. this is the kind of stuff everyone should know. important as hell. thanks, sara.

  11. Ricardo says:

    Amazing…

  12. jay says:

    Always try to expose to the right. The farther you go to the right, the more data there is. The left, if you try to increase exposure levels, will create drastically more noise than if you expose to the right, then in pp, decrease exposure levels.

    http://www.luminous-landscape.com/tutorials/expose-right.shtml

    http://www.visual-vacations.com/Photography/exposure_metering_strategies.htm

  13. jay says:

    More on the previous:

    “The linear capture of the camera’s sensors means that if we try to capture a 9 EV range, corresponding to 9 zones, half of the 4096 levels (2048 levels) are devoted to Zone IX, half of the remainder (1024 levels) are devoted to Zone VIII, half of the remainder (512 levels) are devoted to the Zone VII, and so on. Zone V is represented by 128 levels, Zone III by 32 levels, and the extreme shadows in Zone I is represented by only 8 different levels.”
    -http://hannemyr.com/photo/zonesystem.html

  14. Electrik says:

    We could really do with PhotographyTuts or PhotoTuts imho. Well at least I could. The site would have super cool tuts about hdr, Dragan-effect, tilt-shift, et cetera, maybe even an interview with Jill Greenberg and articles about creating your own stockphoto library. Or is this just a silly idea?

  15. haryo says:

    cool tuts.thank’s

  16. i was searching for it

  17. Symon says:

    Nice, Tut and good overview. Thx Sara. Now where’s the camera manual…..? ;)

  18. Eli McMakin says:

    Good tut. I chimp the histogram on the camera when I’m shooting from time to time. Then, I like to make tweaks to the histogram in the ACR during post. It makes the work-flow so ridiculously fast.

  19. matt says:

    Great info! ive always wanted to know how to use that :D thanks

  20. Musam says:

    Great tuts! thanks sara!

  21. some of my shots look like the historgram is being clipped at the top – what causes this?

  22. Vampvess says:

    Finally, I’m understood the histogram have what purpose in an image or photo now. It really help me a lot to get my “correct” exposure I want. Thanks. This is a very good guide.

  23. Kenji says:

    Nice. But you can get a better quality by adjusting the histogram @ 16 bit depth.

    For example:
    You can switch the color depth to 16 bit and THEN adjust the histogram.
    Turn back to 8 bit and you will see that there a no/less gaps in the histogram. These gaps are ok for web but can make a “flat” look in printing.

  24. Ramon says:

    Vote for phototuts?

  25. Diego SA says:

    Cool! Never have seen a tutorial for Photoshop’s histogram so well done like this one. Your best tutorial Sara! Thanks!

  26. mondspeer says:

    thanks for this tut.

    I was used to working with histograms in photoshop but never had the idea to use my cameras histogram (always tried to figure it out by looking at the pic).

    So … very usefull.

  27. StriderGax says:

    That was great information for someone how knows little about histograms. On a side note I found this site that is running a contest for tutorials called GuruShare (Google it). You might want to check them out. Thanks for the great work!

  28. Tushardeep says:

    Great Post Sara… Thanks for the informative article.

    Looking forward to more … ;)

  29. robertoblake says:

    I agree, I honestly don’t think I’ve seen a better tutorial/ explanation of the Photoshop Histogram tool before now. This was excellent work, and I’m sure everyone appreciates it. Thanks for posting this.

  30. avali2 says:

    very good

  31. Chirag vadgama says:

    fantastic article

  32. nice explanation of the histogram, simple and easy to understand.

  33. B says:

    great, i like it

  34. subc3r0 says:

    Thanks a lot!!, nice explanation about histograms, very simple & easy to understand

  35. Tatum schniendmiller says:

    yeah this is just really great! :) One of the best turtorials that i have seen in a while. I really love the lighting captured in this photo!!!!!!!

  36. Mare says:

    Thanks a lot, very useful tuts

Add a Comment