FAQ: "Exposing to the right" to make better use of the dynamic range of your digital SLR.

yllus

Elite Member & Lifer
Aug 20, 2000
20,577
432
126
I've mentioned this technique to a number of people I know and referred them a couple of websites for an explanation. Most of the time I need to then discuss what those explanations meant. This is my attempt to create a simplified explanation of the technique known was "exposing (to the) right". I thought I'd share it here as well - and create a discussion of its pros and cons.


Introduction

So you've become a pretty competent photographer with your digital SLR camera. You know how to balance shutter speed, aperture and ISO to capture the kind of scene you want in your photos. Now it's time to start looking for efficiencies. How can you capture more detailed, less noisy images with the equipment you already have?

One technique that's made inroads as referred to as "exposing (to the) right". The term is named thus because use of the technique leads to the histogram representation of the image being shifted to the right on the X axis (which is mapped to the brightness level of the photo). But to understand why we would want to expose to the right, first we need to learn a little more about how your digital SLR camera captures that image.


Why We Do It

Optical technology today still being far inferior to the human eye, your digital SLR has a much more limited range in which it is sensitive to light. In practical terms, your camera has 5-7 F-stops to work with. Anything lower or higher than this range is simply rendered as black or white (respectively).

Let's refer again to the histogram representation of an image. A histogram is merely a graph displaying the distribution of brightness in your image, with the darkest part of the image represented on the left, to the brightest on the right. Logically, from what we already know about a digital SLR camera having 5-7 F-stops of usable range to work with, in order to capture the most detail in our image, we'd want to place the majority of the image squarely in the middle of the histogram with plenty of breathing room on each side. No chance we'll bleed off detail that way.

But that's not how your camera actually works. I'll quote from the source material in which I'm adapting/dumbing down this entire FAQ to explain:

A 12 bit image is capable of recording 4,096 (2^12) discrete tonal values. One would think that therefore each F/Stop of the 5 stop range would be able to record some 850 (4096 / 5) of these steps. But, alas, this is not the case. The way that it really works is that the first (brightest) stop's worth of data contains 2048 of these steps ? fully half of those available.

Why? Because CCD and CMOS chips are linear devices. And, of course, each F/Stop records half of the light of the previous one, and therefore half the remaining data space available.

This realization carries with it a number of important lessons, the most important of them being that if you do not use the right-hand fifth of the histogram for recording some of your image you are in fact wasting fully half of the available encoding levels of your camera.

In this new green-crazy age, you should know better than to waste precious pixels.


How To Expose To The Right

So let's attempt to make the most efficient use of our cameras. This means making use of the most step-heavy part of your camera's sensor - the first (brightest) stop.

How do we do this? Well, it's actually pretty simple to do. Refer to your camera's manual to see how you can view the histogram of an image after it's shot, and turn that option on. Line up the scene you want to capture as per normal, choosing the shutter speed, aperture and ISO settings you typically would. Since enormous memory cards are cheap these days, take the shot.

Now, go into review mode on your camera and take a look at the image's histogram. Assuming you've taken a picture of a scene where the light levels are all relatively within the same range, you might end up with a histogram looking like this:

Histogram with a centre bias

If you're in a computer-controlled mode such as Tv (shutter priority) or Av (aperture priority), you'll need to look up the "Exposure Correction" (EC) feature of your camera. On the Canon EOS 350D (Digital Rebel XT), the EC button is on the back of your camera next to a little square with a + and - sign. (The same button has a dual use in setting Av in Manual mode.) Hold down the button and use the jog dial on the top of the camera to move the exposure bar indicator in the positive direction (to the right). Moving it to the right about one full F-stop should be sufficient.

If in doubt, simply snap the photo and examine the histogram to see how far to the right you've shifted the exposure.

Very important: You absolutely do not want to go overboard and end up losing detail by shifting too far to the right (a phenomena known as "blown highlights"), so account for some breathing room on the right. Your camera will likely also warn you if you've blown highlights by displaying flashing black patches on the image itself.

Example of a histogram properly shifted to the right:

Histogram after being shifted to the right


