AV1 vs HEVC: Logarithmic Contouring Artifacts

This article compares how AV1 and HEVC (H.265) manage logarithmic contouring artifacts, commonly recognized as color banding along smooth gradients and low-contrast logarithmic curves. By examining the underlying compression architectures, in-loop filtering pipelines, and perceptual mitigation techniques of each codec, this guide explains why these artifacts occur and which format handles gradient integrity more effectively at matching bitrates.

Understanding Logarithmic Contouring

Logarithmic contouring occurs when continuous luminance or chrominance gradients are quantized into distinct, visible bands or "steps." This artifact is particularly prevalent in scenes encoded with logarithmic transfer functions (such as camera log profiles or HDR transfer characteristics) and flat, dimly lit regions like skies or shadows. Because human visual perception is roughly logarithmic, subtle shifts in low-luminance zones become starkly noticeable when a codec truncates precision to meet bitrate constraints.

HEVC Artifact Profile and Mitigation

HEVC combats contouring primarily through its Deblocking Filter and Sample Adaptive Offset (SAO).

AV1 Artifact Profile and Mitigation

AV1 employs a more sophisticated in-loop filtering and restoration architecture designed specifically to tackle false edges and contouring.

Comparative Summary

When evaluating the logarithmic contouring profile between both standards: