Nodes/ComfyUI-BCNodes/Blockify Mask
ComfyUI Node

Blockify Mask

Divides the bounding box of each mask into blocks of about block_size pixels (the last row and column take the remainder) and fills every block that holds any part of the mask.

By 0xBeycan·Created 13 days ago·Updated about 12 hours ago· 1
Blockify Mask
  • masks
  • mask
◄block_size32►
◄devicecpu►
CategoryBCNodes/mask

Inputs (3)

NameTypeDefaultDescription
masksMASK—
block_sizeINT328–512Block size in pixels (smaller = smaller blocks).
deviceoptCOMBOcpuDevice the masks are processed on.

Outputs (1)

NameTypeDescription
maskMASK—