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.
Blockify Mask
- masks
- mask
◄block_size32►
◄devicecpu►
CategoryBCNodes/mask
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| masks | MASK | — | |
| block_size | INT | 328–512 | Block size in pixels (smaller = smaller blocks). |
| deviceopt | COMBO | cpu | Device the masks are processed on. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| mask | MASK | — |