Friday September 3 2010
An Online Community for Digital Photographers

Advertise on The Light's Right

TLR Pro USM Panel
TLRProUSM1.png

The TLR Pro USM panel is the latest digital photography tool from The Light's Right. It takes the basic features of the Photoshop USM command and extends them to provide a powerful, yet easy to use sharpening tool.

The TLR Pro USM panel integrates well with Photoshop. You can dock it with other Photoshop CS4 panels, like the Adjustments panel.

The TLR Pro USM panel is only compatible with Photoshop CS4 and later. It relies on technology from Adobe Labs that was not available until CS4. In fact, the TLR Pro USM panel relies on not just one but two emerging technologies from Adobe Labs: the Adobe Panels SDK and Adobe PatchPanels.

With Photoshop CS4, you can preview changes to your photograph as you make adjustments to the Unsharp Mask settings. Effective sharpening relies on more than USM settings. Layer blend mode, layer opacity, and especially the Blend If settings from the Layer Style palette can have a significant visual impact on the overall sharpening effect. With the TLR Pro USM panel, you can preview the total sharpening effect from all these settings. You can, for example, make USM adjustments and at the same time adjust the Blend If settings and then with a single click, see the total effect on your photograph.

Another benefit of the TLR Pro USM panel is support for custom presets. Third-party sharpening plug-ins tend to offer predefined sharpening settings. Most tools offer little flexibility for refining their settings. They might allow the user to adjust layer blend or layer opacity or select from a handful of settings, but the actual USM settings are hidden in the code. Regrettably, most third-party tool manufacturers for Photoshop plug-ins do not believe in open source.

All of the settings with the TLR Pro USM Panel are right there in the open. You can start with one of the predefined presets, modify the settings, and then save your own preset. This makes the TLR Pro USM panel helpful for capture sharpening, creative sharpening, etc. You can create presets that are "tuned" for your particular digital camera or scanner.

 

Features

 

There are two views: Basic and Refine Settings. Basic Settings focus on the USM essentials plus layer basics for blend mode and opacity. You can also select a preset from the Basic Settings view.

Refine Settings view has all of the features of the Basic Settings view and adds access to Blend Ifs. This is a powerful feature. The Blend If sliders can have a very strong impact on the sharpening effect. You can use them to taper off the effects in the extreme shadows and highlights.

You can easily swtich between Basic Settings and Refine Settings by clicking the small button in the lower left corner.

The TLR Pro USM panel can be docked like the Adjustments and Masks panels that ship with Photoshop CS4. Just load it and drag it over where the other panels are docked. After that, when you open Photoshop, the TLR Pro USM panel will be there.

The TLR Pro USM panel works with RGB, CMYK, Grayscale, and L*a*b modes. Few Photoshop plug-ins support L*a*b or even CMYK. With L*a*b mode, Lighter Color and Darker Color will be substituted for Lighten and Darken blends. Lighten and Darken are not supported for images in L*a*b. The sharpening effect with L*a*b mode is applied just to the Lightness channel.

There are five small buttons at the bottom of the Basic and Refine panels. From left to right, they control the following:

  1. Toggle Basic / Refine Settings.
  2. Add Layer Mask.
  3. Invert Mask.
  4. Toggle Layer Visibility.
  5. Apply Settings.

There is also a fly-out menu. The About Box is accessed from the fly-out menu. You can close the panel from the fly-out panel, too.

Settings are not automatically applied as they are changed by the user. There are many possibilities, and applying sharpening effectively is typically done through simultaneous adjustment to several settings. Just press the Apply Settings button in the lower right corner to apply the settings.

The TLR Pro USM panel uses Smart Filter technology. This speeds the application of sharpening adjustments. You can adjust the zoom of the photograph and see the full sharpening effect with this panel as you make adjustments. You can also toggle off he sharpening layer's visibility from the panel to see before/after effects.

If the active layer is named TLR Pro USM, the settings will update the Smart Filter layer when they are applied. Otherwise a new layer is created.

Full preview of sharpening adjustments is more flexible with the TLR Pro USM panel than it is with the USM dialog in Photoshop. With Photoshop, you can change the USM settings but other adjustments, like Blend If settings, are inaccessible simultaneously. Not so with the TLR Pro USM panel. You can easily view the total sharpening effect as you make USM adjustments with the TLR Pro USM panel.

