MatchMaskToImage

This logic provides an automated way of matching and applying masks to images; e.g. when using projections of a 3D as masks.

This logic matches masks to images based on specified header keys for both and successively applies the masks to the images through pixel value multiplication.

Parameters Description
Mask header key Mask Header Key whose value for each image will be matched to the same value for the specified Image Header Key.
Image Header Key Image Header Key whose value for each image will be matched to the same value for the specified Mask Header Key.
Input Description
Input images Any set of images in real space
Masks Prepared stack of masks that is supposed to be applied to the input images
Output Description
Masked Images Images from the input stack with masks applied.