Photography - Camera Exposure

exposure bucket analogy diagram
Achieving the correct exposure is a lot like collecting rain in a bucket. While the rate of rainfall is uncontrollable, three factors remain under your control: the bucket's width, the duration you leave it in the rain, and the quantity of rain you want to collect. You just need to ensure you don't collect too little ("underexposed"), but that you also don't collect too much ("overexposed"). The key is that there's many different combinations of width, time and quantity that will achieve this. For example, for the same quantity of water, you can get away with less time in the rain if you pick a bucket that's really wide. Alternatively, for the same duration left in the rain, a really narrow bucket can be used as long as you plan on getting by with less water.
In photography, the exposure settings of aperture, shutter speed and ISO speed are analogous to the width, time and quantity discussed above. Furthermore, just as the rate of rainfall was beyond your control above, so too is natural light for a photographer.

exposure triangle
Each setting controls exposure differently:
Aperture: controls the area over which light can enter your camera
Shutter speed: controls the duration of the exposure
ISO speed: controls the sensitivity of your camera's sensor to a given amount of light
One can therefore use many combinations of the above three settings to achieve the same exposure. The key, however, is knowing which trade-offs to make, since each setting also influences other image properties. For example, aperture affects depth of field, shutter speed affects motion blur and ISO speed affects image noise.
The next few sections will describe how each setting is specified, what it looks like, and how a given camera exposure mode affects their combination.

A camera's shutter determines when the camera sensor will be open or closed to incoming light from the camera lens. The shutter speed specifically refers to how long this light is permitted to enter the camera. "Shutter speed" and "exposure time" refer to the same concept, where a faster shutter speed means a shorter exposure time.
By the Numbers. Shutter speed's influence on exposure is perhaps the simplest of the three camera settings: it correlates exactly 1:1 with the amount of light entering the camera. For example, when the exposure time doubles the amount of light entering the camera doubles. It's also the setting that has the widest range of possibilities:
Shutter SpeedTypical Examples
1 - 30+ secondsSpecialty night and low-light photos on a tripod
2 - 1/2 secondTo add a silky look to flowing water
Landscape photos on a tripod for enhanced depth of field
1/2 to 1/30 secondTo add motion blur to the background of a moving subject
Carefully taken hand-held photos with stabilization
1/50 - 1/100 secondTypical hand-held photos without substantial zoom
1/250 - 1/500 secondTo freeze everyday sports/action subject movement
Hand-held photos with substantial zoom (telephoto lens)
1/1000 - 1/4000 secondTo freeze extremely fast, up-close subject motion
How it Appears. Shutter speed is a powerful tool for freezing or exaggerating the appearance of motion:
example photo with a slow shutter speed example photo with a fast shutter speed
Slow Shutter SpeedFast Shutter Speed
With waterfalls and other creative shots, motion blur is sometimes desirable, but for most other shots this is avoided. Therefore all one usually cares about with shutter speed is whether it results in a sharp photo — either by freezing movement or because the shot can be taken hand-held without camera shake.
How do you know which shutter speed will provide a sharp hand-held shot? With digital cameras, the best way to find out is to just experiment and look at the results on your camera's rear LCD screen (at full zoom). If a properly focused photo comes out blurred, then you'll usually need to either increase the shutter speed, keep your hands steadier or use a camera tripod.
For more on this topic, see the tutorial on Using Camera Shutter Speed Creatively.

A camera's aperture setting controls the area over which light can pass through yourcamera lens. It is specified in terms an f-stop value, which can at times be counterintuitive, because the area of the opening increases as the f-stop decreases. In photographer slang, the when someone says they are "stopping down" or "opening up" their lens, they are referring to increasing and decreasing the f-stop value, respectively.
lens aperture settings
By the Numbers. Every time the f-stop value halves, the light-collecting area quadruples. There's a formula for this, but most photographers just memorize the f-stop numbers that correspond to each doubling/halving of light:
Aperture SettingRelative LightExample Shutter Speed
f/221X16 seconds
f/162X8 seconds
f/114X4 seconds
f/8.08X2 seconds
f/5.616X1 second
f/4.032X1/2 second
f/2.864X1/4 second
f/2.0128X1/8 second
f/1.4256X1/15 second
The above aperture and shutter speed combinations all result in the same exposure.
Note: Shutter speed values are not always possible in increments of exactly double or half another shutter speed, but they're always close enough that the difference is negligible.
The above f-stop numbers are all standard options in any camera, although most also allow finer adjustments, such as f/3.2 and f/6.3. The range of values may also vary from camera to camera (or lens to lens). For example, a compact camera might have an available range of f/2.8 to f/8.0, whereas a digital SLR camera might have a range of f/1.4 to f/32 with a portrait lens. A narrow aperture range usually isn't a big problem, but a greater range does provide for more creative flexibility.
Technical Note: With many lenses, their light-gathering ability is also affected by their transmission efficiency, although this is almost always much less of a factor than aperture. It's also beyond the photographer's control. Differences in transmision efficiency are typically more pronounced with extreme zoom ranges. For example, Canon's 24-105 mm f/4L IS lens gathers perhaps ~10-40% less light at f/4 than Canon's similar 24-70 mm f/2.8L lens at f/4 (depending on the focal length).
How it Appears. A camera's aperture setting is what determines a photo's depth of field(the range of distance over which objects appear in sharp focus). Lower f-stop values correlate with a shallower depth of field:
example photo with a wide aperture settingexample photo with a narrow aperture setting
Wide Aperture
f/2.0 - low f-stop number
shallow depth of field
Narrow Aperture
f/16 - high f-stop number
large depth of field

