SSIM, PSNR, and VMAF: Evaluating AVIF Compression

Evaluating the visual quality of AVIF (AV1 Image File Format) images requires objective metrics that can accurately predict human perceptual fidelity after lossy compression. This article examines how Peak Signal-to-Noise Ratio (PSNR), Structural Similarity Index Measure (SSIM), and Video Multi-Method Assessment Fusion (VMAF) quantify distortion in compressed AVIF files, detailing their core mechanics, strengths, and limitations when applied to AV1-based still images.

Peak Signal-to-Noise Ratio (PSNR)

PSNR is a traditional mathematical metric that measures the ratio between the maximum possible power of an image and the power of corrupting noise, derived directly from Mean Squared Error (MSE). When evaluating AVIF images, PSNR compares the original, uncompressed source against the compressed output pixel by pixel.

Structural Similarity Index Measure (SSIM)

SSIM addresses the perceptual shortcomings of PSNR by shifting the focus from absolute pixel error to structural information degradation. It operates on the principle that the human visual system is adapted to extract structural details rather than individual pixel intensities.

Video Multi-Method Assessment Fusion (VMAF)

Originally developed by Netflix for video streaming, VMAF is an advanced perceptual metric that has been adapted to evaluate still image formats like AVIF. VMAF combines multiple quality assessment algorithms and uses a trained machine-learning model (Support Vector Machine) to predict human subjective mean opinion scores (MOS).