Nodes/ComfyUI-BrainDead/BD Human Parser Mask Clean
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.

By BizaNator·Created 7 months ago·Updated 16 days ago· 14
BD Human Parser Mask Clean
  • parse_map
  • parse_map
morph_opopen
kernel_size3
min_area64
Category🧠BrainDead/Segmentation

Inputs (4)

NameTypeDefaultDescription
parse_mapHUMAN_PARSE_MAP
morph_opoptCOMBOopenopen=remove specks, close=fill small holes, open_then_close=both.
kernel_sizeoptINT31–15Morphology kernel side (odd numbers work best).
min_areaoptINT640–100000Drop connected components smaller than N pixels per class. 0 = off.

Outputs (1)

NameTypeDescription
parse_mapHUMAN_PARSE_MAP