The ISO speed determines how sensitive the camera is to incoming light. Similar to shutter speed, it also correlates 1:1 with how much the exposure increases or decreases. However, unlike aperture and shutter speed, a lower ISO speed is almost always desirable, since higher ISO speeds dramatically increase image noise. As a result, ISO speed is usually only increased from its minimum value if the desired aperture and shutter speed aren't otherwise obtainable.
low ISO speedhigh ISO speed
Low ISO Speed
(low image noise)
High ISO Speed
(high image noise)
note: image noise is also known as "film grain" in traditional film photography
Common ISO speeds include 100, 200, 400 and 800, although many cameras also permit lower or higher values. With compact cameras, an ISO speed in the range of 50-200 generally produces acceptably low image noise, whereas with digital SLR cameras, a range of 50-800 (or higher) is often acceptable.

camera mode dial
Most digital cameras have one of the following standardized exposure modes: Auto (green rectangle), Program (P), Aperture Priority (Av), Shutter Priority (Tv), Manual (M) and Bulb (B) mode. Av, Tv, and M are often called "creative modes" or "auto exposure (AE) modes."
Each of these modes influences how aperture, ISO and shutter speed are chosen for a given exposure. Some modes attempt to pick all three values for you, whereas others let you specify one setting and the camera picks the other two (if possible). The following charts describe how each mode pertains to exposure:
Exposure ModeHow It Works
Auto (green rectangle)Camera automatically selects all exposure settings.
Program (P)Camera automatically selects aperture & shutter speed; you can choose a corresponding ISO speed & exposure compensation. With some cameras, P can also act as a hybrid of the Av & Tv modes.
Aperture Priority (Av or A)You specify the aperture & ISO; the camera's metering determines the corresponding shutter speed.
Shutter Priority (Tv or S)You specify the shutter speed & ISO; the camera's metering determines the corresponding aperture.
Manual (M)You specify the aperture, ISO and shutter speed — regardless of whether these values lead to a correct exposure.
Bulb (B)Useful for exposures longer than 30 seconds. You specify the aperture and ISO; the shutter speed is determined by a remote release switch, or by the duration until you press the shutter button a second time.
In addition, the camera may also have several pre-set modes; the most common include landscape, portrait, sports and night mode. The symbols used for each mode vary slightly from camera to camera, but will likely appear similar to those below:
Exposure ModeHow It Works
Portrait
portrait mode
Camera tries to pick the lowest f-stop value possible for a given exposure. This ensures the shallowest possible depth of field.
Landscape
landscape mode
Camera tries to pick a high f-stop to ensure a large depth of field. Compact cameras also often set their focus distance to distant objects or infinity.
Sports/Action
sports/action mode
Camera tries to achieve as fast a shutter speed as possible for a given exposure — ideally 1/250 seconds or faster. In addition to using a low f-stop, the fast shutter speed is usually achieved by increasing the ISO speed more than would otherwise be acceptable in portrait mode.
Night/Low-light
Camera permits shutter speeds which are longer than ordinarily allowed for hand-held shots, and increases the ISO speed to near its maximum available value. However, for some cameras this setting means that a flash is used for the foreground, and a long shutter speed and high ISO are used expose the background.Check your camera's instruction manual for any unique characteristics.
However, keep in mind that most of the above settings rely on the camera's meteringsystem in order to know what's a proper exposure. For tricky subject matter, metering can often be fooled, so it's a good idea to also be aware of when it might go awry, and what you can do to compensate for such exposure errors (see section on exposure compensation within the camera metering tutorial).
Finally, some of the above modes may also control camera settings which are unrelated to exposure, although this varies from camera to camera. Such additional settings might include the autofocus points, metering mode and autofocus modes, amongst others.

