ArticleslgStudy

computer science

Ringing artifacts

Ringing artifacts is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Ringing artifacts rather than just read about it. In short: In signal processing, ringing artifacts are artifacts that appear as spurious signals near sharp transitions in a signal. In digital image processing, they appear as bands or "ghosts" near edges; audibly, they appear as "echos" near transients, particularly sounds from percussion instruments; most noticeable are the pre-echoes.

Ringing artifacts — main illustration
Ringing artifacts — illustration

Key takeaways

  • Ringing artifacts belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Ringing artifacts to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Ringing artifacts from memory before moving on to harder problems.

Reference excerpt

In signal processing, ringing artifacts are artifacts that appear as spurious signals near sharp transitions in a signal. In digital image processing, they appear as bands or "ghosts" near edges; audibly, they appear as "echos" near transients, particularly sounds from percussion instruments; most noticeable are the pre-echoes. The term "ringing" is because the output signal oscillates at a fading rate around a sharp transition in the input, similar to a bell after being struck. As with other artifacts, their minimization is a criterion in filter design.

Introduction

The main cause of ringing artifacts is due to a signal being bandlimited (specifically, not having high frequencies) or passed through a low-pass filter; this is the frequency domain description. In terms of the time domain, the cause of this type of ringing is the ripples in the sinc function, which is the impulse response (time domain representation) of a perfect low-pass filter. Mathematically, this is called the Gibbs phenomenon. One may distinguish overshoot (and undershoot), which occurs when transitions are accentuated – the output is higher than the input – from ringing, where after an overshoot, the signal overcorrects and is now below the target value; these phenomena often occur together, and are thus often conflated and jointly referred to as "ringing". The term "ringing" is most often used for ripples in the time domain, though it is also sometimes used for frequency domain effects: windowing a filter in the time domain by a rectangular function causes ripples in the frequency domain for the same reason as a brick-wall low pass filter (rectangular function in the frequency domain) causes ripples in the time domain, in each case the Fourier transform of the rectangular function being the sinc function. There are related artifacts caused by other frequency domain effects, and similar artifacts due to unrelated causes.

Causes

Description

By definition, ringing occurs when a non-oscillating input yields an oscillating output: formally, when an input signal which is monotonic on an interval has output response which is not monotonic. This occurs most severely when the impulse response or step response of a filter has oscillations – less formally, if for a spike input, respectively a step input (a sharp transition), the output has bumps. Ringing most commonly refers to step ringing, and that will be the focus. Ringing is closely related to overshoot and undershoot, which is when the output takes on values higher than the maximum (respectively, lower than the minimum) input value: one can have one without the other, but in important cases, such as a low-pass filter, one first has overshoot, then the response bounces back below the steady-state level, causing the first ring, and then oscillates back and forth above and below the steady-state level. Thus overshoot is the first step of the phenomenon, while ringing is the second and subsequent steps. Due to this close connection, the terms are often conflated, with "ringing" referring to both the initial overshoot and the subsequent rings. If one has a linear time invariant (LTI) filter, then one can understand the filter and ringing in terms of the impulse response (the time domain view), or in terms of its Fourier transform, the frequency response (the frequency domain view). Ringing is a time domain artifact, and in filter design is traded off with desired frequency domain characteristics: the desired frequency response may cause ringing, while reducing or eliminating ringing may worsen the frequency response.

sinc filter

The central example, and often what is meant by "ringing artifacts", is the ideal (brick-wall) low-pass filter, the sinc filter. This has an oscillatory impulse response function, as illustrated above, and the step response – its integral, the sine integral – thus also features oscillations, as illustrated at right. These ringing artifacts are not results of imperfect implementation or windowing: the ideal low-pass filter, while possessing the desired frequency response, necessarily causes ringing artifacts in the time domain.

Time domain In terms of impulse response, the correspondence between these artifacts and the behavior of the function is as follows:

impulse undershoot is equivalent to the impulse response having negative values, impulse ringing (ringing near a point) is precisely equivalent to the impulse response having oscillations, which is equivalent to the derivative of the impulse response alternating between negative and positive values, and there is no notion of impulse overshoot, as the unit impulse is assumed to have infinite height (and integral 1 – a Dirac delta function), and thus cannot be overshot. Turning to step response, the step response is the integral of the impulse response; formally, the value of the step response at time a is the integral ∫ − ∞ a {\displaystyle \int _{-\infty }^{a}} of the impulse response. Thus values of the step response can be understood in terms of tail integrals of the impulse response. Assume that the overall integral of the impulse response is 1, so it sends constant input to the same constant as output – otherwise the filter has gain, and scaling by gain gives an integral of 1.

… excerpt ends here. Continue reading the full article.

Illustrations

Ringing artifacts: Image showing ringing artifacts.

3 levels on each side of transition: overshoot, first ring, and (faint) second ring.
Image showing ringing artifacts. 3 levels on each side of transition: overshoot, first ring, and (faint) second ring.
Ringing artifacts: Same image without ringing artifacts.
Same image without ringing artifacts.
Ringing artifacts: The main cause of ringing artifacts is overshoot and oscillations in the step response of a filter.
The main cause of ringing artifacts is overshoot and oscillations in the step response of a filter.
Ringing artifacts: The sinc function, the impulse response for an ideal low-pass filter, illustrating ringing for an impulse.
The sinc function, the impulse response for an ideal low-pass filter, illustrating ringing for an impulse.
Ringing artifacts: The Gibbs phenomenon, illustrating ringing for a step function.
The Gibbs phenomenon, illustrating ringing for a step function.

Worked examples

Example 1 — a first encounter with Ringing artifacts

Start with the simplest possible case. Write down what Ringing artifacts claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Ringing artifacts before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Ringing artifacts ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Ringing artifacts

In research
Ringing artifacts appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Ringing artifacts in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Ringing artifacts is common in secondary-school and first-year university syllabi. It links to neighbouring topics Computer graphic artifacts, Signal processing, so understanding it makes those chapters shorter.
In everyday life
Look for Ringing artifacts outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study Ringing artifacts in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Ringing artifacts means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Ringing artifacts out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Ringing artifacts in simple terms?

In signal processing, ringing artifacts are artifacts that appear as spurious signals near sharp transitions in a signal. In digital image processing, they appear as bands or "ghosts" near edges; audibly, they appear as "echos" near transients, particularly sounds from percussion instruments; most…

Why does Ringing artifacts matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Ringing artifacts?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Ringing artifacts.

Tags

  • Computer graphic artifacts
  • Signal processing

Keep exploring