ComfyUI Node
Mpi Grow Mask With Blur
# Grow Mask With Blur - mask: input mask or mask batch - expand: grow (positive) or shrink (negative) the mask by this many pixels - incremental_expandrate: raise the expand amount by this much per frame - tapered_corners: plus-shaped instead of square growth - flip_input: invert the input first - blur_radius: above 0 blurs the mask (8-bit result) - lerp_alpha / decay_factor: blend each frame with the previous one - fill_holes: fill holes in the mask (slow)
Mpi Grow Mask With Blur
- mask
- mask
- mask_inverted
◄expand0►
◄incremental_expandrate0.0►
◄tapered_cornerstrue►
◄flip_inputfalse►
◄blur_radius0.0►
◄lerp_alpha1.00►
◄decay_factor1.00►
◄fill_holesfalse►
CategoryMpiNodes/KJ
Inputs (9)
| Name | Type | Default | Description |
|---|---|---|---|
| mask | MASK | — | |
| expand | INT | 0-16384–16384 | — |
| incremental_expandrate | FLOAT | 0.00–100 | — |
| tapered_corners | BOOLEAN | true | — |
| flip_input | BOOLEAN | false | — |
| blur_radius | FLOAT | 0.00–100 | — |
| lerp_alpha | FLOAT | 1.000–1 | — |
| decay_factor | FLOAT | 1.000–1 | — |
| fill_holesopt | BOOLEAN | false | — |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| mask | MASK | — |
| mask_inverted | MASK | — |