ComfyUI Node
Mask Arbiter
A ComfyUI node in mask_arbiter with 7 inputs and 2 outputs.
Mask Arbiter
- masks
- mask
- MASK
- MASKS
◄sort_byleftmost►
◄index0►
◄resolution64►
◄averagefalse►
◄reversefalse►
Categorymask_arbiter
Inputs (7)
| Name | Type | Default | Description |
|---|---|---|---|
| sort_by | COMBO | leftmost | 7 options: initial, random, merged, leftmost, topmost, innermost, +1 |
| index | INT | 0 | — |
| resolution | INT | 64 | The maximum pixel size of the masks for evaluation. 0 to disable. The computation time increases with mask resolution. Note that the size of the returned mask(s) will be the same as your input mask(s). |
| masksopt | MASKS | — | |
| maskopt | MASK | — | |
| averageopt | BOOLEAN | false | If enabled, the average position of mask pixels will be used for sorting instead of the most extreme position. May increase computation time, but is often useful for 'innermost' with masks that have multiple disconnected regions. |
| reverseopt | BOOLEAN | false | — |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| MASK | MASK | — |
| MASKS | MASKS | — |