Go Back   RetouchPRO > Technique > RP Tutorials
Register Blogs FAQ Site Nav Search Today's Posts Mark Forums Read

RP Tutorials Discussion for tutorials published via our automated system, and about the tutorial publishing system itself.

Unsharp Mask Controls

Thread Tools
Old 05-18-2005, 12:59 PM
Bob Mc Bob Mc is offline
Senior Member
Join Date: Oct 2003
Posts: 134
Unsharp Mask Controls

I wish I could take credit for uncovering the following information about the Unsharp Mask feature - but all I actually uncovered was an article I cut out and saved - within one of a pile of other articles I had save for further review. It's appearance was timely as I did my quarterly re-shuffling of the piles ... as I was using the feature ...and getting lousy results.

Full credit goes to Ed Meyers who wrote "Unmasking the Unsharp Mask" published in Digital Photo Pro magazine - November/December 2003 issue.

I don't want to rehash the whole article - nor should I. Mr Meyers included several illustrated examples and a lot of detail. I'll just try to summarize the major points I got from it.

The Unsharp Mask - now to be known from here on as USM.

What you are looking for is a crisp sharpening - high contrast and clean edges - without a halo

USM looks for contrast in your image by comparing each pixel to its neighboring pixels. It has 3 controls it uses to analyze and adjust the image. Amount, Radius and Threshold. It's important to know that these controls interact with each other to generate the adjustment.

AMOUNT control - higher % values mean a greater contrast is induced along the edges.

RADIUS control - effects how far out - in pixels - the USM effect will be applied.

THRESHOLD control - this is the value difference ( contrast/levels ) between adjacent pixels above which an adjustment to each pixel is made.

Example 1 - Threshold is set at 10. 2 adjacent pixels have values of 79 and 85 Since the difference between 79 and 85 is not 10 or more - the pixels are not changed.

Example 2 - Same Threshold setting (10). 2 other adjacent pixels have values of 85 and 140. Obviously this is a much bigger difference and certainly greater than the Threshold value of 10 so USM makes the light pixel lighter and the dark pixel darker - thereby accentuating the edge.

"Haloing" effects seem to be caused by using too high a value for radius (how far out the effect is applied). You can often use high (e.g. 200% or more) for the Amount control if you keep the radius to a small value (e.g. 1 or even less)

As usual, there are many caveats to the process. It depends on the image, size of the image, the output characteristics (rgb printer, cmyk press, watercolor effect, etc)

Meyers makes several suggestions.

a. test, test and test some more - on the specific image

b. view your image at the pixel level - to judge the effect (double-click the magnifying glass in the tool bar to get there and double-click the hand to get back to the previous size.

c. after applying the USM (and probably test printing ) if the image is not right, go back to the unsharpened image and re-apply an adjusted USM - resist the temptation to sharpen an already sharpened image.

d. If you use USM in the full RGB mode (all 3 channels) color shifting and aliasing can occur. If you switch to the LAB mode - all the color information is in the A and B channels and NOT the Lightness/Luminance channel. USM applied to the Lightness channel alone reduces the aliasing and should eliminate color shifting (no color info in that channel).

d-1 A By-the-way - Meyers indicated that if your digital camera introduces a bit of color fringing, a slight Gaussian blur to the A or B color channels can reduce that fringing ( Filters > Blur > Gaussian Blur).

d -2 B Another BTW - Going back-and-forth often between Modes/Color Spaces may degrade the image so keep those Mode changes to a minimum.

e. Reducing the size of an image after applying USM is not as "good" as applying USM after the reduction. Reduction averages (in some way) pixels together, the USM effect will be averaged too. USM after image reduction - you get what you asked for (control wise)

Hope I've made USM a little clearer for everyone and to Ed Meyers - I hope I summarized the key points of you article correctly.

Remember - Test, Test, Test
Reply With Quote top
Old 05-18-2005, 01:05 PM
Bob Mc Bob Mc is offline
Senior Member
Join Date: Oct 2003
Posts: 134

If you "Google" "unsharp mask" you will find a large number of tutorials which include illustrations>
Reply With Quote top
Old 05-18-2005, 01:40 PM
Duv's Avatar
Duv Duv is offline
Senior Member
Join Date: Oct 2003
Location: Nanaimo, British Columbia
Posts: 1,213
Thank you Bob! We all appreciate the time people like yourself take in providing clarity to subjects that are not always easy to understand. Hope to see more of your contributions to this forum.

Reply With Quote top
Old 05-18-2005, 02:10 PM
Flora's Avatar
Flora Flora is offline
Senior Member
Join Date: Mar 2002
Location: Milan, Italy
Posts: 2,325
Blog Entries: 3
Hi Bob,

thank you very much for sharing these great tips on USM!!!!
Reply With Quote top
Old 05-18-2005, 10:13 PM
realaqu's Avatar
realaqu realaqu is offline
Senior Member
Join Date: Feb 2005
Posts: 109
thanks for your contribution

It does help me.

Reply With Quote top
Old 05-19-2005, 02:27 AM
soleah's Avatar
soleah soleah is offline
Senior Member
Join Date: Dec 2004
Location: Guam
Posts: 170
Thanks, Bob. This is very helpful and easy to understand. Hope to hear more from you.
Reply With Quote top

  RetouchPRO > Technique > RP Tutorials

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help with masking Debra Perrin Photo Compositing 7 07-26-2006 03:38 AM
Graduated layer mask description. Gary Richardson Photo Compositing 2 06-10-2006 01:38 PM
Help with .tga file and alpha channel Nanls Photo Restoration 10 09-02-2005 08:03 PM
PIXIA and UNSHARP MASK mediatevictoria Photo Compositing 0 07-02-2005 11:49 PM
Layer Tutorials..again? zip022 RP Tutorials 21 11-18-2004 10:10 PM

All times are GMT -6. The time now is 12:38 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2016, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
Copyright © 2016 Doug Nelson. All Rights Reserved