Ringing artifacts

On this page 7

Ringing artifacts are faint oscillating ripples or halos that appear alongside sharp edges in an image, where a clean step between light and dark is followed by alternating overshoot and undershoot bands. In video quality assessment they are a classic distortion caused by truncating or quantizing high spatial frequencies during compression, scaling or filtering.

The effect is the visual form of the Gibbs phenomenon: when a signal containing an abrupt transition is reconstructed from a limited set of frequency components, the reconstruction oscillates around the edge instead of stepping cleanly. Ringing is most visible around text, graphics, horizons and high-contrast outlines.

Why ringing appears next to sharp edges

A sharp edge contains energy at many spatial frequencies, extending up to the sampling limit. Any process that removes or coarsely approximates the highest of those frequencies leaves the lower components unbalanced, and their sum produces overshoot on the bright side and undershoot on the dark side, followed by decaying ripples.

In transform-based codecs such as MPEG-2, H.264, HEVC and AV1, the encoder converts blocks into frequency coefficients with a discrete cosine transform or a related integer transform. Coarse quantization of high-frequency coefficients zeroes or rounds them, so the decoded block shows ripples parallel to the edge. In resampling, filters with sharp frequency cutoffs, such as Lanczos or sinc kernels, produce the same pattern by design.

The amplitude of ringing depends on how abrupt the cutoff is and how much energy is discarded. Theory predicts that an ideal low-pass filter overshoots by about 9 percent of the step height, regardless of cutoff frequency, while gentler filters trade less ringing for a softer edge.

SourceMechanismTypical appearance
Lossy compressionQuantized high-frequency transform coefficientsRipples inside coded blocks near edges
Image scalingSharp-cutoff resampling kernelsThin halos around outlines after resizing
Sharpening filtersUnsharp mask overshootBright and dark rims on contours
Analog band limitingSteep filters in legacy signal chainsEcho-like repeated edges
Main sources of ringing in video processing

Ringing compared with other compression artifacts

Ringing belongs to the family of compression artifacts but has a distinct shape and location. It is often grouped with mosquito noise, yet the two differ: ringing is a static spatial pattern, whereas mosquito noise is the flickering temporal variation of similar errors from frame to frame.

ArtifactWhere it appearsTemporal behaviorPrimary cause
Ringing artifactsParallel to sharp edgesMostly staticLost high frequencies
Mosquito noiseAround edges and moving objectsShimmering, frame to frameVarying quantization error
Blocking artifactsAlong block boundariesStatic or crawlingIndependent block coding
BandingSmooth gradientsStaticInsufficient bit depth or quantization
AliasingFine repetitive detailMoire or shimmerToo little low-pass filtering
How ringing differs from related video artifacts

Ringing and aliasing sit on opposite sides of one filtering trade-off. A filter that cuts high frequencies sharply suppresses aliasing but rings, while a gentle filter rings less but lets aliasing through or softens the picture. Good scaler design chooses a balance appropriate to the content.

Factors that control ringing visibility

Whether viewers notice ringing depends on bitrate, transform size, content type and display conditions. Low-detail backgrounds next to high-contrast edges reveal ripples most clearly, because nothing masks the error, while textured regions hide it through visual masking.

ParameterEffect on ringingPractical range or note
Quantization parameterHigher QP increases ringingVisible above roughly QP 32 in H.264
Transform sizeLarger transforms spread ripples furtherHEVC and AV1 allow up to 32×32 or 64×64
Scaler kernelSharper kernels ring moreLanczos rings more than bicubic or bilinear
Sharpening strengthStronger sharpening widens halosMost visible on text and logos
Display sizeLarge screens magnify ripplesUpscaling televisions add their own ringing
Parameters that influence ringing strength

Ringing also compounds across processing stages. A clip that is sharpened, downscaled, encoded and then upscaled by a television can show several layers of halos, an example of generation loss in which each stage adds its own edge oscillation.

Measuring and reducing ringing

Full-reference metrics capture ringing only partially. PSNR treats ringing as generic error, SSIM responds to the structural change near edges, and VMAF, trained on subjective scores, tends to penalize visible halos more realistically. Dedicated no-reference ringing detectors analyze edge neighborhoods for oscillation energy and are used in automated quality control.

Codecs and post-processing chains include several countermeasures:

  • Deringing filters: AV1 uses the Constrained Directional Enhancement Filter, and HEVC uses Sample Adaptive Offset to correct edge offsets.
  • Adaptive quantization: encoders allocate more bits to blocks with strong edges and flat surroundings.
  • Smaller transforms near edges: splitting blocks confines ripples to a narrower area.
  • Anti-ringing scalers: clamped or windowed kernels limit overshoot during resizing.
  • Moderate sharpening: limiting unsharp-mask amount prevents halos before encoding.

The most effective prevention is upstream: avoiding oversharpened sources and giving the encoder enough bitrate for graphics-heavy material. Post-decoding deringing can soften edges, so it should be applied with care.

Common mistakes when dealing with ringing

Teams often misdiagnose ringing because it resembles deliberate sharpening. Typical errors include raising sharpening to compensate for soft encodes, which feeds the encoder more high-frequency energy and produces stronger ringing at the same bitrate, and judging encodes on small preview windows where halos are invisible.

Another mistake is relying on a single average score. A high mean VMAF can hide localized ringing around lower-third graphics or subtitles, which viewers notice immediately. Inspecting worst-case frames and edge-rich segments gives a more honest picture of quality.

The idea in brief

When video is squeezed to save space or resized to fit a screen, the sharpest details are the first to suffer. Instead of a clean line between a dark letter and a bright background, faint ripples appear beside the edge, like the rings that spread when a stone drops into water.

These ripples are called ringing. They are most noticeable around text, logos and outlines, and they usually mean the video lost fine detail somewhere along the way.

A practical scenario

A streaming service prepares an encoding ladder for an educational channel whose lessons feature white slides with black text. At the 1080p rung, encoded in H.264 at 3 Mb/s, reviewers notice gray ripples around every letter, even though the average VMAF score is above 90.

The engineering team finds that the source files were exported with strong sharpening and that the 720p rung was scaled with a Lanczos kernel. They reduce sharpening at export, switch to a bicubic scaler with mild anti-ringing, and enable adaptive quantization so flat slide backgrounds next to text receive more bits.

After re-encoding at the same bitrates, the text edges are clean, the worst-frame VMAF rises by several points, and support tickets about blurry or noisy slides drop noticeably.