Nodes/More Math/Mask math
ComfyUI Node

Mask math

A ComfyUI node in sd with 10 inputs and 1 output.

By mcDandy·Created about a year ago·Updated about a month ago· 5
Mask math
  • a
  • b
  • c
  • d
  • MASK
Maska*(1-w)+b*w
length_mismatcherror
w0.00
x0.00
y0.00
z0.00
Categorysd

Inputs (10)

NameTypeDefaultDescription
aMASK
MaskSTRINGa*(1-w)+b*wExpression to apply on input masks
length_mismatchCOMBOerrorHow to handle mismatched mask batch sizes. tile: repeat shorter inputs; error: raise error on mismatch; pad: treat missing frames as zero.
boptMASK
coptMASK
doptMASK
woptFLOAT0.00
xoptFLOAT0.00
yoptFLOAT0.00
zoptFLOAT0.00

Outputs (1)

NameTypeDescription
MASKMASK