Nodes/ComfyUI 1hewNodes/Mask Separate
ComfyUI Node

Mask Separate

A ComfyUI node in 1hewNodes/mask with 5 inputs and 2 outputs.

By 1hew·Created about a year ago·Updated about a month ago· 28
Mask Separate
  • mask
  • mask
  • count
threshold0.50
min_area1
sort_modetop_to_bottom
connectivity8
Category1hewNodes/mask

Inputs (5)

NameTypeDefaultDescription
maskMASK
thresholdFLOAT0.500–1
min_areaINT11–100000000
sort_modeCOMBOtop_to_bottom3 options: top_to_bottom, left_to_right, area_desc
connectivityCOMBO82 options: 8, 4

Outputs (2)

NameTypeDescription
maskMASK
countINT