<< Chapter < Page Chapter >> Page >
R * ( ϵ , Θ ) r * ( ϵ , Θ ) O ( log ( 1 / ϵ ) ) · R * ( ϵ , Θ ) , ϵ 0 .

Signal and image compression

Fundamentals of data compression

From basic information theory, we know the minimum average number of bits needed to represent realizations of a independent and identically distributeddiscrete random variable X is its entropy H ( X ) [link] . If the distribution p ( X ) is known, we can design Huffman codes or use the arithmetic coding method to achieve this minimum [link] . Otherwise we need to use adaptive method [link] .

Continuous random variables require an infinite number of bits to represent, so quantization is always necessary for practical finiterepresentation. However, quantization introduces error. Thus the goal is to achieve the best rate-distortion tradeoff [link] , [link] , [link] . Text compression [link] , waveform coding [link] and subband coding [link] have been studied extensively over the years. Here we concentrate on waveletcompression, or more general, transform coding. Also we concentrate on low bitrate.

Prototype Transform Coder
Prototype Transform Coder

Prototype transform coder

The simple three-step structure of a prototype transform coder is shown in [link] . The first step is the transform of the signal. For a length- N discrete signal f ( n ) , we expand it using a set of orthonormal basis functions as

f ( n ) = 1 N c i ψ i ( n ) ,

where

c i = f ( n ) , ψ i ( n ) .

We then use the uniform scalar quantizer Q as in [link] , which is widely used for wavelet based image compression [link] , [link] ,

c ^ i = Q ( c i ) .

Denote the quantization step size as T . Notice in the figure that the quantizer has a dead zone, so if | c i | < T , then Q ( c i ) = 0 . We define an index setfor those insignificant coefficients

Uniform Scalar Quantizer
Uniform Scalar Quantizer

I = { i : | c i | < T } . Let M be the number of coefficients with magnitudes greater than T (significant coefficients). Thus the size of I is N - M . The squared error caused by the quantization is

i = 1 N ( c i - c ^ i ) 2 = i I c i 2 + i I ( c i - c ^ i ) 2 .

Since the transform is orthonormal, it is the same as the reconstruction error. Assume T is small enough, so that the significant coefficients are uniformly distributed within each quantization bins. Then the secondterm in the error expression is

i I ( c i - c ^ i ) 2 = M T 2 12 .

For the first term, we need the following standard approximation theorem [link] that relates it to the l p norm of the coefficients,

f p = i = 1 N | c i | p 1 / p .

Theorem 56 Let λ = 1 p > 1 2 then

i I c i 2 f p 2 2 λ - 1 M 1 - 2 λ

This theorem can be generalized to infinite dimensional space if f p 2 < + . It has been shown that for functions in a Besov space, f p 2 < + does not depend on the particular choice of the wavelet as long as each wavelet in the basis has q > λ - 1 2 vanishing moments and is q times continuously differentiable [link] . The Besov space includes piece-wise regular functions that may include discontinuities. This theoremindicates that the first term of the error expression decreases very fast when the number of significant coefficient increases.

The bit rate of the prototype compression algorithm can also be separated in two parts. For the first part, we need to indicate whether thecoefficient is significant, also known as the significant map. For example, we could use 1 for significant, and 0 for insignificant. We need atotal of N these indicators. For the second part, we need to represent the values of the significantcoefficients. We only need M values. Because the distribution of the values and the indicators arenot known in general, adaptive entropy coding is often used [link] .

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Wavelets and wavelet transforms. OpenStax CNX. Aug 06, 2015 Download for free at https://legacy.cnx.org/content/col11454/1.6
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Wavelets and wavelet transforms' conversation and receive update notifications?

Ask