Photography - Digital Camera Sensor

A digital camera uses a sensor array of millions of tiny pixels in order to produce the final image. When you press your camera's shutter button and the exposure begins, each of these pixels has a "photosite" which is uncovered to collect and store photons in a cavity. Once the exposure finishes, the camera closes each of these photosites, and then tries to assess how many photons fell into each. The relative quantity of photons in each cavity are then sorted into various intensity levels, whose precision is determined by bit depth(0 - 255 for an 8-bit image).
Digital Camera SensorLight Cavities


Each cavity is unable to distinguish how much of each color has fallen in, so the above illustration would only be able to create grayscale images. To capture color images, each cavity has to have a filter placed over it which only allows penetration of a particular color of light. Virtually all current digital cameras can only capture one of the three primary colors in each cavity, and so they discard roughly 2/3 of the incoming light. As a result, the camera has to approximate the other two primary colors in order to have information about all three colors at every pixel. The most common type of color filter array is called a "Bayer array," shown below.
Color Filter Array
Bayer Array
Color Filter
A Bayer array consists of alternating rows of red-green and green-blue filters. Notice how the Bayer array contains twice as many green as red or blue sensors. Each primary color does not receive an equal fraction of the total area because the human eye is more sensitive to green light than both red and blue light. Redundancy with green pixels produces an image which appears less noisy and has finer detail than could be accomplished if each color were treated equally. This also explains why noise in the green channel is much less than for the other two primary colors (see "Understanding Image Noise" for an example).
Original Scene
(shown at 200%)
What Your Camera Sees
(through a Bayer array)
Note: Not all digital cameras use a Bayer array, however this is by far the most common setup. The Foveon sensor used in Sigma's SD9 and SD10 captures all three colors at each pixel location. Sony cameras capture four colors in a similar array: red, green, blue and emerald green.

Bayer "demosaicing" is the process of translating this Bayer array of primary colors into a final image which contains full color information at each pixel. How is this possible if the camera is unable to directly measure full color? One way of understanding this is to instead think of each 2x2 array of red, green and blue as a single full color cavity.
Bayer ArrayConverted Bayer Array
This would work fine, however most cameras take additional steps to extract even more image information from this color array. If the camera treated all of the colors in each 2x2 array as having landed in the same place, then it would only be able achieve half the resolution in both the horizontal and vertical directions. On the other hand, if a camera computed the color using several overlapping 2x2 arrays, then it could achieve a higher resolution than would be possible with a single set of 2x2 arrays. The following combination of overlapping 2x2 arrays could be used to extract more image information.
Note how we did not calculate image information at the very edges of the array, since we assumed the image continued on in each direction. If these were actually the edges of the cavity array, then calculations here would be less accurate, since there are no longer pixels on all sides. This is no problem, since information at the very edges of an image can easily be cropped out for cameras with millions of pixels.
Other demosaicing algorithms exist which can extract slightly more resolution, produce images which are less noisy, or adapt to best approximate the image at each location.

Images with small-scale detail near the resolution limit of the digital sensor can sometimes trick the demosaicing algorithm—producing an unrealistic looking result. The most common artifact is moirĂ© (pronounced "more-ay"), which may appear as repeating patterns, color artifacts or pixels arranges in an unrealistic maze-like pattern:


Two separate photos are shown above—each at a different magnification. Note the appearance of moirĂ© in all four bottom squares, in addition to the third square of the first photo (subtle). Both maze-like and color artifacts can be seen in the third square of the downsized version. These artifacts depend on both the type of texture and software used to develop the digital camera's RAW file.

You might wonder why the first diagram in this tutorial did not place each cavity directly next to each other. Real-world camera sensors do not actually have photosites which cover the entire surface of the sensor. In fact, they often cover just half the total area in order to accommodate other electronics. Each cavity is shown with little peaks between them to direct the photons to one cavity or the other. Digital cameras contain "microlenses" above each photosite to enhance their light-gathering ability. These lenses are analogous to funnels which direct photons into the photosite where the photons would have otherwise been unused.
Microlens Array Diagram
Well-designed microlenses can improve the photon signal at each photosite, and subsequently create images which have less noise for the same exposure time. Camera manufacturers have been able to use improvements in microlens design to reduce or maintain noise in the latest high-resolution cameras, despite having smaller photosites due to squeezing more megapixels into the same sensor area.
For further reading on digital camera sensors, please visit:
Digital Camera Sensor Sizes: How Do These Influence Photography?