Initial Optimization


I optimize for both source and content in a single process, because once the optimizations are done I can flatten the image to keep file sizes under control. With digital capture and larger-format film scans, you can use the same sharpening layer to optimize for both source and content. With 35mm film, or with high-speed medium- and large-format film, you may need to apply noise reduction as well as sharpening.

Source Optimization for Digital Capture

The goal in source optimization is to counteract the softening effects of the demosaicing process, and when present, the antialiasing filter. I do this using a sharpening layer set to Luminosity blending, with the Blend If sliders set to protect the highlights and shadows, concentrating the sharpening on the midtones. The sharpening Radius setting depends on the megapixel count of the camera, while the sharpening Amount depends on the strength of the antialiasing filter.

Creating a Sharpening Layer

The process starts with the creation of a sharpening layer, which is a simple, but detailed, process:

  • Create a new layer by clicking the New Layer icon on the Layers palette, or by choosing New>Layer from the Layer menu.

  • Press Option while choosing Merge Visible from the Layer menu, or press Command-Option-Shift-E.

  • Set the newly created layer to Luminosity blend mode, 66 percent opacity.

  • Double-click the layer's tile in the Layers palette to open the Layer Style dialog box, then set the Blend If sliders to the settings shown in Figure 5-1.

    Figure 5-1. Blend If settings for sharpening layer

Note that these Blend If settings are optimized for the gamma 1.8 tone curve of my preferred Photoshop working space, ProPhoto RGB. If you prefer a gamma 2.2 space such as Adobe RGB, try Black Minimum 20, Black Maximum 80, White Minimum 145, White Maximum 235 instead.

Automating the Sharpening Layer

Repetitive and fiddly tasks such as creating a sharpening layer cry out for automation! You can make a simple action to create the sharpening layer as follows.

  • In the Actions palette, create a new Action set by clicking the New Set button in the Actions palette, then, in the ensuing dialog box, name the set "Sharpening." The new set appears at the bottom of the Actions palettesee Figure 5-2.

    Figure 5-2. Create an action set

  • Click the New Action button in the Actions palette, name the action "Sharpening Layer" in the ensuing dialog box, then click Recordsee Figure 5-3.

    Figure 5-3. Create an action

  • Click the New Layer button in the Layers palette to add a new layer, then press Command-Option-Shift-E (or hold down Option while choosing Merge Visible from the Layer menu) to fill the new layer with a merged copy of the imagesee Figure 5-4.

    Figure 5-4. Add a new layer.

  • Double-click the new layer's tile in the Layers palette to open the Layer Styles dialog box, then set the blend mode to Luminosity, the opacity to 66 percent, and both Blend If sliders to Black Minimum 20, Black Maximum 75, White Mimimum 185, White Maximum 235, and click OK to close the dialog boxsee Figure 5-5.

    Figure 5-5. Set blend mode, opacity and Blend If sliders.

  • Choose Layer>Arrange>Bring to Front or press Command-Shift-] to move the new layer to the top of the layer stack. Last but not least, double-click the new layer's name in the Layers palette to make it editable, then name it with a name you'll understand (I use "Presharpen") and click the Stop button in the Actions palette to stop recordingsee Figure 5-6.

    Figure 5-6. Complete the action.

Now you can use the action you just created to add a sharpening layer to any image. Note, however, that this action will fail if you run it when the currently selected layer is inside an open layer groupthe sharpening layer will appear as the top layer in the group rather than as the top layer in the stack. All the workarounds I know create other dependencies, and you can easily work around this one by dragging the layer out of the group and placing it at the top of the stack if necessary.

Note too that you can't simply record dragging the layer to the top of the stack: doing so records the relative position of the layer in the document at hand rather than the absolute, top-of-the-stack position. You must use Layer>Arrange>Bring to Front, or its keyboard shortcut.

Sharpening for Image Source

Source optimization for most digital captures can be done with a single application of Unsharp Mask, tuned to the camera's sensor. The Radius setting is related to the megapixel count of the sensor, while the Amount is determined by the amount of antialiasing in the camera's optics.

Since the layer is constrained by both the Blend If sliders and the layer opacity controls, you can apply surprisingly strong doses of Unsharp Mask during this first phase of sharpening. One difference between film and digital is that with the former, the ability to resolve fine detail degrades gradually, while with the latter, there's a fairly sharp cutoff. You want to set the Radius to the smallest value that still reveals detail. Figure 5-7 shows images from two 6-megapixel cameras.

Figure 5-7. Six-megapixel cameras compared


While both cameras capture 6 megapixels, the Kodak DCS 460, which lacks an antialiasing filter, produces a considerably sharper image than the Canon EOS 300D, which contains a fairly aggressive antialiasing filter. So the image from the Canon camera both requires and can tolerate a much stronger sharpening at this stage than can the Kodak camera.

