ComfyUI Node
BD Human Parser Mask Clean
Per-class morphological cleanup + min-component-area filter. Removes speckle, fills small holes, drops tiny disconnected blobs. Pixels stripped from their class fall back to background.
BD Human Parser Mask Clean
- parse_map
- parse_map
◄morph_opopen►
◄kernel_size3►
◄min_area64►
Category🧠BrainDead/Segmentation
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| parse_map | HUMAN_PARSE_MAP | — | |
| morph_opopt | COMBO | open | open=remove specks, close=fill small holes, open_then_close=both. |
| kernel_sizeopt | INT | 31–15 | Morphology kernel side (odd numbers work best). |
| min_areaopt | INT | 640–100000 | Drop connected components smaller than N pixels per class. 0 = off. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| parse_map | HUMAN_PARSE_MAP | — |