
Sharpening is a very useful, but much misunderstood and abused technique. In this article I first want to introduce you to some theory behind sharpening which explains what it does and how it does it, and use that knowledge to explain the pitfalls in using sharpening, and why it can't do as much for your images as is sometimes imagined.
Then having looked at the theory, I'll go through a useful technique for applying sharpening selectively, and therefore prudently, in your image.
Sharpening is all about fooling your eyes into thinking an image is sharper when it isn't! It's an optical illusion that takes advantage of how our vision works. We see an image as sharp when the boundaries between different colours or levels of luminosity (light and dark) are abrupt rather than gradual, and this is reinforced if the difference in colour or luminosity is greater rather than smaller. This is why a contrasty image (perhaps taken in bright sunlight) usually looks sharper than the same view taken under a grey sky, or more extreme, in mist.
Sharpening cannot make the change from light to dark, or colour to colour, more abrupt. (From now on I'm only going to talk in terms of light and dark, but everything also applies to changes in colour.) So an image that's not perfectly in focus, which means that changes from dark to light are more gradual, cannot be made in focus by sharpening, no matter how harshly you apply it. Sharpening works by artificially increasing the contrast across a dark to light boundary. It's important to realise that sharpening degrades your image by introducing distortions that weren't in the original scene: therefore we want to sharpen as little as possible whilst doing enough to trigger the optical illusion of sharpness that we're after.
Consider this fragment of an image of a church:
Imagine walking along the red line, starting at the dark end. As you walk along, all the pixels are pretty dark, and then suddenly they're all pretty light. I've represented this walk in the following bar chart. Each column represents the luminosity of a single pixel in the image. Luminosity is represented by values between 0 (pure black) and 255 (pure white). As we get to the boundary between light and dark, the luminosity suddenly increases. A perfect boundary would go straight from dark (luminosity 80) to light (luminosity 180) across a single pixel, but that doesn't happen in photography!
Some things to notice about this chart.
As I explained before, sharpening works not on the absolute element of sharpness (how abruptly we move from light to dark) but on the contrast element. I've represented this same edge after it's been sharpened by this second bar chart.
Some things to notice about this second chart.
So although absolute sharpness has declined, with the change from dark to light taking longer, apparent sharpness has increased because the contrast across the boundary has increased. Like all optical illusions however, it only works up to a point. If we sharpen too much, we see not the illusion but the reality, which is that sharpening draws dark lines on one side of a boundary, and bright lines on the other side. If this takes place too much, we see sharpening "haloes" of white around all the boundaries, and the illusion breaks down.
This demonstration also helps us to understand how the settings in the unsharp mask dialog box work. Below is the unsharp mask dialog in the GIMP. My description of how the sliders work is again a simplification, and is illustrative only: however, it is a reliable guide to what the consequences of various settings will be.
We started off by saying that human vision sees sharpness when edges are abrupt, and the contrast across them is great. From this we can see that ideally we want to sharpen only the edges in an image. Unfortunately there are other things in an image that are like edges, but which we want to see less of, not more of. The main example of this is noise. Digital noise in shadow regions of images that have been exposed with high ISO speed values (400 and above, for most cameras) can be very intrusive. Noise introduces lots of edges that we certainly don't want to sharpen! Applying unsharp mask values that will do the job for the edges we want will also be likely to do it for the edges we don't want. What follows is a technique that enables us to apply sharpening selectively to edges in the image, whilst leaving other areas of the image unaffected. This is not a technique that I've made up, but I have adapted it to my workflow, and I offer it to you in the hope that you can use my ready-made settings rather than having to research the method yourself.
I'm going to demonstrate the technique using one of my gallery shots, the one of Ealing parish church. Here's the image before sharpening.
This technique works by finding the edges in the image, and then creating a selection from them so that when the unsharp mask is applied, it only works on the selected edges and leaves the rest of the image untouched.
It does this by:
If you want to "follow along" with one of your own images, you will need an image editing program that lets you work with layers and channels. Unfortunately PS Elements does not have channel functionality, so you will need full PS, or something like the GIMP which I'm using here. GIMP is free and can be downloaded from GIMP for Windows installers (http://http://gimp-win.sourceforge.net/stable.html).
Click on the link below for a step by step guide.
