ComfyUI Node
Garment Segment (NH)
A ComfyUI node in NH-Nodes/Vision with 7 inputs and 3 outputs.
Garment Segment (NH)
- image
- mask
- cutout_rgba
- mask_image
◄partupper_garment►
◄attach_partstrue►
◄mask_expand0►
◄mask_blur0►
◄fill_holesfalse►
◄devicecuda►
CategoryNH-Nodes/Vision
Inputs (7)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| part | COMBO | upper_garment | 4 options: upper_garment, lower_garment, footwear, headwear |
| attach_parts | BOOLEAN | true | Merge pockets, zippers, bows, ruffles... that touch the selected garment. |
| mask_expand | INT | 0-64–64 | Grow (+) or shrink (-) the mask by N pixels. |
| mask_blur | INT | 00–64 | Feather the mask edge by N pixels. |
| fill_holes | BOOLEAN | false | Fill enclosed holes. Off for garments by default: an arm across the torso would be filled in. |
| device | COMBO | cuda | 2 options: cuda, cpu |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| mask | MASK | — |
| cutout_rgba | IMAGE | — |
| mask_image | IMAGE | — |