Apply Mask

Class: NodeMaskApply

Node Icon

Apply a mask to an image. TRUE values in the mask will unaffected in the input image, FALSE values will be set to a specified value.

Inputs

Image

Input image.

Type: Image4DFloat, Required, Single

Mask

Input mask.

Type: Image4DBool, Required, Single

Outputs

Result

Resulting image.

Type: Image4DFloat

Settings

Crop Image to Mask Bounds Boolean

Crop the resulting image to the bounding box of the mask.

Masked Voxel Value Number

Voxels in the resulting image where the mask is FALSE will be set to this value.

Keywords: apply, mask, image