Advanced Pixel BlendingBlending pixel layers lets you do things that you simply can't do by adjusting a single image. One situation where we blend pixel layers is when we want to extend the apparent dynamic range of digital captures. Of course, the best way to do this is to take several bracketed exposures and merge them to a 32-bit floating point HDR (High Dynamic Range) image. But that requires planning, a hefty tripod, and a subject that moves little if at all.It may seem that it's pointless to blend different renderings of a single digital capture. After all, all the data is in the capture, so why not simply edit it to get the results you want? We feel that there are two reasons.It's extremely difficult to get everything right from a single rendering of the image.Most cameras capture 12 bits of data. By blending multiple renderings of the 12-bit capture, you can populate more levels in 16-bit space than you can by stretching and squeezing the original 12 bits. Figure 7-46 shows an "impossible" image produced just this way. Figure 7-46. An impossible imageFigure 7-47. Three renderings from Camera RawChapter 11, Building a Digital Workflow.) Combining the Pixel LayersWe always start with the lightest layer and add the darker ones, because it makes the masking much easier. Why? Because a very good starting point is to load the luminosity of the lightest layer as a selection, and use it as the layer mask for the darker layer. That way, the shadow detail in the lightest layer gets preserved, while the blown-out areas are replaced by the darker layer.We start by opening the first rendering in Photoshop. Then we open the second rendering, select all, copy, and paste it into the first rendering, where it appears as a new layer. Loading the luminosity as a selectionOur next step is to mask the pasted layer. As we just noted, the best starting point for the mask is to load the Luminosity of the Background layer as a selection, using either of the following methods.Hide all layers except the Background and then Command-click on the RGB channel tile in the Channels palette.Hide all layers except the Background and then press Command-Option-~(tilde). Mac users take note that OS 10.4 and later hijacks this useful keyboard shortcut to "Move Focus to Window Drawer," but you can reassign it or turn it off in System Preferences. A key point in either case is that the selection that gets loaded is the combined luminosity of all visible layersthat's why you have to "solo" the background layer, which you can do quickly by Option-clicking the Background layer's eyeball icon in the layers palette. Figure 7-48 shows the layers before and after masking. Figure 7-48. Layer masking[View full size image] Figure 7-49. Adding and masking the third layer[View full size image] Figure 7-50. Tweaking the layer opacities[View full size image] Producing the final imageTo get from here to the result shown back in Figure 7-46, we used masked layers set to Multiply to darken, Screen to lighten, and Soft Light to add contrast. We left all the layers at 100 percent opacity and used the layer masks to control them.On this image, the process was iterative, bouncing back and forth between the layers, and in all honesty it's unlikely that we'd be able to produce absolutely identical results twice in a row, though we'd come pretty close. Figure 7-51 shows the almost-final image, with layers applied to add contrast (Soft Light), lighten (Screen), and darken (Multiply). Figure 7-51. Fine-tuning with blend modes[View full size image] Alternative workflowsIn this example, we created three separate DNG files by saving them from Camera Raw with their respective settings, then opened them in Photoshop and copied-and-pasted to get them all into the same document. But there other useful ways to handle the task of combining multiple renderings of the same raw image.Edit and Open in Camera Raw without saving settings. If the edits needed to produce the different renderings are simple enough, it's probably not worth saving them as separate settings. Instead, you can open the raw file in Camera Raw hosted by Photoshop (this doesn't work when Camera Raw is hosted by Bridge), and Option-click the Open button (it changes to Open a Copy when Option is pressed) to open a copy of the image without updating the Camera Raw settings.This technique is useful when you want to produce a few different renderings quickly without altering the "master" settings for a raw file. Once the images are open in Photoshop, the techniques for combining them are the same as in the example we've just covered.Place Smart Objects. Another alternative is to place the raw file multiple times into a Photoshop document as Smart Objects. That way, you can edit the settings for each rendering by simply double-clicking the layer thumbnail for the raw-place-as-Smart Objectit opens the the image up in Camera Raw and lets you edit the settings, which are applied only to that specific Smart Object.Our enthusiasm for this workflow is tempered by two considerations, though. You have to create a Photoshop document with the correct dimensions before you start placing the Smart Objects, and while you can edit the images in place, you don't see them in the context of the other layers. So it makes changing the individual renderings a little quicker than going back to the raw file, editing it, and opening a new version, but it doesn't make getting the settings right any easier. One of the most appealing aspects of layer-based editing is its nondestructive naturethe edits aren't committed until you flatten the filebut sometimes, you can take nondestructive editing so far that you create extremely complex files that are both large and hard to understand. So don't be overly afraid to mix a little destructive editing in with the nondestructive stuff. Remember that you can edit pixel layers directly, and sometimes, it's a good idea to do so. If you're nervous about making edits without an escape route, there's one more Photoshop feature that provides a handy fallback positionthe History palette. |