Ch4 Image Calculations
Ch4 Image Calculations
Under the Image menu you’ll find two useful commands – Apply Image and
Calculations. Before the introduction of layers with Photoshop 3.0 image compositing
and controlling effects relied heavily on channel masking. The most advanced
method to create fine-edged masks was to use the Image Calculation commands to
combine and refine images and channels. Today with the use of layers and blending
modes many of their results can be achieved with more easily but, these commands
still offer useful methods for creating image composites and building masks that
maintain fine tonal and edge detail. Since Image Calculations use interchannel math
that compares channel values to create the results they are often called chops
(channel operations).
The Apply Image and the Calculate commands have similarities and differences that
make them more daunting to understand than they really need to be.
• Images you want to calculate together need to be the exact same (to
the very pixel) width and height. With the booming popularity of digital
cameras, this requirement is becoming easier and easier to meet.
• You can mix and match RGB, LAB, CMYK, and grayscale images with
the Calculate command.
• The Apply Image command uses the composite color image or single
channel as its source to create color images or channels. It cannot
create a new document, channel, or layer.
• The Calculate command lets you choose a source from any open image
with the same image resolution, but it only uses a single grayscale
channel. Calculate creates a new channel, black-and-white document,
or an active selection but never a color file.
The Calculate commands apply the math of the blend to the layer, channel, or
composite to create the desired effect. It is essential to remember that 0 is the
equivalent of black, 128 is the equivalent of gray, and 255 is the equivalent of white,
and that all blends compare pixel values to calculate the result.
Darkening Group: Neutral to white; will have no effect on light areas; the effect will
be progressively stronger as the tones become darker.
• Multiply: Multiplies values less than 50% gray times each other,
resulting in darker values while light areas are not affected.
Lightening Group: Neutral to black; will have no effect on dark areas; the effect will
be progressively stronger as the tones become lighter.
• Color Dodge: Increases contrast of areas lighter than 50% grey while
preserving black values.
Contrast Group: Neutral to 50% gray; will have no effect on 50% gray areas; and
are all good to add contrast i.e. make the dark values darker and the light values
lighter.
• Hard Light: Multiplies the darks and screens the light values and
increases contrast dramatically.
• Linear Light: Combining linear burn and linear dodge, this blend mode
lightens the values above 50% gray by increasing the brightness and
darkens the values below 50% gray by decreasing brightness.
• Pin Light: Combines darken and lighten to replace pixel values. Always
very contrasty and used for special effects and less often to create
masks.
• Hard Mix: Lighter values lighten and darker values darken to the point
of threshold and posterization.
Combination Group: Found only in the Apply Image and Calculate commands.
• Add: Adding light values results in lighter to bright white values. Black
values areas remain black (0+0=0). The Scale factor is any number
between 1.000 and 2.000. The Offset value lets you lighten or darken
the pixels in the destination channel by any brightness value between
-255 and +255. Negative values darken the image; positive values
lighten the image.
Have I memorized all of these blending modes? No. But I do know which general
group to start with to darken, lighten, enhance contrast, etc. Often getting into the
tonal ballpark is a start and then I can choose a related blend to see if the effect is
creating the desired effect.
The Apply Image is the smaller of the two commands, as it always uses the active
image as its target, meaning the image that is active when you select Image > Apply
Image will always be at the receiving end of the Apply Image command. Before we
use Apply Image to make masks, an overview of the terms used.
• Source: Pull-down menu used to select from the other open images to be
processed with the active image.
• Layer: Determines which individual layer or merged layers of the source will
be used. Merged is only available if both files are in the same color
mode.
• Target: Is always the document that was active when you invoked the Apply
Image command. When making masks (as we will do later in this
section) the name of the active channel will appear here.
• Scale and Offset: Only active when Add or Subtract are chosen in the
Blending option. The Scale factor is any number between 1.000 and
2.000 – a higher Scale value darkens the image. The Offset value lets
you lighten or darken the pixels in the destination channel by any
brightness value between +255 and -255. Negative values darken the
image; positive values lighten the image.
• Mask: Lets you control where the calculation takes place, with a mask from
any open image that has the same pixel resolution.
• Invert: Switches tonal values from within the Apply Image command.
• Preview: Lets you monitor the effect of all the above settings. Thank
goodness!
In a nutshell, before using the Apply Image command, make sure the image, layer, or
channel you want to composite or make a mask for is active. Use the pull down
menus to create the desired results as explored in the following examples.