Nodes/More Math/Image math
ComfyUI Node

Image 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
Image math
  • a
  • b
  • c
  • d
  • IMAGE
Imagea*(1-w)+b*w
length_mismatcherror
w0.00
x0.00
y0.00
z0.00
Categorysd

Inputs (10)

NameTypeDefaultDescription
aIMAGE
ImageSTRINGa*(1-w)+b*wExpression to apply on input images
length_mismatchCOMBOerrorHow to handle mismatched image batch sizes. tile: repeat shorter inputs; error: raise error on mismatch; pad: treat missing frames as zero.
boptIMAGE
coptIMAGE
doptIMAGE
woptFLOAT0.00
xoptFLOAT0.00
yoptFLOAT0.00
zoptFLOAT0.00

Outputs (1)

NameTypeDescription
IMAGEIMAGE