ComfyUI Node
Remove Small Soft Mask Regions
A ComfyUI node in Info-Prompt-Toolkit/Mask with 3 inputs and 1 output.
Remove Small Soft Mask Regions
- mask
- mask
◄min_image_area_percent0.004►
◄threshold0.10►
CategoryInfo-Prompt-Toolkit/Mask
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| mask | MASK | Soft or binary input mask. Regions are judged from thresholded foreground while kept pixels preserve their original soft values. | |
| min_image_area_percent | FLOAT | 0.0040–100 | Thresholded connected regions smaller than this image-area percentage are removed. |
| threshold | FLOAT | 0.100–1 | Pixels above this value define foreground regions before filtering. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| mask | MASK | — |