ComfyUI Node
🍒Mask_White_Area_Ratio📊蒙版白色区域占比
计算mask中白色区域占比。area_threshold用于判断白色区域占比是否超过设定值。白色判断标准默认为>0.5。
🍒Mask_White_Area_Ratio📊蒙版白色区域占比
- mask
- white_area_ratio
- boolean
◄area_threshold50►
Category🍒 Kim-Nodes/🔲Mask_Tools | 蒙板工具
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| mask | MASK | — | |
| area_threshold | FLOAT | 500–100 | — |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| white_area_ratio | FLOAT | — |
| boolean | BOOLEAN | — |