Results

We've covered why we want to expose to the right - to capture more detail / make better use of the dynamic range of your camera. That's a nice hypothetical, but how about a look at the real-world results?

Well, take a look below. The member PacAce on the Canon Digital Photography Forums took three exposures: A) was taken as the correct exposure according to his camera. B) was shot 1 F-stop underexposed. And C) was "exposed to the right" - the bottom left image being the original overexposed image, and the bottom right image with its brightness/contrast readjusted to look normal:

Exposures A, B and C

Now let's take a look at a 100% crop of A), B) and C) (the brightness/contrast corrected version):

100% crop of A, B and C

High ISO noise is virtually eliminated from the image he "exposed to the right".

Make note: This technique is a wonderful way to make the best of low-light situations.


When Not To Expose To The Right

You don't want to "expose to the right" if you prefer not to do much post-processing work. Each image taken using this technique will require brightness/contrast corrections to look normal again.

Following from the point made above, you don't want to "expose to the right" if you don't like to use RAW for your image file format. While the post-processing of the image will still be fairly effective on a JPEG, the nature of the format requires that the camera throw out the data it's not making immediate use of. Exposure correction gets dicey.

You don't especially need to "expose to the right" if the scene you are going to capture does not have a wide dynamic range. Save yourself the post-processing work and get the correct exposure the first time.


Sources

- The Luminous Landscape: Understanding Histograms
- The Luminous Landscape: Expose (to the) Right
- Canon POTN Forums: Exposing to the right! An example
- My blog: "Exposing to the right" to make better use of the dynamic range of your digital SLR.
 

BornStar

Diamond Member
Oct 30, 2001
4,052
1
0
The first thing I noticed was the fact that the exposure to the right that was corrected is missing detail in the cushions for the couch. The primary subject is about the same since it's dark but I wouldn't really want to lose that detail. The reduction in noise on the 100% crop is undeniable, however.
 

Fardringle

Diamond Member
Oct 23, 2000
9,200
765
126
Without knowing the EXIF details for each shot, I would guess that the "exposed to the right" shot used a larger aperture to increase the brightness of the picture and that created a narrow depth of field which put the couch detail slightly out of focus.
 

ElFenix

Elite Member
Super Moderator
Mar 20, 2000
102,402
8,574
126
Originally posted by: BornStar
The first thing I noticed was the fact that the exposure to the right that was corrected is missing detail in the cushions for the couch. The primary subject is about the same since it's dark but I wouldn't really want to lose that detail. The reduction in noise on the 100% crop is undeniable, however.

without knowing what he did to accomplish exposing to the right you can't really say what happened. if he changed the aperture and opened up by a stop+ you could be seeing DoF differences.

edit: damn you fardringle!
 

ObiDon

Diamond Member
May 8, 2000
3,435
0
0
Originally posted by: ElFenix
Originally posted by: BornStar
The first thing I noticed was the fact that the exposure to the right that was corrected is missing detail in the cushions for the couch. The primary subject is about the same since it's dark but I wouldn't really want to lose that detail. The reduction in noise on the 100% crop is undeniable, however.

without knowing what he did to accomplish exposing to the right you can't really say what happened. if he changed the aperture and opened up by a stop+ you could be seeing DoF differences.
i was thinking the same thing about DOF and varying aperture settings but i didn't see any relevant info on the original shots in the POTN thread.

even if the aperture was the same for all three shots, it's possible that they were not taken from the same exact location. you can't really tell from the overlapped windows, though.
 

soydios

Platinum Member
Mar 12, 2006
2,708
0
0
good guide. I believe that all you said is correct. but I would add this word of caution to the original post: if you expose too far to the right and blow out the highlights, the data is straight-up gone in almost all cameras.

an interesting debate is which is better: upping the ISO one stop and exposing to the right, or exposing normally and leaving the ISO. I really ought to do this test myself, as I shoot so much with my camera at high ISOs.
 

pennylane

Diamond Member
Apr 28, 2002
6,077
1
0
Originally posted by: soydios
good guide. I believe that all you said is correct. but I would add this word of caution to the original post: if you expose too far to the right and blow out the highlights, the data is straight-up gone in almost all cameras.

