Chapter 4Part 1: Exposure
Shooting modes
and the histogram
Let the camera set one of the three settings for you, steer it with exposure compensation, and check the result with the histogram before you move on.
- Highlights
- Shadows
Bottom right of the viewfinder: the live histogram. Striped areas are zebras, parts of the picture pushed to pure white.
Shooting modes
In manual you set all three. In the other modes you pick the setting that matters for the photo, and the camera sets the rest to hit the meter's target. Brands use different letters for the same modes.
| Mode | On the dial | You set | The camera sets | Use it when |
|---|---|---|---|---|
| Manual | M | Aperture, shutter, ISO | Nothing | Light is steady, or the meter gets fooled (snow, stage, night sky) |
| Aperture priority | A (Nikon, Sony, Fujifilm), Av (Canon, Pentax) | Aperture, ISO | Shutter speed | Depth of field matters: portraits, landscapes |
| Shutter priority | S (Nikon, Sony, Fujifilm), Tv (Canon, Pentax) | Shutter, ISO | Aperture | Motion matters: sports, birds, panning |
| Manual with Auto ISO | M with ISO set to Auto | Aperture, shutter | ISO | Both matter and the light keeps changing: events, wildlife |
| Program | P | ISO | Aperture and shutter | Quick snaps |
Try it in the lab
- Switch to A / Av. The shutter slider now says Auto.
- Open the aperture to f/2. The camera speeds the shutter up by two stops, to 1/1000 s. The meter stays at 0.
- Set ISO 200, then open to f/1. The camera needs 1/8000 s but stops at 1/4000 s. The shutter value blinks and the picture is a stop too bright.
When the camera runs out
A priority mode can only move its setting as far as the camera allows. When it hits the end, most cameras blink that value in the viewfinder. Change your own setting, the ISO, or add an ND filter.
Changing the metering mode
A different metering mode changes the meter's suggestion. In A, S or P the camera follows it, so the setting the camera controls changes. In M with Auto ISO, the ISO changes. In M with a fixed ISO, only the needle moves; the photo stays as you set it.
Exposure compensation
The meter often treats what it sees as a middle tone. That can turn snow grey or make a dark stage too bright. Use exposure compensation (+/−) to correct its guess: + makes the photo brighter; − makes it darker. It works when the camera chooses a setting: in A / Av, S / Tv and P, or often in M with Auto ISO. In M with a fixed ISO, you choose aperture, shutter and ISO, so +/− only moves the meter's guide. The photo stays the same.
Try it in the lab
- In A / Av, drag compensation to +1. The camera slows the shutter by one stop, and the histogram slides right.
- Keep going to +2. Zebras cover the sky and the histogram hits the right wall.
- Pull it back until the zebras almost disappear. That is the brightest exposure that keeps the sky.
Rules of thumb
- Snow, beach, white wedding dress
- +1 to +2
- Backlit person, sun behind them
- +1 to +2
- Bright sky taking up half the frame
- +⅔ to +1
- Dark background, spotlit subject
- −1 to −2
- Sunset, to keep the colour rich
- −⅔ to −1
Reading the histogram
A histogram is a bar chart of brightness. Black is on the left, white on the right, and the height shows how much of the picture has that brightness. It is the same whatever the screen brightness or the room you're in, so trust it over how the photo looks on the back of the camera.
There is no perfect shape
The shape follows the scene. A snowy field should sit to the right and a night street to the left. Check the walls for clipping, then decide whether the clipped areas matter to your photo. A brightness histogram can also miss a clipped colour channel; use an RGB histogram if your camera offers one. See Nikon's histogram guide.
Zebras and blinkies
Many cameras can mark the clipped parts for you: zebras (moving stripes in the live view) or blinkies (flashing areas in playback). A clipped sun or street lamp is normal. A clipped face, cloud or white dress is worth fixing.
If you shoot RAW, treat camera warnings as guides to the preview: RAW editing can sometimes recover detail that appears clipped there. Nikon's RAW editing manual shows this difference.
How the histogram is plotted
The camera builds the histogram from the preview picture, pixel by pixel. Below, a photo is shrunk to 1,440 big pixels so you can see every one of them counted. Tap a bar to light up the pixels in it.
Dashed lines: where 1, 2, 3… stops below white land. Tap a bar, or slide along the bars; tap it again to clear.
1/3 stop per step, applied to the light before it's encoded, as in the camera.
Three steps
- Find each pixel's brightness. A pixel has red, green and blue values from 0 to 255. The brightness histogram mixes them roughly the way your eye does, with green counting most:
Y = 0.2126 R + 0.7152 G + 0.0722 B
- Drop it into a bin. With 256 bins, a pixel of brightness 118 adds one to bin 118. Fewer bins group neighbouring values; this lab uses 32 bins of 8 values:
bin = ⌊ Y × bins ÷ 256 ⌋
- Draw one bar per bin. Its height is how many pixels landed there, scaled so the tallest bar fits. So heights show proportions, not a number of pixels, and all the bars together add up to every pixel in the picture.
Brightness or RGB?
An RGB histogram does the same count three times, once each for red, green and blue. It can show a clipped colour the brightness histogram hides: a bright red flower can push red to 255 while its brightness, with red counting only 21%, is around 60 to 80, nowhere near the right wall.
What it's counted from
The camera counts the JPEG preview, after its picture style and white balance, not the RAW file. That's why changing the picture style can change the histogram, and why a RAW file can sometimes hold a little more highlight detail than the histogram shows.
Where the stops fall
Each stop down halves the light, but the 0–255 values aren't light: they're encoded with a curve (the sRGB gamma, about light1/2.2) that spreads the dark tones out. So the stops sit unevenly across the histogram, getting narrower towards the shadows.
| Stops below white | Light | Value (0–255) | Width of that stop |
|---|---|---|---|
| 0 (white) | 100% | 255 | |
| −1 | 50% | 188 | 67 values |
| −2 | 25% | 137 | 51 values |
| −2½ (middle grey) | 18% | 118 | |
| −3 | 12.5% | 99 | 38 values |
| −4 | 6.25% | 71 | 28 values |
| −5 | 3.1% | 49 | 22 values |
What that means when you change exposure
One stop brighter doesn't slide the histogram a fixed distance. Middle grey moves from 118 to 162, but a tone at 188 moves all the way to 255, and anything brighter piles up against the right wall as pure white. Try it with the exposure slider above.
Middle grey at 118 sits a little left of centre, which is why a well-exposed everyday scene often has its bulk just left of the middle. Camera JPEGs add their own contrast curve on top of sRGB, so real positions shift a little from these numbers.