Nodes/ComfyUI_KimNodes/🍒Mask_White_Area_Ratio📊蒙版白色区域占比
ComfyUI Node

🍒Mask_White_Area_Ratio📊蒙版白色区域占比

计算mask中白色区域占比。area_threshold用于判断白色区域占比是否超过设定值。白色判断标准默认为>0.5。

By wjl0313·Created 2 years ago·Updated 11 months ago· 53
🍒Mask_White_Area_Ratio📊蒙版白色区域占比
  • mask
  • white_area_ratio
  • boolean
area_threshold50
Category🍒 Kim-Nodes/🔲Mask_Tools | 蒙板工具

Inputs (2)

NameTypeDefaultDescription
maskMASK
area_thresholdFLOAT500–100

Outputs (2)

NameTypeDescription
white_area_ratioFLOAT
booleanBOOLEAN