ComfyUI Node
Multiple Masks to RGB Image
A ComfyUI node in MyTemplate with 7 inputs and 2 outputs.
Multiple Masks to RGB Image
- mask_1
- mask_2
- mask_3
- image
- color_info
◄inputcount3►
◄binarizefalse►
◄binarize_threshold0.20►
◄remove_noisefalse►
CategoryMyTemplate
Inputs (7)
| Name | Type | Default | Description |
|---|---|---|---|
| inputcount | INT | 32–100 | Number of mask inputs. Click 'Update inputs' to refresh ports. |
| mask_1 | MASK | The base mask. All other masks will be resized to match this mask's dimensions. | |
| binarize | BOOLEAN | false | If enabled, converts soft mask edges (gray) to hard edges (black/white). |
| binarize_threshold | FLOAT | 0.200.01–0.99 | The pixel value threshold. Pixels brighter than this become 1, darker become 0. |
| remove_noise | BOOLEAN | false | If enabled, removes small isolated pixel islands (dust/noise) from the mask. |
| mask_2opt | MASK | — | |
| mask_3opt | MASK | — |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | — |
| color_info | STRING | — |