Unsharp masking

From Free net encyclopedia

(Difference between revisions)
Revision as of 18:25, 15 April 2006
Andreww (Talk | contribs)
/* Photographic unsharp masking */ BACK -> ''back''
Next diff →

Current revision

Image:UnsharpMaskFilter.png

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 accutance, 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.

Photographic unsharp masking

In the original process, a large-format glass plate negative was contact-copied on to a low contrast film or plate to create a positive. However, the positive copy was made with the copy material in contact with the back of the original, rather than emulsion-to-emulsion, so it was blurred. After processing this blurred positive was replaced in contact with the back of original negative. When light was passed through both negative and in-register positive (in an enlarger for example), the positive partially cancelled some of the information in the negative.

Because the positive was intentionally blurred, only the low frequency (blurred) information was cancelled. In addition, the mask effectively reduced 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 because of the increased accutance.

In the photographic procedure the amount of blurring can be controlled by changing the softness or hardness (from point light 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 was usually used on monochrome materials, however special panchromatic soft-working black and white films were available for masking photographic colour transparencies. This was especially useful to control the dynamic (density) range of a transparency intended for photomechanical reproduction.

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.

External links