Combine Images

Node Icon

This node combines two images using a specified mask. The output image retains the values from the True image where the mask is True, and the values from the False image where the mask is False.

Inputs

Mask

Mask indicating which pixels to take from the True and False images.

Type: Mask, List, Required, Single

True

Input image that contributes values wherever the mask is True.

Type: Image, List, Required, Single

False

Input image that contributes values wherever the mask is False.

Type: Image, List, Required, Single

Outputs

Output

Combined image based on the mask selection.

Type: Image

Settings

True Value From Selection

Selects whether the True value is sourced from the input image or the specified settings.

Values: Input, Settings

False Value From Selection

Selects whether the False value is sourced from the input image or the specified settings.

Values: Input, Settings

True Value Decimal Number

Defines the value to be assigned to pixels from the True image where the mask is True.

False Value Decimal Number

Defines the value to be assigned to pixels from the False image where the mask is False.

Metadata From Selection

Specifies the source for the metadata for the output image, which can come from the Mask, True image, or False image.

Values: Mask, True, False

See also

Keywords: Combine, Image manipulation, Masking