ComfyUI Node

Mask Arbiter

A ComfyUI node in mask_arbiter with 7 inputs and 2 outputs.

By SparknightLLC·Created 2 years ago·Updated 6 months ago· 4
Mask Arbiter
  • masks
  • mask
  • MASK
  • MASKS
sort_byleftmost
index0
resolution64
averagefalse
reversefalse
Categorymask_arbiter

Inputs (7)

NameTypeDefaultDescription
sort_byCOMBOleftmost7 options: initial, random, merged, leftmost, topmost, innermost, +1
indexINT0
resolutionINT64The 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).
masksoptMASKS
maskoptMASK
averageoptBOOLEANfalseIf 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.
reverseoptBOOLEANfalse

Outputs (2)

NameTypeDescription
MASKMASK
MASKSMASKS