ArticleslgStudy

computer science

Embedded zerotrees of wavelet transforms

Embedded zerotrees of wavelet transforms 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 Embedded zerotrees of wavelet transforms rather than just read about it. In short: Embedded zerotrees of wavelet transforms (EZW) is a lossy image compression algorithm. At low bit rates, i.e. high compression ratios, most of the coefficients produced by a subband transform (such as the wavelet transform) will be zero, or very close to zero.

Key takeaways

  • Embedded zerotrees of wavelet transforms 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 Embedded zerotrees of wavelet transforms to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Embedded zerotrees of wavelet transforms from memory before moving on to harder problems.

Reference excerpt

Embedded zerotrees of wavelet transforms (EZW) is a lossy image compression algorithm. At low bit rates, i.e. high compression ratios, most of the coefficients produced by a subband transform (such as the wavelet transform) will be zero, or very close to zero. This occurs because "real world" images tend to contain mostly low frequency information (highly correlated). However where high frequency information does occur (such as edges in the image) this is particularly important in terms of human perception of the image quality, and thus must be represented accurately in any high quality coding scheme. By considering the transformed coefficients as a tree (or trees) with the lowest frequency coefficients at the root node and with the children of each tree node being the spatially related coefficients in the next higher frequency subband, there is a high probability that one or more subtrees will consist entirely of coefficients which are zero or nearly zero, such subtrees are called zerotrees. Due to this, we use the terms node and coefficient interchangeably, and when we refer to the children of a coefficient, we mean the child coefficients of the node in the tree where that coefficient is located. We use children to refer to directly connected nodes lower in the tree and descendants to refer to all nodes which are below a particular node in the tree, even if not directly connected. In zerotree based image compression scheme such as EZW and SPIHT, the intent is to use the statistical properties of the trees in order to efficiently code the locations of the significant coefficients. Since most of the coefficients will be zero or close to zero, the spatial locations of the significant coefficients make up a large portion of the total size of a typical compressed image. A coefficient (likewise a tree) is considered significant if its magnitude (or magnitudes of a node and all its descendants in the case of a tree) is above a particular threshold. By starting with a threshold which is close to the maximum coefficient magnitudes and iteratively decreasing the threshold, it is possible to create a compressed representation of an image which progressively adds finer detail. Due to the structure of the trees, it is very likely that if a coefficient in a particular frequency band is insignificant, then all its descendants (the spatially related higher frequency band coefficients) will also be insignificant. EZW uses four symbols to represent (a) a zerotree root, (b) an isolated zero (a coefficient which is insignificant, but which has significant descendants), (c) a significant positive coefficient and (d) a significant negative coefficient. The symbols may be thus represented by two binary bits. The compression algorithm consists of a number of iterations through a dominant pass and a subordinate pass, the threshold is updated (reduced by a factor of two) after each iteration. The dominant pass encodes the significance of the coefficients which have not yet been found significant in earlier iterations, by scanning the trees and emitting one of the four symbols. The children of a coefficient are only scanned if the coefficient was found to be significant, or if the coefficient was an isolated zero. The subordinate pass emits one bit (the most significant bit of each coefficient not so far emitted) for each coefficient which has been found significant in the previous significance passes. The subordinate pass is therefore similar to bit-plane coding. There are several important features to note. Firstly, it is possible to stop the compression algorithm at any time and obtain an approximation of the original image, the greater the number of bits received, the better the image. Secondly, due to the way in which the compression algorithm is structured as a series of decisions, the same algorithm can be run at the decoder to reconstruct the coefficients, but with the decisions being taken according to the incoming bit stream. In practical implementations, it would be usual to use an entropy code such as arithmetic code to further improve the performance of the dominant pass. Bits from the subordinate pass are usually random enough that entropy coding provides no further coding gain. The coding performance of EZW has since been exceeded by SPIHT and its many derivatives.

Introduction Embedded zerotree wavelet algorithm (EZW) as developed by J. Shapiro in 1993, enables scalable image transmission and decoding. It is based on four key concepts: first, it should be a discrete wavelet transform or hierarchical subband decomposition; second, it should predict the absence of significant information when exploring the self-similarity inherent in images; third, it has entropy-coded successive-approximation quantization, and fourth, it is enabled to achieve universal lossless data compression via adaptive arithmetic coding. Besides, the EZW algorithm also contains the following features:

A discrete wavelet transform which can use a compact multiresolution representation in the image. Zerotree coding which provides a compact multiresolution representation of significance maps. Successive approximation for a compact multiprecision representation of the significant coefficients. A prioritization protocol which the importance is determined by the precision, magnitude, scale, and spatial location of the wavelet coefficients in order. Adaptive multilevel arithmetic coding which is a fast and efficient method for entropy coding strings of symbols.

Embedded zerotree wavelet coding

A. Encoding a coefficient of the significance map In a significance map, the coefficients can be represented by the following four different symbols. With using these symbols to represent the image information, the coding will be less complicated.

1. Zerotree root If the magnitude of a coefficient is less than a threshold T, and all its descendants are less than T, then this coefficient is called zerotree root. And if a coefficient has been labeled as zerotree root, it means that all of its descendants are insignificant, so there is no need to label its descendants.

2. Isolated zero If the magnitude of a coefficient is lower than a threshold T, but it still has some significant descendants, then this coefficient is called isolated zero.

3. Positive significant coefficient If the magnitude of a coefficient is greater than a threshold T at level T, and also is positive, than it is a positive significant coefficient.

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Embedded zerotrees of wavelet transforms

Start with the simplest possible case. Write down what Embedded zerotrees of wavelet transforms 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 Embedded zerotrees of wavelet transforms 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 Embedded zerotrees of wavelet transforms 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 Embedded zerotrees of wavelet transforms

In research
Embedded zerotrees of wavelet transforms 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 Embedded zerotrees of wavelet transforms 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
Embedded zerotrees of wavelet transforms is common in secondary-school and first-year university syllabi. It links to neighbouring topics Data compression, Image compression, Lossy compression algorithms, so understanding it makes those chapters shorter.
In everyday life
Look for Embedded zerotrees of wavelet transforms 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.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Embedded zerotrees of wavelet transforms” →

How to study Embedded zerotrees of wavelet transforms in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Embedded zerotrees of wavelet transforms 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 Embedded zerotrees of wavelet transforms out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Embedded zerotrees of wavelet transforms in simple terms?

Embedded zerotrees of wavelet transforms (EZW) is a lossy image compression algorithm. At low bit rates, i.e. high compression ratios, most of the coefficients produced by a subband transform (such as the wavelet transform) will be zero, or very close to zero.

Why does Embedded zerotrees of wavelet transforms 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 Embedded zerotrees of wavelet transforms?

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 Embedded zerotrees of wavelet transforms.

Tags

  • Data compression
  • Image compression
  • Lossy compression algorithms
  • Trees (data structures)

Keep exploring