Hot Stuff

Weekly Contest
FREE AKVIS Sketch!
CreativePro.com Podcast
Don't miss it! Updated every Monday.
FREE Mags for Creative Pros!
Creativity, Website Magazine, and more!
Out of Gamut: A Two-Pass Approach to Sharpening in Photoshop
Bruce Fraser's two-pass method of sharpening images helps discerning Photoshop users get it right.
Written by Bruce Fraser on March 13, 2001
Related Articles
Related Reading
Two-Pass Sharpening
Several years ago, I started playing with the notion of doing two separate sharpening passes. The first, pre-sharpening pass aims simply to restore the sharpness lost when turning the image into pixels, whether by scanning or direct digital capture. The second pass is then tailored to the particular printing process that will be used.
Separating the two passes lets you address two very different issues separately -- the sharpness the image itself needs, and the sharpening the printing process requires -- and when done carefully this approach works very well indeed. Like most things in digital imaging, however, when done carelessly, two-pass sharpening can make a pig's ear of your image.
First Pass
As your first pass, if you simply apply a gentle sharpening to the entire image with the Unsharp Mask filter, your image will look great -- but only until you try to sharpen it again for output. At that point, you'll quickly find that textured areas start to look crunchy, and that noise pixels pop out like stars behind the new moon.
A much better approach is to create an edge mask -- a mask that selects only the high-contrast edges, leaving the rest of the image protected -- and to apply modest pre-sharpening through the mask. In extreme cases, when the image is very noisy, you can even invert the edge mask and apply some kind of gentle blurring or smoothing, which lets you not only avoid sharpening the noise in the image but also actually suppress some of it; I usually use the Dust and Scratches filter with as low a radius and as high a threshold setting as possible, but Median and Gaussian Blur also work for this. In most cases, though, a slight boost to the contrast along edges is all that's required.
Making an Edge Mask
Adobe Photoshop offers many tools for making masks. Here's one technique I've found useful and reliable. Figure 2 shows the image before pre-sharpening.

Figure 2: Before pre-sharpening
I start by duplicating the image (as a matter of convenience when working with an 8-bit-per-channel image and as a matter of necessity with high-bit images, because most of the tools used in this technique aren't available when editing high-bit images). Then I convert to grayscale, using whichever conversion method provides the best contrast along the edges that need sharpening. Which method works best for you will depend on the image you're working with, and this topic alone could fill an entire article. Often, though, simply duplicating one of the individual color channels using the Channels palette works well. In other cases, I may use the Channel Mixer or Calculations to blend two or more color channels into a grayscale version. If you're starting with a high-bit image, you also need to downsample the duplicate to 8 bits per channel by choosing 8 Bits/channel from the Mode submenu on the Image menu. In this case, I simply duplicated the Green channel into a new document, shown in Figure 3.

Figure 3: Image converted to grayscale, in this case by duplicating the green channel into a new document.
The next task is to isolate the edges. The easiest way to do so is to run the appropriately named Find Edges filter, which you can find on the Stylize submenu in the Filter menu. This produces the result shown in Figure 4.

Figure 4: Here we isolated the images using the Find Edges filters.
This does a reasonable job of finding the high-contrast edges in the image, but it also picks up some noise (in this case, the noise is film grain from ISO 400 color negative, but in other images it may pick up scanner noise, or a noisy blue channel in a digital capture). So I need to tweak the mask some before I can apply it to the image.











Small clarification
Nice article indeed.
Till recently I struggled trying to work out the best archival sharpening approach, but this technique opens my eyes.
I'm quite novice into Photoshop, so perhaps this is the reason of my confusion.
At the last step of first sharpning curve out of 2, you are applying the cretaed Edge mask to the image. However when I try to do that, there is no Load Selection available (on the original copy of the image) until I do Save Selection (choosing All option) in the Copy image containing the B/W mask)
Is that correct procedure ?
This step is missing in your instructions, probably due to the fact that is may seem obvious for more experienced users then me.
Thank in advance,
Alex Z
A Brilliant Tip!
Nice work, Brian! Until now, I was a practitioner of the blanket Unsharp Mask technique.
A Brilliant Tip!
Correction. "Nice work, Bruce!" Sorry, Bruce.
Great Article, suggestion
Thanks for the clear explanation!
In addition to Lee's suggestion about displaying results, another helpful graphic would show blown up details of the results of the different methods.
(Are we working you too hard?)
Thanks! -Alan
Good instructional information for the intermediate Photoshop us
Thanks to the author and Creative Pro. It is articles like this, that persuaded me some months ago to make Creative Pro my browser home page.
Look forward to your articles
I have learned much from reading your articles.
Your articles on sharpening are actually the best I have seen and now have used. I cannot wait until the next one!
Author use of wording is offensive
The author's choice of words is offensive to me - "Psorasis" is a uncontrollable skin disease- and has nothing to do with the picture quality he is trying to explain.
I am a Psorasis sufferer and hate the negative attitude people have towards it!!!
Choose your words more wisely as to not offend!
Very Helpful
Thanks for the great series on sharpening. I too used unsharpen for the entire image. It was always difficult to sharpen what needed it without magnifying noise.
Thankyou Bruce for this sort of insightful writing.
Bruce has basically given me a 'Shoe in' for using photoshop. It is thanks to Real World Photoshop that I have any hope of working in photoshop to achieve the 'fine print' maturity digitally that previously was for me the exclusive realm of the traditional darkroom. Many thanks....!
Good article, but JPEG is a poor choice for samples
Thanks for the very useful tips. However, I want to point out a problem with the way the sample images are published here -- you've used the JPEG format, which is lossy, even when used with a high quality setting. In several cases, the artifacts get in the way of seeing some of the subtle differences that you discuss. Some readers may not even realize the origin of the artifacts, and may misunderstand your points.
I would like to suggest that you use the PNG (portable network graphics) format, which supports full 24-bit color (unlike GIF, another poor choice for high fidelity in photos) and lossless compression (usually not as slim as JPEG, but reasonable, and leaves image unaltered). I believe that all modern versions of browsers include built-in support for PNG.
Thanks for the articles, and for entertaining my humble suggestion,
--Lee