ComfyUI Node

SSIM

Measures structural similarity between images, accounting for luminance, contrast, and structure.

By Laurent2916·Created about a year ago·Updated about a year ago· 0
SSIM
  • image_a
  • image_b
  • kernel_size
  • ssim
kernel_sigma1.50
data_range1.00
reduction
downsampletrue
k10.01
k20.03
Categorypiq

Inputs (9)

NameTypeDefaultDescription
image_aIMAGEInput image
image_bIMAGEReference image
kernel_sizeINTEGER11Size of the Gaussian kernel
kernel_sigmaFLOAT1.50Standard deviation of the Gaussian kernel
data_rangeFLOAT1.00Maximum value range of images
reductionCOMBOReduction method
downsampleBOOLEANtrue
k1FLOAT0.01First stability constant
k2FLOAT0.03Second stability constant

Outputs (1)

NameTypeDescription
ssimFLOATStructural Similarity Index