Apply Image and Calculations: Channel Blending Explained
Most blending happens between layers: you stack two and pick a blend mode. Apply Image and Calculations do the same arithmetic one level lower, on individual channels, and write the answer somewhere you choose. They look intimidating because the dialogs are full of drop-downs, but each field answers a simple question. Once those are clear, the two commands become the quickest route to frequency separation, luminosity masks and difficult selections.
Which command does what
| Compared | Image › Apply Image… | Image › Calculations… |
|---|---|---|
| Inputs | One source, blended onto the active layer | Two grayscale sources, Source 1 over Source 2 |
| Changes | The active layer’s pixels, or its layer mask | No layer at all |
| Output | The edited layer | A New Channel, a Selection or a New Document |
| Color | Full RGB, or gray when targeting a mask | Always gray |
| Needs | A pixel layer selected | At least one pixel layer in the document |
Both commands share the same building blocks: a source block that says where pixels come from, and a blending block that says how they combine. Learn those once and both dialogs read the same way.
Choosing a source
A source is picked in four steps, from the outside in:
- Document. The current image or any other open document of exactly the same width and height. Blending is pixel by pixel, so sizes must match.
- Layer. A particular layer, or Merged for everything visible combined, as if the document were flattened.
- Channel. RGB (or Gray in Calculations) for the full picture, a single Red, Green or Blue channel, Transparency for the layer’s alpha, Layer Mask when the chosen layer has one, and any saved alpha channels from the Channels panel.
- Invert. Turns the source into its negative before blending: light becomes dark and dark becomes light.
Choosing a single color channel is where the power lies. In a typical outdoor photo the blue channel shows a bright sky against dark trees, the red channel flatters skin, and the green channel carries most of the detail. Looking at each one in the Channels panel first tells you which to use.
Blending, Scale and Offset
Blending lists the same modes as the Layers panel, from Normal and Multiply to Overlay and Difference, and they behave the same way: the source is the top color and the target is the base. Opacity sets how strongly the source is mixed in. Calculations drops the color-only modes such as Hue and Luminosity, since grayscale channels have no color to mix.
Two entries are special. Add and Subtract do plain arithmetic and unlock two extra fields:
- Add: (base + source) ÷ Scale + Offset
- Subtract: (base − source) ÷ Scale + Offset
Scale runs from 1 to 2 and Offset from −255 to 255 levels. Scale 2 halves the result so it cannot overflow, and Offset 128 lifts it to middle gray, so a subtraction that would otherwise be clipped to black becomes a gray image where differences show as lighter or darker detail. That pairing is the heart of frequency separation below.
Finally, Mask limits the blend with a third grayscale image, picked with its own document, layer, channel and invert controls: white areas get the full effect, black areas none. An active selection limits Apply Image as well; outside it the layer is left as it was.
Apply Image step by step
- Duplicate the target layer. Apply Image changes real pixels, so press Ctrl+J and work on the copy. To edit a layer mask instead, click the mask thumbnail so the mask is the paint target; the dialog then shows Target: Layer Mask and works in gray.
- Open the dialog. Choose Image › Apply Image…. The canvas starts previewing immediately with the default settings.
- Set the source. Pick the document, the layer or Merged, and the channel. Tick Invert if you want the negative.
- Pick a blend. Choose a mode and opacity. Watch the canvas: every change previews live on a reduced copy so it stays responsive on large photos.
- Protect what should not change. Tick Preserve Transparency to keep the layer’s transparent areas clear, and tick Mask if only some areas should receive the blend.
- Click OK. The full-resolution result is computed and added to History as one step. Cancel restores the layer exactly as it was.
Recipe: frequency separation
Frequency separation splits a portrait into a low layer that holds color and tone and a high layer that holds texture, so you can smooth blotchy skin without erasing pores. Apply Image is what builds the high layer.
- Make two copies of the photo. Select the photo layer and press Ctrl+J twice. Name the lower copy Low and the upper copy High.
- Blur the Low layer. Hide High, select Low and apply Filter › Blur › Gaussian Blur… with a radius that just hides the skin texture, often 4 to 8 px.
- Run Apply Image on High. Show and select High, then choose Image › Apply Image…. Set Layer to Low, Channel to RGB, Blending to Subtract, Scale 2 and Offset 128, and click OK. High turns mostly gray with fine detail etched into it.
- Set High to Linear Light. Change the High layer’s blend mode to Linear Light in the Layers panel. The image looks exactly like the original again.
- Retouch each layer separately. Even out tones on Low with a soft, low-opacity brush or extra blur inside small selections, and clean individual blemishes on High with the Healing Brush. Neither job disturbs the other.
Calculations and its three results
Image › Calculations… has two source blocks, Source 1 and Source 2, each with its own document, layer, channel and invert controls, followed by the blending block and a Result menu. Source 1 is blended on top of Source 2, so with Subtract it is Source 1 that is taken away from Source 2. The result is a single grayscale image, and you decide where it goes:
- New Channel adds an alpha channel to the Channels panel. It can be loaded as a selection at any time with Select › Load Selection…, and it is kept in project files.
- Selection turns the result straight into an active selection: white is fully selected, black not at all, grays partly.
- New Document opens the result as a separate grayscale image, handy for inspecting it or painting on it before bringing it back.
Nothing in the layer stack changes, which makes Calculations a safe place to experiment. The whole command is still one History step, so Ctrl+Z removes the channel or selection if you do not like it.
Recipes: luminosity mask and sky selection
A highlights mask for local contrast
Open Calculations and set both sources to Merged and the Gray channel, with Blending Multiply and Result New Channel. Multiplying the brightness by itself darkens the midtones and keeps only the brightest areas light, which is a classic highlights mask. Load it as a selection, add a Curves adjustment layer and, with the selection still active, choose Layer › Layer Mask › Reveal Selection: the curve now touches the highlights only. Tick Invert on both sources for a shadows mask instead.
A sky selection from the blue channel
For a clear sky behind trees or buildings, set Source 1 and Source 2 to the Blue channel of the merged image, choose Overlay or Hard Light, and set Result to Selection. Overlaying a channel on itself pushes light values lighter and dark values darker, so the sky separates from the foreground more cleanly than the channel alone. Refine the edge afterwards as described in the selection guide.
Common mistakes
- Running Apply Image on the only copy. It is destructive. Duplicate the layer first, or take a History snapshot.
- Forgetting Offset with Subtract. Without Scale 2 and Offset 128, half the detail is clipped to black and the high-frequency layer comes out empty.
- Wondering why another photo is missing. Only documents of the same pixel size appear in the Document list.
- Leaving a selection active by accident. Apply Image only changes the selected area, which can look like a half-applied effect. Press Ctrl+D first if you meant the whole layer.
Try it in Photoyam
Open a photo, look at its channels and try Apply Image and Calculations in a free editor that runs in your browser.
FAQ
Why is Apply Image greyed out?
Apply Image writes into the active layer, so it needs a normal pixel layer to be selected. Text, shape, smart object and adjustment layers cannot be the target. Rasterize the layer or pick a pixel layer, and the menu item becomes available.
Why doesn't my other image appear in the Source list?
Only open documents with exactly the same width and height as the current one are offered, because the commands blend pixel by pixel. Resize or crop the other image to match, or use the History panel's button that creates a new document from the current state.
What is the difference between Apply Image and Calculations?
Apply Image blends one source into the active layer and changes its pixels. Calculations blends two single grayscale channels and leaves every layer alone: the result becomes a new channel, a selection or a new document.
Can I undo Apply Image after clicking OK?
Yes. Each command is a single step in History, so Ctrl+Z removes it. Because the change is made to real pixels, it is worth running Apply Image on a copy of the layer when you may want to adjust the result later.