TLR Professional Mask Toolkit
The TLR Professional
Mask Toolkit is a useful set of JavaScripts for automating Adobe®
Photoshop® CS/CS2 to generate edge masks and surface masks.
There are separate user interfaces for Adobe® Photoshop®
CS and CS2. Adobe® added more support for screen widgets in
Photoshop® CS2. So, the Photoshop® CS2 has an interface
with more visual appeal. The capabilities of both JavaScripts are
the same.

User interface for Adobe®
Photoshop® CS2 version
The masking features can be combined. You can, for example, specify
"Reds" for the color range, "Midtones" for the
tonal range, and "Edges" for the mask type. The result
will be a single channel that masks red highlight edges.
You can make edge masks, surfaces masks, a pair of edge and surface
masks, or even masks that capture a range of tone or colors without
regard for edges or surfaces. You just select a mask type, (for
edge or surface masks) a width for the edges, a tone range, and
a color range. The will then generate an alpha channel that can
be used as a layer mask for sharpening, removing noise, or adjusting
tone and color.
You should see performance improvements compared to the TLR
Edge & Surface Masks action set and the mask generation
in the TLR Professional
Sharpening Toolkit. These scripts work on duplicates that are
converted to 8-bits per channel and to grayscale at the earliest
possible moment.
Luminosity Masks v. Enhanced Masks
One of the unique features of TLR actions and scripts for masking,
noise reduction, and sharpening is the availability of enhanced
masks for edges and surfaces.
Luminosity masks are customary and used by nearly every Photoshop®
action, add-in, or script for sharpening images. Enhanced masks
start with a luminosity mask. A second mask is generated, one that
is sensitive to color boundaries, not just differences in luminosity.

Roll mouse over image to see
extra detail in an enhanced mask
Above are a couple of test images. Just roll your mouse over the
image to see how the enhanced edge mask captures more detail. The
images are crops of a test image from Bruce Lindbloom’s site.
Bruce is a color engineer, and his site is full of valuable resource
for anyone interested in color management, color spaces, etc.
http://www.brucelindbloom.com/
Below is another pair of sample images. Notice how the edge along
one of the Macbeth Color Checker patches is not captured by a luminosity
edge mask. he enhanced mask easily captures it. Again, just roll
over the image with your mouse to see the aded detail with an enhanced
edge mask.

Roll mouse over image to see
extra detail in an enhanced mask
The downside to enhanced masks is added generation time and extra
RAM resources. The scripts generate two masks and blend them together
for an enhanced mask.
Enjoy!
Current Version: 3.0c (RC 1.2)
Download the
TLR Professional Mask Toolkit for Photoshop CS for earlier versions.
Download the TLR Professional Mask Toolkit for Photoshop CS2.
Download the TLR Professional Mask Toolkit for Photoshop CS3.
Download the .PDF
documentation.
Each download has one script file. For Photoshop CS, the script file ends with a .js extension. The Photoshop CS2 version ends with a .jsx extension. Copy the script file to the directory
for your Photoshop scripts.
|