Skip to content

Mask From Image

Node icon
Mask

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. The threshold binarizes the result (hard black/white), and feather softens the edges.

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.

Mask

ChannelChoice
Default: Alpha

Source channel

  • AlphaUse the transparency channel — bright where opaque, dark where transparent.
  • RedUse the red channel as the mask source.
  • GreenUse the green channel as the mask source.
  • BlueUse the blue channel as the mask source.
  • LuminanceUse perceived brightness — the most natural representation of "light vs dark."
ThresholdInteger
Default: 0 Range: 0–255

Binarization cutoff; 0=preserve soft values

FeatherNumber
Default: 0.0 Range: 0.0–100.0

Gaussian blur to soften mask edges; 0=hard

InvertToggle
Default: false

Invert mask: white becomes black and vice versa

  • 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.