ComfyUI Node
🎭 Grow Mask
Mở rộng/thu nhỏ mask đều hoặc tăng dần theo hướng chọn, giữ nguyên phía đối diện.
🎭 Grow Mask
- mask
- mask
◄expand0►
◄directionall►
◄angle90►
◄tapered_cornerstrue►
Category📂 SDVN/🎭 Mask
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| mask | MASK | — | |
| expand | INT | 0-16384–16384 | Số dương mở rộng, số âm thu nhỏ (pixel). |
| direction | COMBO | all | 10 options: all, top, bottom, left, right, top_left, +4 |
| angle | FLOAT | 900–360 | Chỉ dùng với custom: 0° phải, 90° dưới, 180° trái, 270° trên. |
| tapered_corners | BOOLEAN | true | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| mask | MASK | — |