Nodes/ComfyUi-MpiNodes/Mpi Grow Mask With Blur
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)

By MadPonyInteractive·Created about a year ago·Updated a day ago· 4
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)

NameTypeDefaultDescription
maskMASK—
expandINT0-16384–16384—
incremental_expandrateFLOAT0.00–100—
tapered_cornersBOOLEANtrue—
flip_inputBOOLEANfalse—
blur_radiusFLOAT0.00–100—
lerp_alphaFLOAT1.000–1—
decay_factorFLOAT1.000–1—
fill_holesoptBOOLEANfalse—

Outputs (2)

NameTypeDescription
maskMASK—
mask_invertedMASK—