The panel supports both "sticky" settings and presets. There are several presets that ship with the panel. You can add others. Presets save all of the details -- USM settings, layer blend, layer opacity, and Blend Ifs. To make a new preset, there are just a few steps:

  1. Adjust the settings.
  2. Give the preset a name in the text box.
  3. Click on the button for Add Preset.

You can also delete presets that you add. The default presets cannot be deleted.

If you want to change the settings for one of your presets, simply delete it and then add a new preset with the same name.

If you select a preset and then customize it, the preset will change automatically to (None). When there is no active preset, the last settings become sticky. They become the default the next time Photoshop starts. If a preset was active, those will be the defaults.

As a convenience, the TLR Pro USM panel includes some layer mask functionality. To add a layer mask for even more control over the sharpening effect, there must be an active selection. This can come from another tool, like the TLR Edge & Surface Masks action set or the scripts in the TLR Professional Mask Toolkit. Then press the button for Apply Layer Mask. The TLR Pro USM panel can also invert the current layer mask and toggle layer visibility on and off.

 

Installation

 

Adding the TLR Pro USM panel is easy. There are four files. Just add them to the Plug-Ins\Panels folder under your Photoshop CS4 installation.

If you want to keep your panels nicely organized, you can add them to a subfolder. Here's an example of the Plug-ins\Panels folder with subfolders for each CS4 panel.

If you did all of this with Photoshop running, exit Photoshop. Otherwise, fire up Photoshop and go to Window | Extensions. You should find USM as an option tere. Click on it, and the panel should open. You can now dock it, if you prefer.

Acknowledgments

 

Thanks are owed to John Nack and Bernd Pareides from Adobe and to Dr. WooHoo for their technical suggestions and comments.

 

Download

 

Comments and suggestions for future releases are appreciated. Feel free to use the comment system. The TLR Pro USM panel is the foundation for future CS4 panels from The Light's Right.

You can download TLR Pro USM panel by clicking here . . .

 

Tool details
Tool type: 
Photoshop panel
Compatibility: 
Photoshop CS4 and later
Version: 
1.1
Download size (KB): 
1,001
Author information
Author: 
Glenn E. Mitchell II, Ph.D.
Author Bio: 

Glenn Mitchell is an avid digital photographer, technical writer, and university administrator. He is an author with a long list of publications in trade magazines, peer-reviewed academic journals, and co-authored books. He is creative force behind The Light's Right. His photography can be seen at his gallery site: www.thelightsrightstudio.com.

Technorati Tags:
Rating: 
0
Average: 4.5 (2 votes)
mitch's picture

USM Preset Candidates

Here's a set of candidates for USM presets with the TLR Pro USM Panel. Think of them as starting points. Feel free to adjust them for your own digital camera or scanner. Once you have settings you want to use again, save them as a preset.

When you save a preset, everything is recorded: USM settings, layer blend, opacity, and Blend Ifs.

These settings come from my sharpening eBook/video, Sharpening Your Photographs.

This Layer refers to Sharpening Layer on the TLR Pro USM Panel.

If you are not using an edge mask, I suggest you use the Medium Width settings.

If you find other settings work better for you, feel free to share them here by leaving a comment. :)

mitch's picture

LCE Candidate Settings

LCE is an abbreviation for Localized Contrast Enhancement. It's a technique described by ichael Reichmann on his site, www.luminous-landscape.com.

LCE is a creative sharpening effect for adding "pop" to photographs. It uses a small Amount setting couple with a wide Radius setting.

The TLR Pro USM panel includes an LCE preset that should be a pretty good start. USM settings of 20, 50, and 0. The extreme shadows and highlights are protected with Blend If settings. Sharpening Layer is 16, 24, 208,224. Underlying Layers is 28, 52, 176, 208. These settings restrict the LCE effect to the middle tones. For example, a pixel darker than 28 or brighter than 208 will not even be eligible for the LCE effect.

If you want a bigger impact, simply adjust thesde sliders. For example, settings for Underlying Layers of 24, 32, 224, 240 would allow more shadows and highlights to receive some sharpening.

Again, please feel free to propose other settings hre by leaving a comment.

mitch's picture

Documentation Oversight

I fixed an oversight in the documentation. The .PDF has been updated.

