GIMP Linear Light Mode in Frequency Separation

This article provides an overview of the Linear Light blend mode in GIMP and explains its vital role in frequency separation and high-frequency detail overlaying. By mathematically processing tonal values relative to 50% neutral gray, Linear Light allows editors to isolate micro-textures—such as skin pores, fabric details, and fine edges—and recombine them seamlessly with smooth, low-frequency base layers without altering overall exposure or introducing color shifts.

The Mechanics of Linear Light

Linear Light is a blend mode that combines the functions of Linear Dodge (addition) and Linear Burn (subtraction). It evaluates the blend layer against a 50% neutral gray threshold (\(RGB\ 128, 128, 128\) in 8-bit or \(0.5\) in floating-point precision):

  • 50% Neutral Gray: Becomes entirely transparent, exerting no change on the underlying layer.
  • Pixels Brighter Than 50% Gray: Lighten the underlying pixels linearly (Linear Dodge).
  • Pixels Darker Than 50% Gray: Darken the underlying pixels linearly (Linear Burn).

The standard mathematical formula governing Linear Light is:

\[\text{Result} = \text{Base} + 2 \times (\text{Blend} - 0.5)\]

Function in High-Frequency Detail Overlaying

In frequency separation, an image is split into two components: low frequencies (colors, broad tones, and smooth gradients) and high frequencies (fine lines, skin texture, blemishes, and sharp edges).

When extracting the high-frequency layer in GIMP using the Subtract method (subtracting the blurred low-frequency layer from the original image and adding a \(0.5\) gray offset), all texture details are captured as positive or negative deviations from neutral gray.

When this high-frequency detail layer is placed above the smoothed low-frequency layer and set to Linear Light, the blend mode executes a precise mathematical reconstruction:

  1. Subtracts the Neutral Gray Offset: It removes the uniform gray background that holds the extracted details.
  2. Applies Pure Texture Deltas: It projects the sharp deviations directly onto the smoothed low-frequency base layer.
  3. Achieves 1:1 Reconstruction: Because the formula utilizes a multiplier of 2 against the centered offset, the combined result perfectly reconstructs the original image data without loss of dynamic range.

Why Linear Light is Preferred Over Other Modes

Unlike contrast-based blend modes such as Overlay or Soft Light, Linear Light does not apply a non-linear S-curve to tonal values. Modes like Soft Light compress highlights and shadows, leading to a loss of micro-contrast or unexpected saturation shifts in fine textures. Linear Light provides an exact, linear arithmetic addition and subtraction, ensuring that fine details maintain identical sharpness, contrast, and depth when overlaid back onto the composite.