<< Chapter < Page Chapter >> Page >

The magnitude of this complex-valued function gives the ratio of the output to the inputof the filter for a sampled sinusoid at a frequency of ω in radians per seconds. The angle of H ( ω ) is the phase shift between the output and input.

The first stage of two banks divides the spectrum of c j + 1 ( k ) into a lowpass and highpass band, resulting in the scaling coefficients and wavelet coefficients at lower scale c j ( k ) and d j ( k ) . The second stage then divides that lowpass band into another lower lowpassband and a bandpass band. The first stage divides the spectrum into two equal parts. The second stage divides the lower half into quarters and soon. This results in a logarithmic set of bandwidths as illustrated in [link] . These are called “constant-Q" filters in filter bank language because the ratio of the band width to the center frequency ofthe band is constant. It is also interesting to note that a musical scale defines octaves in a similar way and that the ear responds to frequenciesin a similar logarithmic fashion.

For any practical signal that is bandlimited, there will be an upper scale j = J , above which the wavelet coefficients, d j ( k ) , are negligibly small [link] . By starting with a high resolution description of a signal in terms of the scaling coefficients c J , the analysis tree calculates the DWT

down to as low a resolution, j = j 0 , as desired by having J - j 0 stages. So, for f ( t ) V J , using [link] we have

f ( t ) = k c J ( k ) φ J , k ( t ) = k c J - 1 ( k ) φ J - 1 , k ( t ) + k d J - 1 ( k ) ψ J - 1 , k ( t ) f ( t ) = k c J - 2 ( k ) φ J - 2 , k ( t ) + k j = J - 2 J - 1 d j ( k ) ψ j , k ( t ) f ( t ) = k c j 0 ( k ) φ j 0 , k ( t ) + k j = j 0 J - 1 d j ( k ) ψ j , k ( t )

which is a finite scale version of [link] . We will discuss the choice of j 0 and J further in Chapter: Calculation of the Discrete Wavelet Transform .

Three-Stage Two-Band Analysis Tree
Three-Stage Two-Band Analysis Tree
Frequency Bands for the Analysis Tree
Frequency Bands for the Analysis Tree

Synthesis – from coarse scale to fine scale

As one would expect, a reconstruction of the original fine scale coefficients of the signal can be made from a combination of the scalingfunction and wavelet coefficients at a coarse resolution. This is derived by considering a signal in the j + 1 scaling function space f ( t ) V j + 1 . This function can be written in terms of the scaling function as

f ( t ) = k c j + 1 ( k ) 2 ( j + 1 ) / 2 φ ( 2 j + 1 t - k )

or in terms of the next scale (which also requires wavelets) as

f ( t ) = k c j ( k ) 2 j / 2 φ ( 2 j t - k ) + k d j ( k ) 2 j / 2 ψ ( 2 j t - k ) .

Substituting [link] and [link] into [link] gives

f ( t ) = k c j ( k ) n h ( n ) 2 ( j + 1 ) / 2 φ ( 2 j + 1 t - 2 k - n ) + k d j ( k ) n h 1 ( n ) 2 ( j + 1 ) / 2 φ ( 2 j + 1 t - 2 k - n ) .

Because all of these functions are orthonormal, multiplying [link] and [link] by φ ( 2 j + 1 t - k ' ) and integrating evaluates the coefficient as

c j + 1 ( k ) = m c j ( m ) h ( k - 2 m ) + m d j ( m ) h 1 ( k - 2 m ) .

Filtering and up-sampling or stretching

For synthesis in the filter bank we have a sequence of first up-sampling or stretching, then filtering. This means that theinput to the filter has zeros inserted between each of the original terms. In other words,

y ( 2 n ) = x ( n ) and y ( 2 n + 1 ) = 0

where the input signal is stretched to twice its original length and zeros are inserted. Clearly this up-sampling or stretching couldbe done with factors other than two, and the two equation above could have the x ( n ) and 0 reversed. It is also clear that up-sampling does not lose any information. If you firstup-sample then down-sample, you are back where you started. However, if you first down-sample then up-sample, you are notgenerally back where you started.

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