I forgot to mention, that after restarting Photoshop, you go to Window | Extensions and click on the USM menu item to open the panel.

mitch's picture

Experimenting with Settings

The LCE effect is a good one to experiment with settings.

The default is Amount= 20, Radius = 50, Threshold = 0. You could try increasing the Amount setting to something like 25 or 30. Or, maybe the Radius setting to something like 60 or maybe down to 40.

If you turn off the visibility of the Background layer, you can better see the effect of the Blend If settings. Pixels that are unsharpened are very obvious.

Sharpening Layer corresponds to This Layer on the Layer Style palette. I believe calling it Sharpening layer is more obvious about what is going on. The Layer Style palette is generic, so it was not appropriate to call it Sharpening Layer. The panel use is specific, however.

The Blend If pixels determine which pixels are shapened. You can limt sharpening based on pixel starting values, ending values, or a combination. Sharpening Layer uses their ending values (i.e., after sharpening). Underlying Layers uses their beginning values (i.e., before sharpening). There are four values for both because you can taper off the effects. Values beyond the extremes will not be sharpened at all. Values between the two middle sliders will get the full sharpening effect. Between the extremes and the middle values, sharpening will be progressive.

The total sharpening effect is a combination of layer blend, layer opacity, and Blend Ifs. If you add a layer mask, like an edge mask or a luminosity mask, that will also have an effect. Thus, the sharpening effect with TLR Pro USM will be less obvious that just making a duplicate layer and applying USM. You can set opacity to 100% and jerk the Blend Ifs to 0,0,255,255 and get the typical USM effect, if you like. However, the TLR Pro USM panel gives you a lot more control over the effect so you can avoid ugly sharpening artifacts.

mitch's picture

What About Output Sharpening?

The settings for output sharpening in the TLR actions and scripts use two forms of sharpening. In addition to USM, most of the output sharpeners also use High Pass sharpening.

That means there will be a separate panel(s) for output sharpening. Same for the popular creative sharpeners: portrait sharpening, landscape sharpening, and clarity effect.

mitch's picture

Change in Panel Layout, Perhaps?

I think it willbe helpful for the future Phooshop .SWF panels from The Light's Right to have a consistent look and feel.

That means redoing the existing panels so they expose the real settings rather than something like 1-5 for intensity.

It also means making a small change in the TLR Pro USM panel. Leaving the USM settings on the main view and only the Blend If settings on their own view.

The reason for this is simple. There will be future panels with more than two views. For example, most output sharpening settings will use both USM and High Pass.

The Refine view is already too busy, IMO. It's cramped because I wanted to keep the panel from getting too long. Yet, there are a lot of settings. Well, there will be some future panels with even more settings.

For example, a sharpener with both USM and High Pass would need an extra slider for the High Pass Radius setting and an extra combobox for its own Layer Blend (Overlay, by default, but also allowing for Soft Light and Hard Light as options).

This also means changing the icon button in the left corner to a button with an arrow that open us a list to choose from. Like the panel buttons in Photoshop for selecting brush presets, custom shapes, etc.

USM Panel

What a nice useful addition to PhotoShop. The panel user interface is quite good and easy to use. Your preset suggestions appear to be very good starting points and work as is for many of my images.
Looking forward to more of your panels.
Thanks again.
Les

http://www.ncsparks.com

 

mitch's picture

Great News!

I'm pleased to hear you find the panel to be a helpful addition, Les.

Many more are coming!

mitch's picture

Small Glitch

As I was working on the code tonight for the new outpt sharpener, I found a small mistake in the code for the TLR Pro USM panel. WHen the presets are loaded, the Blend Ifs are duplicated.

I'll fix this in a 1.1 update. That update will also make the UI consistent with the new panel, which uses a menu button to select different views.

mitch's picture

Update for TLR Pro USM Panel

Version 1.1 was released tonight. This is a maintenance release.

Don't forget to sign up to follow TheLightsRight on Twitter. Get up to the minute updates of new tools, updates, etc.

What's changed:

  • Update user interface to include popup menu button and less busy panel for applying Blend If settings.
  • Fixed bug in application of Blend If settings from presets that used same settings for Sharpening Layer and Underlying Layers
  • Moved XMLList object from local shared object to code for layer blends
  • Added constants for strings like layer name to make code more reusable.