ComfyUI Node

BatchImageToMask

Converts RGB images to binary masks using grayscale conversion and thresholding, with optional morphological dilation

By Pablerdo·Created about a year ago·Updated about a year ago· 4
BatchImageToMask
  • images
  • MASKS
threshold0.50
dilation_amount0
CategoryPSNodes/masking

Inputs (3)

NameTypeDefaultDescription
imagesIMAGE
thresholdFLOAT0.500–1
dilation_amountINT00–100

Outputs (1)

NameTypeDescription
MASKSMASK