ComfyUI Node
PSNR
Measures the peak signal-to-noise ratio between images. Higher values indicate better quality.
PSNR
- image_a
- image_b
- psnr
◄data_range1.00►
◄reduction▾►
◄convert_to_greyscalefalse►
Categorypiq
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| image_a | IMAGE | Input image | |
| image_b | IMAGE | Reference image | |
| data_range | FLOAT | 1.00 | Maximum value range of images |
| reduction | COMBO | Reduction method | |
| convert_to_greyscale | BOOLEAN | false | Convert images to YIQ format and compute PSNR only on luminance channel |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| psnr | FLOAT | Peak Signal-to-Noise Ratio |