ComfyUI Node
Mask Analyze
A ComfyUI node in Mask Tools with 8 inputs and 7 outputs.
Mask Analyze
- mask
- component_count
- small_component_count
- small_component_ratio
- aspect_ratio
- complexity_score
- strategy
- use_overlay_mode
◄threshold0.50►
◄min_component_area40►
◄small_component_area300►
◄direct_max_components4►
◄overlay_min_components9►
◄wide_aspect_overlay3.2►
◄small_ratio_overlay0.45►
CategoryMask Tools
Inputs (8)
| Name | Type | Default | Description |
|---|---|---|---|
| mask | MASK | — | |
| threshold | FLOAT | 0.500–1 | — |
| min_component_area | INT | 401–100000 | — |
| small_component_area | INT | 3001–100000 | — |
| direct_max_components | INT | 41–1000 | — |
| overlay_min_components | INT | 91–1000 | — |
| wide_aspect_overlay | FLOAT | 3.21–20 | — |
| small_ratio_overlay | FLOAT | 0.450–1 | — |
Outputs (7)
| Name | Type | Description |
|---|---|---|
| component_count | INT | — |
| small_component_count | INT | — |
| small_component_ratio | FLOAT | — |
| aspect_ratio | FLOAT | — |
| complexity_score | FLOAT | — |
| strategy | STRING | — |
| use_overlay_mode | BOOLEAN | — |