Content deleted Content added
Peter.mlich (talk | contribs) |
→C. Scanning order for coefficients: syntax and link to existing wikipedia page |
||
(14 intermediate revisions by 4 users not shown) | |||
Line 1:
{{Short description|Lossy image compression algorithm}}
'''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 [[Sub-band coding|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 (graph theory)|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.
Line 28:
(5) Adaptive multilevel arithmetic coding which is a fast and efficient method for entropy coding strings of symbols.
== Embedded
=== A. Encoding a coefficient of the significance map ===
In a significance map, the coefficients can be
==== 1. Zerotree root ====
Line 37:
==== 2. Isolated zero ====
If the magnitude of a coefficient
==== 3. Positive significant coefficient ====
Line 46:
=== B. Defining threshold ===
The threshold
==== 1. Initial threshold T<sub>0</sub>
==== 2. Threshold T<sub>i</sub> is iteratively reduced to half of the value of the previous threshold
▲==== 1. Initial threshold T<sub>0</sub>: (Assume C<sub>max</sub> is the largest coefficient.) ====
▲<span>[[File:Threshold-0119.png|126x126px]]</span>
▲==== 2. Threshold T<sub>i</sub> is reduced to half of the value of the previous threshold. ====
▲[[File:Threshold-01192.png|frameless|133x133px]]
=== C. Scanning order for coefficients ===
'''[[Raster
=== D. Two-pass bitplane coding ===
Line 144 ⟶ 146:
[[Category:Image compression]]
[[Category:Lossless compression algorithms]]▼
[[Category:Trees (data structures)]]
[[Category:
|