Skip to content
← Glossary

Luminosity mask

A luminosity mask is a selection built from the image's own brightness, so an adjustment acts fully on highlights, half on midtones and not on shadows.

Also known as: luminance mask, luma mask

A luminosity mask is a selection built from the brightness of the image itself: each pixel is selected in the same proportion as it is bright, so an adjustment acts at 100% on the highlights, at half on the midtones and not at all on the shadows. There are no edges to draw; the photo generates its own selection.

A four-step sequence: the original image with a bright sky and dark foreground, its luminosity version, the resulting mask where the sky is white and the ground is black, and the final image with the sky darkened and the foreground untouched

The brightness of each pixel decides how much the adjustment affects it, with no hand-drawn edges.

That proportionality is what separates a luminosity mask from a brush selection or a gradient. At the edge between a mountain and the sky, the brush leaves a light line (the typical halo of badly done HDR) because the edge it draws doesn't match the one in the photo. The mask does match, pixel by pixel.

How do you create a luminosity mask?

In Photoshop, Cmd/Ctrl + click on the RGB channel in the Channels panel: that loads the image's luminosity as a selection. In Lightroom and Camera Raw you don't need to go through channels, because the masking panel includes a luminance range with range and smoothness sliders.

  • Mask: Lights; How it's generated: Cmd/Ctrl + click on the RGB channel; Area it affects: Everything, in proportion to brightness; Typical use: Darken a sky without touching the ground

  • Mask: Narrow lights; How it's generated: Intersect the lights mask with itself; Area it affects: Only the brightest area; Typical use: Recover clouds already close to clipping

  • Mask: Darks; How it's generated: Invert the lights mask; Area it affects: Everything, in proportion to darkness; Typical use: Open up shadows without lifting the sky

  • Mask: Midtones; How it's generated: Subtract lights and darks from the full selection; Area it affects: Only the middle band; Typical use: Local contrast on rock, skin or foliage

  • Mask: Luminance range; How it's generated: Lightroom or Camera Raw masking panel; Area it affects: The band you mark; Typical use: The same, without leaving the raw developer

Each intersection narrows the range: when you multiply a mask by itself, a pixel at 50% goes to 25% and one at 90% stays at 81%. Two intersections let practically only the brightest highlights act, which is exactly what you want when the sky is one step from clipping.

When is it not worth using?

When the separation you're after isn't one of brightness. To darken a bright roof without touching an equally bright sky, the luminosity mask can't tell them apart: both are highlights. The right tool there is an object mask, a color mask or a brush.

It's also not worth it when the file no longer has information. If the sky is clipped, no mask brings clouds back; the problem was in the capture and the available dynamic range or a bracketed series solves it.

Common mistakes

Pushing the mask until it shows. An adjustment of −2 EV on a narrow mask leaves an unnatural separation between sky and mountain. Between −0.5 and −1 EV is usually enough.

Ignoring that the mask changes if you keep editing. If you raise the global contrast afterward, the luminosity the mask was calculated from is no longer the same. Create the mask at the end of the tonal adjustment, not at the start.

Using it to fix a badly metered exposure. Recovering three stops of shadow with a mask brings out noise and color shifts. It's a fine-tuning tool, not a rescue tool.

Stacking six masks. The more layers, the harder it is to know what each one is doing. Two or three well placed ones solve almost any landscape.

What to do with this in your next edit

Start with just one: a lights mask at −0.7 EV, and compare it with the version without it at 100% on the edge of the horizon. The difference from a linear gradient shows up there and nowhere else. For the full order of the editing workflow, see the guide to post-processing: creative digital development, the explanation of the histogram and the landscape editing workflow in Lightroom.

  • Blog
    Light Metering: Beyond the Auto Meter

    Master light metering: metering modes, exposure compensation and how an external light meter improves your accuracy.

  • Glossary
    RAW vs. JPEG

    RAW and JPEG are the two main formats in which a camera saves photos.

  • Guide
    Strategic Light Metering

    Metering systems do not know what is important in your scene: understanding each mode gives you creative control over exposure.

  • Blog
    Landscape Editing: A Complete Lightroom Workflow

    Edit landscapes in Lightroom step by step: the order of global adjustments, local corrections and export settings for natural color.

  • Glossary
    3-2-1 backup rule

    The 3-2-1 rule is the backup standard applied to photography: 3 copies of every file, on 2 different media types, with 1 stored off-site.

  • Guide
    Post-Processing: Creative Digital Development

    Post-processing doesn't fix a bad photo: it completes your artistic vision. RAW is the negative that needs interpretation.

  • Guide
    Strategic Light Metering

    Metering systems do not know what is important in your scene: understanding each mode gives you creative control over exposure.

  • Guide
    Post-Processing: Creative Digital Development

    Post-processing doesn't fix a bad photo: it completes your artistic vision. RAW is the negative that needs interpretation.