Since both cameras are 6-megapixel cameras, they both take the same Radius setting of 0.6 pixelsa higher Radius starts to block fine detail and a lower one fails to reveal any additional detail. Table 5-1 shows suggested Radius settings for different-density sensors. If you're lucky enough to work with a very high megapixel camera, you may want to try an even smaller radius, but the effect of Radius 0.3 is dramatically weaker than that of Radius 0.4. Figure 5-8 shows the same image details after sharpening for source. The Canon camera received a much stronger correction, but the two images have approximately the same apparent sharpness.

Table 5-1. Megapixels and Radius

Megapixel count

Sharpening Radius

4 megapixels

1 pixel

6 megapixels

0.6 pixel

8 megapixels

0.5 pixel

11 megapixels

0.4 pixel


Figure 5-8. Six-megapixel cameras sharpened for source


Both images will require further sharpening, but this first sharpening step removes a good deal of softness and helps produce a better layer mask to use in the subsequent sharpening steps.

Source Optimization for Film Scans

It's quite a bit harder to make generalizations about film scans than about digital capture because more variables are involvedthe scanner, the scan resolution, the film speed, and the film format all make their contributions. The goal, however, is always to improve the relationship between the detail we want to sharpen and the noise we want to mitigate or eliminate.

As a result, source optimization for film may use a sharpening layer just like source optimization for digital captures, or it may entail prior use of a noise reduction layer before sharpening.

The Need for Noise Reduction

Most film scans can benefit from some degree of noise reduction. The exceptions are relatively low-resolution scans of medium- and large-format film, where the scanner hasn't yet begun to detect grain. Bear in mind that grain shows up in scans at much lower resolutions than are required to resolve the grain.

Film scans from 35mm format almost always benefit from some noise reduction, unless the scans are very low-resolution. With larger formats, negatives are more likely to demand noise reduction than positives, because the noise is exaggerated when the very narrow dynamic range of the film is edited to provide a full-range image, and higher-resolution scans may benefit from noise reduction more than lower-resolution ones simply because they reveal more of the grain.

The best rule of thumb I can offer is, if sharpening through a sharpening layer makes the grain significantly more obvious, the image is a good candidate for noise reduction before sharpening!

Gentle Noise Reduction and Sharpening

For mild noise reduction followed by sharpening for source, I use a normal layer created by using Option-Merge Visible, and a mild application of the Reduce Noise filter. Then I create a sharpening layer using the same techniques I use for digital capture.

Figure 5-9 shows a high-resolution scan from 4x5 transparency film. It has relatively little noise, but still benefits from a mild round of noise reduction before sharpening for source. I prefer to perform noise reduction and sharpening on separate layers, because I may fine-tune the opacity of the noise reduction layer after doing the sharpening, but the resulting files do get very large.

Figure 5-9. Source optimization with gentle noise reduction


