One of the biggest problems with color films and DSLRs is the limited dynamic range. Print films tend to have around five stops of dynamic range. Slide films only have about three. DSLRs usually have about five stops, perhaps a bit more. Meanwhile, mother nature can produce ten or more stops of dynamic range in the real world. This produces a dilemma. Most sensors and film can not capture the entire dynamic range of many scenes. Consequently, images often lose detail in either the shadows (which block up to black) or the highlights (which blow out to white), or both. Long ago, film photographers developed a method of dealing with this problem that allowed photographers to capture a larger dynamic range. The solution is called a graduated neutral density filter. Part of the graduated neutral density filter is clear and part is a neutral gray. In use, the dividing line (edge) between the clear and gray portions of the filter is placed along the horizon (or any other dividing line between the brightest and less bright portions of the image). The gray part of the filter is placed over the sky (or other bright part of the scene). The clear part of the filter is placed over the rest of the scene. This allows photographers to reduce the intensity of the light from the brightest parts of the image while leaving the intensity of the light from the rest of the scene unaffected.
In many cases, this is a very good solution. However, it does have its drawbacks.
Digital photographers can use the same graduated neutral density filters that film photographers use. However, digital photographers also have an additional option. This option is often referred to as a digital graduated neutral density filter. In reality, it isn't a filter at all, but rather a technique that involves shooting the scene with two different exposures. One exposure is set to bring out the detail in the shadows and midtones (this image is given more exposure). The other exposure is set to protect the detail in the highlights (this image is given less exposure). Of course, the camera must be mounted on a tripod in order to ensure that the two images are identical except for the exposure. One of the best ways to get these shots is to place the camera on a tripod, set the camera to auto bracket, and use a shutter release. That way, the camera is not touched between shots.
The two shots are then combined in Photoshop (or another image editing program that supports layers) with the use of a mask that will blend the images. This allows for the highlight detail to be taken from the image that received less exposure and the rest of the detail to be taken from the image that received more exposure.
There are different ways of combining the images with a mask. This article will cover two: the Gradient tool method and the Lasso tool method.
Figures 1 and 2 show a scene that contained a dynamic range greater than the DSLR could handle. So, two images were taken. The exposure for the first image was set for the foreground, but this exposure blew out some of the detail in the clouds. The exposure for the second image was set for the sky. This exposure produced good sky detail, but it lost detail in the darkest parts of the image. Combining these two images in Photoshop will produce a final image with both foreground and sky detail (keep in mind that the rock in this image is supposed to be very dark since it is in silhouette; however, the water in the tidepools should have detail).




Image 2 is now added to Image1 by the following steps:

Now, both images are in the same file, and the Layers palette looks like Figure 5


In order to produce and use the mask that will combine the two layers, a layer mask is added to the Sky layer. This is done by selecting the Sky layer and choosing Layer/Layer Mask/Reveal All. The Layers palette now looks as shown in Figure 7.

Once the Gradient tool is selected, the Gradient Tool options will appear in the Options bar (see Figure 9). In the options bar, the Linear Gradient is chosen, the Mode is set to Normal, the Opacity is set to 100%, the Reverse box is unchecked, the Dither box is checked, and the Transparency box is checked.



The last controls that need to be set are the left Color Stop (the small rectangular object just below the Gradient Bar at the left end) and the right Color Stop (the small rectangular object just below the Gradient Bar at the right end). These settings are critical. They determine how fast the mask will progress from black to white. The farther apart the two stops are, the more gradual the transition will be. Since the Gradient Tool will be used to create the mask, this will determine how fast the mask will progress from black to white. Subsequently, this will determine how the two images will blend.
To determine the proper Color Stop settings for an image, the image needs to be analyzed to determine how the mask (and thus the gradient) should appear. For the current image, the mask will start a little bit below the horizon. The mask will start off black. Since the mask will be applied to the layer mask of the Sky layer, this will ensure that the detail in the image, where the mask starts, will come from the Background layer. As the mask moves across the ocean and toward the sky, it will become lighter. Thus, the detail in the image will transition from being sourced from the Background layer to being sourced from the Sky layer. By the time the mask reaches the horizon, most of the transition from black to white should be complete (the transition will be less noticeable if it occurs over the dark ocean than if it occurs over the much lighter sky).
To achieve such a mask through the use of a gradient, the left Color Stop is moved all the way to the left (this guarantees that the gradient will start its transition to white right away; if the left Color Stop were moved to the right, the gradient would stay solid black for some distance). Since this image requires that the transition be relatively short (so that the transition is complete by the time the mask reaches the horizon) the right Color Stop must be moved quite a ways toward the left. Figure 12 shows the Gradient Editor after the Color Stops have been set.
Clicking OK closes the Gradient Editor.







The Gradient Tool method works great when there is a relatively straight division between the light and dark areas. When the division is more complicated, another approach is required. This is where the Lasso Tool method comes in.
Figures 19 and 20 show another scene that contained a dynamic range greater than the DSLR could handle. So, again, two images were taken. The exposure for the first image was set for the foreground. The exposure for the second image was set for the sky (which allowed the detail in the small moon to be captured). Combining these two exposures will allow for a final image that covers a larger dynamic range than either of the individual images could have handled.












The selection is now ready to be used to create a mask. With the Sky layer selected, the mask is added by choosing Layer/Layer Mask/Reveal Selection.
The Layers Palette with the Sky layer mask is shown in Figure 30. The mask is shown in Figure 31.




The digital graduated neutral density filter is a powerful tool that can substantially improve the highlight and/or shadow detail in images of wide dynamic range scenes. In addition, the ability to design masks to fit the particular requirements of individual images gives the technique a large amount of flexibility. Maybe best of all, this graduated neutral density filter costs nothing!