ComfyUI Node
SSIM
Measures structural similarity between images, accounting for luminance, contrast, and structure.
SSIM
- image_a
- image_b
- kernel_size
- ssim
◄kernel_sigma1.50►
◄data_range1.00►
◄reduction▾►
◄downsampletrue►
◄k10.01►
◄k20.03►
Categorypiq
Inputs (9)
| Name | Type | Default | Description |
|---|---|---|---|
| image_a | IMAGE | Input image | |
| image_b | IMAGE | Reference image | |
| kernel_size | INTEGER | 11 | Size of the Gaussian kernel |
| kernel_sigma | FLOAT | 1.50 | Standard deviation of the Gaussian kernel |
| data_range | FLOAT | 1.00 | Maximum value range of images |
| reduction | COMBO | Reduction method | |
| downsample | BOOLEAN | true | — |
| k1 | FLOAT | 0.01 | First stability constant |
| k2 | FLOAT | 0.03 | Second stability constant |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| ssim | FLOAT | Structural Similarity Index |