If file size is a critical concern, you can trade a modest amount of control for a substantially smaller file by flattening the image after applying noise reduction. What you don't want to do is to sharpen the noise reduction layer, because the Luminosity blend mode and the Blend If sliders are critical for source sharpening, but don't work well for noise reduction (and in fact don't work at all for color noise reduction). I'll point out other opportunities for reducing file size later in the workflow.

The effect of the noise reduction layer is quite subtle, but it makes the image much more able to withstand subsequent sharpening. Reduce Noise works well at mild settings such as the ones used on this image, and the sharpened version shows no trace of any artifacts created by the noise reduction process. I'm indebted to my friend and colleague Jeff Schewe for this image.

Moderate Noise Reduction and Sharpening

Figure 5-10 shows a scan from a 35mm transparency that requires stronger noise reduction than the previous example. The stronger grain of 35mm requires stronger Reduce Noise settings which soften the image noticeably, so I mitigate the effect by adding a layer mask to the Reduce Noise layer that protects the edges.

Figure 5-10. Reduce Noise on a masked layer


The addition of the edge mask to the noise reduction layer lets me apply enough noise reduction to reduce the grain in the sky without softening the important edges in the image too much. The addition of the sharpening layer essentially returns the image to its original sharpness, but with less grain.

Strong Noise Reduction with Despeckle

Figure 5-11 shows a 35mm color negative scan, which has the typical strong grain of scanned color neg. The Reduce Noise filter simply isn't strong enough to handle this kind of film grain (or rather, it creates unsharpenable images when the strength is turned up high enough to do so). Instead, I use the Despeckle filter.

Figure 5-11. Source optimization with strong noise reduction


The key to using Despeckle for aggressive noise reduction is to use it as little as possible, which means running it differentially on each channel. In the example in Figure 5-11, I ran Despeckle once on the red channel, twice on the green channel, and four times on the blue channel.

I then completed the source optimization by creating a sharpening layer using the action previously described in this chapter, and running Unsharp Mask on that layer with Amount at 200, Radius at 1.2, and Threshold at 0. The result is that the image has approximately the original sharpness but with a lot less grain.

Automating Source Optimization

You can extend the sharpening layer action I described earlier to cover the entire task of optimizing for image source (and, as you'll see later in this chapter, for content too). You have a choice as to the basic strategy, however:

  • You can create multiple actions with different preset settings, or

  • You can insert stops in a single action at the various decision points.

The choice is up to you. If you want to hand-tune every single image, inserting stops is a good way to go. If you need to batch-process hundreds or thousands of images, presets make more sense.

Automating Noise Reduction #1

Here's an action for creating a noise reduction layer and applying the Reduce Noise filter.

  • In the Actions palette, select the Sharpening set created in the previous action described earlier in this chapter, then click the New Action button in the Actions palette. Name the action "Noise Reduction" in the ensuing dialog box, then click Recordsee Figure 5-12.

    Figure 5-12. Create the Noise Reduction action.

  • Click the New Layer button in the Layers palette to add a new layer, then press Command-Option-Shift-E (or hold down Option while choosing Merge Visible from the Layer menu) to fill the new layer with a merged copy of the imagesee Figure 5-13.

    Figure 5-13. Add a new layer.

  • Choose Layer>Arrange>Bring to Front or press Command-Shift-] to move the new layer to the top of the layer stack. Last but not least, double-click the new layer's name in the Layers palette to make it editable, then name it (I use "Reduce Noise").

  • Run the Reduce Noise filter using your desired settings, then click the Stop button in the Actions palette to stop recording. To handle different Reduce Noise settings, you can either duplicate the action and re-record the Reduce Noise step (which you can do quickly by Option-double-clicking on that step in the action), or turn on the dialog box for this step, which will make the action open the Reduce Noise dialog box for user inputsee Figure 5-14.

    Figure 5-14. Varying the Reduce Noise step

Automating Noise Reduction #2

This action extends the previous one by adding a layer mask to the Reduce Noise layer. The goal of the layer mask is to make the noise reduction apply less to the edges than to the non-edges, not to block it completely, so the layer mask won't contain any solid black pixels.

  • Follow the steps for the previous action all the way through running Reduce Noise, but instead of stopping afterwards, choose Calculations from the Image menu. Set the layer for both Source 1 and Source 2 to Reduce Noise, set the Channel for Source 1 to Red and Source 2 to Green, and the Blending to Pin Light to create a new channelsee Figure 5-15.

    Figure 5-15. Create a new channel with Calculations.

  • Run the Find Edges filter, then apply Gaussian Blur with a 3-to-5-pixel Radius. The Radius setting depends on the scan resolution, with the lower value for low-resolution scans and the higher one for high-resolution scanssee Figure 5-16.

    Figure 5-16. Find Edges and Gaussian Blur

  • Use the Curves command to apply a two-point Curves adjustment with the first point at input 0, output 50 and the second point at input 195, output 230see Figure 5-17.

    Figure 5-17. Lighten the mask with a Curves adjustment.

  • Command-click the channel's thumbnail in the Channels palette, or click the Load Selection button at the bottom of the Channels palette, to load the channel as a selectionsee Figure 5-18.

    Figure 5-18. Load the channel as a selection.

  • Click the Add layer mask button in the Layers palette to add the channel to the Reduce Noise layer as a layer mask, then click the Stop button in the Actions palette to stop recordingsee Figure 5-19.

    Figure 5-19. Load the selection as a layer mask.

If you deal with a single scanner and film format, a single action should take care of the noise reduction duties. If you deal with different film formats or different scan resolutions, you can either duplicate the action and rerecord the Gaussian Blur and, optionally, the Curves adjustment steps, or you can toggle the dialog boxes on for these stepssee Figure 5-20.

Figure 5-20. Customize the action


Automating Noise Reduction #3

For heavy noise, such as color negative grain, the Reduce Noise filter simply doesn't do the job. Instead, I rely on the Despeckle filter. The following action runs Despeckle once on the red channel, twice on the green channel, and four times on the blue channel, which usually provides enough noise reduction.

  • Duplicate the previous action steps up to the point where you're ready to run the Reduce Noise filter (you may want to give the layer a different name, such as "Reduce Strong Noise"), then click Record and run the Despeckle filter instead. It applies to all three channels.

  • Select the green channel by clicking its tile in the channels palette, and run the Despeckle filter once more. The green channel has now had Despeckle applied twice.

  • Select the blue channel and run the Despeckle filter three times, so that the blue channel has been despeckled a total of four times, then click the Stop button to stop recording.

There are two ways to combine this action with the sharpening layer action described earlier in this chapter. You can copy the steps from the sharpening layer action into any or all of the noise reduction actions, or you can record an action that plays the previously recorded actions. If you opt for the latter route, it's a good idea to make sure that any action that calls other actions is saved in the same Action set as the actions it's calling; otherwise, if the called actions aren't available, it will fail. See Figure 5-21.

Figure 5-21. Combining actions


To complete the source optimization automation, you can record an action step that applies Unsharp Mask to the sharpening layer, either appended to the end of the sharpening layer action, or as a separate action that other actions can call.




Real World(c) Image Sharpening with Adobe Photoshop CS2(c) Industrial-Strength Production Techniques
Real World Image Sharpening with Adobe Photoshop CS2
ISBN: 0321449916
EAN: 2147483647
Year: 2007
Pages: 71
Authors: Bruce Fraser

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net