medir_calidad
Measure how far a processed image deviates from its original using SSIMULACRA 2, PSNR, and SSIM metrics to quantify compression or format-conversion loss.
Instructions
How far an image is from its original: SSIMULACRA 2 (90 or more indistinguishable, 80 very high, 70 high, 50 noticeable), PSNR and SSIM. They have to be the same size (if the result is auto-rotated, the original is auto-rotated too). To see where the loss is, ver_imagen with diferencias_con. Example: {"original": "/a.jpg", "resultado": "/a.webp"}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| original | Yes | The original image, absolute path. | |
| resultado | Yes | The image to measure, of the same size. |