ComfyUI Node

Grow Mask

A ComfyUI node in Info-Prompt-Toolkit/Mask with 5 inputs and 1 output.

By kinorax·Created 4 months ago·Updated 2 months ago· 1
Grow Mask
  • mask
  • mask
threshold0.10
region_area_scale1.00
blur_radius_scale0.50
solid_core_scale1.00
CategoryInfo-Prompt-Toolkit/Mask

Inputs (5)

NameTypeDefaultDescription
maskMASKSoft or binary input mask.
thresholdFLOAT0.100–1Pixels above this value define the foreground used for radius estimation and hard-core preservation.
region_area_scaleFLOAT1.001–64Area multiplier used to derive the shared grow radius from the weighted-median representative region size.
blur_radius_scaleFLOAT0.500–16Log-damped area ratio used to derive the shared blur radius from the weighted-median representative region radius.
solid_core_scaleFLOAT1.000–2Inside fill strength after blur. Higher values make the interior more solid without expanding the outer silhouette by itself.

Outputs (1)

NameTypeDescription
maskMASK