Yeah I agree. When I first heard about it, I blindly set my camera to overexpose by a fraction of a stop and I ended up with blown highlights in a lot of pictures. Experience and practice is pretty important to using this effectively.

an interesting debate is which is better: upping the ISO one stop and exposing to the right, or exposing normally and leaving the ISO. I really ought to do this test myself, as I shoot so much with my camera at high ISOs.

I'd be curious to know the result, too.
 

ElFenix

Elite Member
Super Moderator
Mar 20, 2000
102,402
8,574
126
Originally posted by: soydios
good guide. I believe that all you said is correct. but I would add this word of caution to the original post: if you expose too far to the right and blow out the highlights, the data is straight-up gone in almost all cameras.

an interesting debate is which is better: upping the ISO one stop and exposing to the right, or exposing normally and leaving the ISO. I really ought to do this test myself, as I shoot so much with my camera at high ISOs.

assuming you can do so without clipping the highlights i'm going with the former rather than the latter. almost all of the headroom in RAW is on the right side, almost none on the left. if you're clipping the data then you can't recover the 'blown' highlight, but i think you can safely go a stop on a 12 bit camera.

i'll have to add something like this to the round of testing i'm planning.
 

Shimmishim

Elite Member
Feb 19, 2001
7,504
0
76
Originally posted by: Fardringle
Without knowing the EXIF details for each shot, I would guess that the "exposed to the right" shot used a larger aperture to increase the brightness of the picture and that created a narrow depth of field which put the couch detail slightly out of focus.

Not necessarily.

You can leave the aperture fixed and decrease shutter speed.

So a picture taken at f/2.8 1/50 will look darker than one taken at f/2.8 1/25.

If you're not shooting in manual, the camera will adjust the exposure according to whatever settings you have.

If you shoot f/4 and 1/50 (let's say this is what the camera figured to be the correct exposure) you can adjust your aperture to f/2.8 and the camera will adjust your shutter speed to 1/100. This is assuming you are shooting in Av mode of course.

The cool thing about shooting in manual mode where you have full control over shutter speed and aperture is that the camera will let you know if you're under/overexposed.

Exposure is a tricky thing that I've been learning a lot about these days. The whole idea of shooting a pure white card, pure black card, and gray card will result in the camera exposing them all to a gray color was something I didn't understand until recently. Of course only the gray card will be properly exposed (No exposure compensation will be required to get the correct color for the gray card).


 

Fardringle

Diamond Member
Oct 23, 2000
9,200
765
126
Originally posted by: Shimmishim
Originally posted by: Fardringle
Without knowing the EXIF details for each shot, I would guess that the "exposed to the right" shot used a larger aperture to increase the brightness of the picture and that created a narrow depth of field which put the couch detail slightly out of focus.

Not necessarily.

You can leave the aperture fixed and decrease shutter speed.

So a picture taken at f/2.8 1/50 will look darker than one taken at f/2.8 1/25.

There are, of course, several different ways to change the brightness of a picture. However, reducing the shutter speed wouldn't create a loss of focus/detail on the couch in the background the way that a change in aperture size would unless the shot is being taken hand-held at a shutter speed too slow for the focal length, and that would make the Buddha statue blurry as well.

 

technophile82

Senior member
Jun 5, 2005
238
0
0
Originally posted by: yllus
...

Now let's take a look at a 100% crap of A), B) and C) (the brightness/contrast corrected version):

...

heh...

anyways, nice post. ive seen the thread on POTN forums. sometimes this is hard to do because you risk blowing out highlights. but when exposing to the right can be done, it is worth it, especially with high ISOs.

another thing ive noticed is that when youre composing a dark scene, the camera will want to expose to the right anyways because its trying to turn a mostly black scene into grey. you get the same benefit here as described in the OP, the scene will be much brighter than it really was. so then you turn down the EC to match the realistic scene, also reducing the noise. when this happens to me, i'll just let the camera expose to 0 EC, unless i need a faster shutter.