Color to Mask
Image/Conversion
Creates a grayscale mask from the specified Image using the SourceColor input and a color range selection.
Input Parameters
- Image Image
The image from which the color ranges will be selected to create a mask. - SourceColor Image
The input color image to use to select mask regions. - KeyingType Enum · Hue, Luma (Y), Chroma (UV), RGB
The keying type used to isolate the color. - Range Float · Range 0.00 → 1.00
The width of the mask range. - LumaWeight Float · Range 0.00 → 1.00
Specifies, how much of the Luma is taken into account for Chroma and Hue Keying Types. - Softness Float · Range 0.00 → 1.00
Specifies how soft should tha mask falloff be. - GradientMode Enum · Linear, Smooth
True if mask softness gradient is linear. False, if gradient is a SmoothStep function. - MultiplyAlpha Boolean
True if Image alpha channel is used to create the mask. - Invert Boolean
True if the mask should be inverted.
Output Parameters
- Output Output Image Grayscale
The grayscale mask created for given parameters.
Example


Meta
Author | InstaMaterial GmbH | Category | Image/Conversion | Tooltip | Creates a grayscale mask from the specified Image using the SourceColor input and a color range selection. | Name | Color to Mask | Version | 1.63 | ID | 84cdb12b-2607-4382-b46f-f5c7423929f3 | PackageUrl | pkg://d470afa4-ee1e-4ee9-9723-79d6b2f74472/atoms/84cdb12b-2607-4382-b46f-f5c7423929f3.atom |
---|