1 / 110

Wavelets (Chapter 7)

Wavelets (Chapter 7). What are Wavelets?. Sinusoid Wavelet. Wavelets are functions that “wave” above and below the x-axis, have (1) varying frequency, (2) limited duration, and (3) an average value of zero.

tdiane
Télécharger la présentation

Wavelets (Chapter 7)

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Wavelets (Chapter 7)

  2. What are Wavelets? Sinusoid Wavelet Wavelets are functions that “wave” above and below the x-axis, have (1) varying frequency, (2) limited duration, and (3) an average value of zero. This is in contrast to sinusoids, used by FT, which have infinite energy.

  3. What are Wavelets? (cont’d) Like sines and cosines in FT, wavelets are used as basis functions ψk(t) in representing other functions f(t): Spanof ψk(t): vector space S containing all functions f(t) that can be represented by ψk(t).

  4. What are Wavelets? (cont’d) Morlet Haar Daubechies There are many different wavelets:

  5. What are Wavelets? (cont’d) (dyadic/octave grid)

  6. What are Wavelets? (cont’d) j scale/frequency localization space localization

  7. Continuous Wavelet Transform (CWT) Scale parameter (measure of frequency) Translation parameter, measure of time Normalization constant Forward CWT: Continuous wavelet transform of the signal f(t) Mother wavelet (window) Scale = 1/j = 1/Frequency

  8. CWT: Main Steps • Take a wavelet and compare it to a section at the start of the original signal. • Calculate a number, C, that represents how closely correlated the wavelet is with this section of the signal. The higher C is, the more the similarity.

  9. CWT: Main Steps (cont’d) 3. Shift the wavelet to the right and repeat steps 1 and 2 until you've covered the whole signal.

  10. CWT: Main Steps (cont’d) 4. Scale the wavelet and repeat steps 1 through 3. 5. Repeat steps 1 through 4 for all scales.

  11. Coefficients of CTW Transform • Wavelet analysis produces a time-scale viewof the input signal or image. space

  12. Continuous Wavelet Transform (cont’d) • Inverse CWT: double integral!

  13. FT vs WT weighted by F(u) weighted by C(τ,s)

  14. Properties of Wavelets • Simultaneous localization in time and scale - The location of the wavelet allowsto explicitly represent the location of events in time. - The shape of the wavelet allowsto represent different detail or resolution. space

  15. Properties of Wavelets (cont’d) • Sparsity: for functions typically found in practice, many of the coefficients in a wavelet representation are either zero or very small. • Linear-time complexity: many wavelet transformations can be accomplished in O(N) time.

  16. Properties of Wavelets (cont’d) • Adaptability: wavelets can be adapted to represent a wide variety of functions (e.g., functions with discontinuities, functions defined on bounded domains etc.). • Well suited to problems involving images, open or closed curves, and surfaces of just about any variety. • Can represent functions with discontinuities or corners more efficiently (i.e., some have sharp corners themselves).

  17. Discrete Wavelet Transform (DWT) (forward DWT) (inverse DWT) where

  18. DFT vs DWT one parameter basis or two parameter basis FT expansion: WT expansion

  19. Multiresolution Representation using fine details narrower, small translations j coarse details

  20. Multiresolution Representation using fine details j coarse details

  21. Multiresolution Representation using fine details wider, large translations j coarse details

  22. Multiresolution Representation using high resolution (more details) j … low resolution (less details)

  23. Approximation Pyramid (revisited) low resolution j=0 scale=1/j high resolution j = J high resolution j = J low resolution j=0

  24. Image Pyramids

  25. Prediction Residual Pyramid (revisited) • Prediction residual pyramid can be represented more • efficiently. • In the absence of quantization errors, the approximation • pyramid can be reconstructed from the prediction residual • pyramid.

  26. Subband coding • In subband coding, an image is decomposed into a set of bandlimited components, called subbands. • Since the bandwidth of the resulting subbands is smaller than that of the original image, the subbands can be downsampled without loss of information.

  27. Perfect Reconstruction Filter Z transform: Goal: find H0, H1, G0 and G1 so that

  28. Perfect Reconstruction Filter: Conditions If Then

  29. Perfect Reconstruction Filter Families QMF: quadrature mirror filters CQF: conjugate mirror filters

  30. 2-D

  31. Efficient Representation Using “Details” details D3 details D2 details D1 L0

  32. Efficient Representation Using Details (cont’d) representation:L0 D1 D2 D3 in general: L0 D1 D2 D3…DJ (analysis) • A wavelet representation of a function consists of • a coarse overall approximation • detail coefficients that influence the function at various scales.

  33. Reconstruction (synthesis) H3=L2+D3 H2=L1+D2 details D3 details D2 H1=L0+D1 details D1 L0

  34. Example - Haar Wavelets L0 D1 D2 D3 • Suppose we are given a 1D "image" with a resolution of 4 pixels: [9 7 3 5] • The Haar wavelet transform is the following:

  35. Example - Haar Wavelets (cont’d) • Start by averaging the pixels together (pairwise) to get a new lower resolution image: • To recover the original four pixels from the two averaged pixels, store some detail coefficients.

  36. Example - Haar Wavelets (cont’d) • Repeating this process on the averages gives the full decomposition:

  37. Example - Haar Wavelets (cont’d) 1 -1 2 • The Harr decomposition of the original four-pixel image is: • We can reconstruct the original image to a resolution by adding or subtracting the detail coefficients from the lower-resolution versions.

  38. Example - Haar Wavelets (cont’d) Note small magnitude detail coefficients! Dj Dj-1 How to compute Di ? D1 L0

  39. Multiresolution Conditions • If a set of functions can be represented by a weighted sum of ψ(2jt - k), then a larger set, including the original, can be represented by a weighted sum of ψ(2j+1t - k): high resolution j scale/frequency localization low resolution time localization

  40. Multiresolution Conditions (cont’d) • If a set of functions can be represented by a weighted sum of ψ(2jt - k), then a larger set, including the original, can be represented by a weighted sum of ψ(2j+1t - k): Vj: span of ψ(2jt - k): Vj+1: span of ψ(2j+1t - k):

  41. Nested Spaces Vj Vj : space spanned by ψ(2jt - k) Basis functions: ψ(t - k) V0 f(t) ϵ Vj ψ(2t - k) V1 … Vj ψ(2jt - k) Multiresolution conditions  nested spanned spaces: i.e., if f(t) ϵV jthen f(t) ϵ V j+1

  42. How to compute Di ? f(t) ϵ Vj IDEA: define a set of basis Functions that span the differences between Vj

  43. Orthogonal Complement Wj • Let Wj be the orthogonal complement of Vj in Vj+1 - i.e., all functions in Vj that are orthogonal to Wj Vj+1 = Vj + Wj

  44. How to compute Di ? (cont’d) • If f(t) ϵVj+1, then f(t) can be represented using basis functions φ(t) fromVj+1: Vj+1 Alternatively, f(t) can be represented using two basis functions, φ(t) from Vj and ψ(t) from Wj: Vj+1 = Vj + Wj

  45. How to compute Di ? (cont’d) Think of Wj as a means to represent the parts of a function in Vj+1 that cannot be represented in Vj differences between Vj and Vj+1 Vj, Wj

  46. How to compute Di ? (cont’d) •  using recursion on Vj: Vj+1 = Vj + Wj Vj+1 = Vj-1+Wj-1+Wj = …= V0 + W0 + W1 + W2 + … + Wj if f(t) ϵ Vj+1 , then: V0 W0, W1, W2, … basis functions basis functions

  47. Wavelet expansion (Section 7.2) • Efficient wavelet decompositions involves a pair of waveforms (mother wavelets): • The two shapes are translated and scaled to produce wavelets (wavelet basis) at different locationsand on differentscales. encode low resolution info encode details or high resolution info φ(t) ψ(t) φ(t-k) ψ(2jt-k)

  48. Wavelet expansion (cont’d) • f(t) is written as a linear combination of φ(t-k) and ψ(2jt-k) : scaling function wavelet function Note:in Fourier analysis, there are only two possible values of k ( i.e., 0 and π/2); the values j correspond to different scales (i.e., frequencies).

  49. 1D Haar Wavelets • Haar scaling and wavelet functions: φ(t) ψ(t) computes details computes average

More Related