Unsharp masking
From Wikipedia, the free encyclopedia
Unsharp masking is an image manipulation technique now familiar to many users of digital image processing software, but it seems to have been first used in Germany in the 1930s as a way of increasing the acutance, or apparent sharpness, of photographic images. The "unsharp" of the name derives from the fact that the technique uses a blurred, or "unsharp", positive to create a "mask" of the original image. The unsharped mask is then combined with the negative, creating the illusion that the resulting image is sharper than the original.
[edit] Photographic unsharp masking
In the photographic process, a large-format glass plate negative is contact-copied onto a low contrast film or plate to create a positive. However, the positive copy is made with the copy material in contact with the back of the original, rather than emulsion-to-emulsion, so it is blurred. After processing this blurred positive is replaced in contact with the back of the original negative. When light is passed through both negative and in-register positive (in an enlarger for example), the positive partially cancels some of the information in the negative.
Because the positive has been intentionally blurred, only the low frequency (blurred) information is cancelled. In addition, the mask effectively reduces the dynamic range of the original negative. Thus, if the resulting enlarged image is recorded on contrasty photographic paper, the partial cancellation emphasizes the high frequency (fine detail) information in the original, without loss of highlight or shadow detail. The resulting print appears sharper than one made without the unsharp mask; the apparent accutance is increased.
In the photographic procedure, the amount of blurring can be controlled by changing the softness or hardness (from point source to fully diffuse) of the light source used for the initial unsharp mask exposure, while the strength of the effect can be controlled by changing the contrast and density (i.e., exposure and development) of the unsharp mask.
In traditional photography, unsharp masking is usually used on monochrome materials; special panchromatic soft-working black and white films have been available for masking photographic colour transparencies. This has been especially useful to control the density range of a transparency intended for photomechanical reproduction.
[edit] Digital unsharp masking
The same differencing principle is used in the unsharp masking tool in many digital imaging software package (for example, Adobe Photoshop or GIMP). The software applies a Gaussian blur to a copy of the original image and then compares it to the original. If the difference is greater than a user-specified 'Threshold' setting the images are (in effect) subtracted. The 'Threshold' control constrains sharpening to image elements that differ from each other above a certain size threshold, so that sharpening of small image details such as photographic grain can be suppressed.
Digital unsharp masking is a flexible and powerful way to increase sharpness, especially in scanned images. However, it is easy to create unwanted and conspicuous edge effects. On the other hand these effects can be used creatively, especially if one channel of images in RGB or Lab colour space is selected for unsharp masking. Typically three settings will control digital unsharp masking:
- Amount: This is listed as a percentage, and controls the magnitude of each overshoot (how much darker and how much lighter the edge borders become). This can also be thought of as how much contrast is added at the edges. It does not affect the width of the edge rims.
- Radius: This affects the size of the edges you wish to enhance or how wide the edge rims become, so a smaller radius enhances smaller-scale detail. Higher Radius values can cause halos at the edges, a detectable faint light rim around objects. Fine detail needs a smaller Radius tiny detail of the same size as the Radius width is lost. Radius and Amount interact, reducing one allows more of the other.
- Threshold: Which controls the minimum brightness change that will be sharpened or how far apart adjacent tonal values have to be before the filter does anything. This lack of action is important to prevent smooth areas from becoming speckled. The threshold setting can be used to sharpen more pronounced edges, while leaving more subtle edges untouched. Low values should sharpen more because fewer areas are excluded. Higher threshold values exclude areas of lower contrast.
[edit] External links
- Photoshop tips with examples
- "Smart" Sharpening (with the Gimp)
- Interactive Example of Unsharp Mask
- Sharpening Using An Unsharp Mask: how it works, a biological motivation and how to minimize halo artifacts
- Sharpening with Unsharp Mask —
- How to Get Excellent Results Using Unsharp Mask in Photoshop
- Lab Color Sharpening using Unsharp Mask in Photoshop: A step-by-step tutorial on the technique of using unsharp mask in lab color mode.