Measuring Quality the Way Humans See It
Date Published
The human visual system is not a calculator. It does not process images as matrices of pixel values. It processes edges, motion, and meaning. This is why mathematical metrics for image quality fail so consistently.
How Humans Actually See
We see contrast before color. Our eyes contain roughly 120 million rod cells for luminance and 6 million cone cells for color. We are far more sensitive to changes in brightness than to shifts in hue. A compression algorithm that preserves color accuracy while blurring edges will score well on some metrics. Humans will reject it immediately.
We see with foveal focus. The center of our vision is sharp. The periphery is soft. An image optimization system that treats every pixel equally is wasting bits on areas no user examines.
We see contextually. A blur in a product photo is unacceptable. The same blur in a background gradient is invisible. Quality is not uniform across an image. It is concentrated where attention lands.
Why PSNR and SSIM Fail
PSNR measures peak signal-to-noise ratio. It calculates the difference between original and compressed pixel values. It is mathematically convenient. It is perceptually irrelevant.
Two images can have identical PSNR scores while one looks sharp and the other looks damaged. PSNR cannot distinguish between an error in a smooth sky and an error on a human face. It weights them equally. Humans do not.
SSIM improves on this. It measures structural similarity, capturing relationships between pixels. It is better than PSNR. It is still not good enough. SSIM assumes uniform importance. It does not know that a product edge matters more than a shadow gradient.
Perceptual Optimization: The Core Concept
Perceptual optimization adjusts compression to preserve what humans notice and sacrifice what they do not. It operates in the frequency domain. High-frequency areas—textures, edges, fine detail—receive more preservation. Low-frequency areas—skies, walls, gradients—receive more compression.
The key threshold is JND: Just Noticeable Difference. This is the point at which a human viewer can detect a change. Perceptual optimization targets below JND for critical areas. It allows visible but acceptable degradation in non-critical areas.
Practical Implications
For e-commerce product thumbnails, edge fidelity matters more than color accuracy. A customer needs to see the stitching on a shoe, not the exact Pantone of the background. For hero banners, smooth gradients fail visibly under aggressive compression. Banding in a sunset is immediately apparent.
DAM workflows need perceptual scoring as a quality gate. An asset should not enter the system because it is small. It should enter because it is good enough for its intended use.
The Shift
Quality must become a measurable, comparable metric. Perceptual score should be a first-class optimization target, not a secondary check after file size is minimized.
The next article covers how AI learned to calculate these scores: the evolution from hand-crafted metrics to modern perception models.
Inverity