Mask From Image
Extracts a grayscale mask from any channel of an image: alpha, red, green, blue, or luminance.
Mask From Image converts an image channel into a single-channel mask. Choose alpha, any individual RGB channel, or luminance as the source.
This is the primary way to create masks from existing image data. Extract the alpha for silhouette masks, or use luminance to create brightness-based selections.
Selection modes
Section titled “Selection modes”The Mode picker decides what the extracted channel means:
| Mode | Behavior |
|---|---|
| Raw (default) | Pass the extracted channel through unchanged, as a grayscale mask. |
| Above | Select every pixel at or above Threshold. |
| Below | Select every pixel below Threshold. |
| Range | Select the band between Low and High, with both ends included. |
Tonal Softness fades the selection in and out around those values. It is not the same control as Feather: softness follows the pixel’s own brightness, so a gradual tonal transition in the source becomes a gradual mask edge, while Feather blurs the finished mask across the image regardless of what the source looked like.
Threshold used to double as an on/off switch, where 0 meant “no threshold at all”. Mode now carries that decision, so Threshold 0 in Above mode means exactly what it says: select everything from 0 up. Existing projects are converted when opened and produce the same mask they always did.
Parameters
Section titled “Parameters”Pins
Mask
Which channel to extract as the mask
- Raw: pass the extracted channel through unchanged.
- Above: select pixels at or above Threshold.
- Below: select pixels below Threshold.
- Range: select pixels between Low and High (both endpoints included).
Pixels at or above this value are selected (Above), or below it (Below)
Lower end of the selected band. Included in the selection
Upper end of the selected band. Included in the selection
Softens the selection around the value boundaries.
Feather blurs the mask spatially instead.
Gaussian feather radius applied after threshold
Invert the resulting mask
Usage Tips
Section titled “Usage Tips”- Extract from Alpha to get a mask of the image’s transparent areas.
- Use Luminance to create a brightness-based mask where bright areas become white and dark areas become black.
- Combine Threshold with Feather for semi-soft selections.
- Enable Invert to flip the extracted mask without a separate Invert node.
- Keep Mode on Raw when you want the channel’s full tonal range as a soft mask; switch to Above or Below the moment you want a decision instead of a gradient.
- Use Range to isolate midtones (say Low 80, High 170), which neither Above nor Below can do on its own.
- Raise Tonal Softness to keep a thresholded selection from looking cut out, without blurring detail the way Feather does.