Presentation is loading. Please wait.

Presentation is loading. Please wait.

Haar Wavelet Analysis 吳育德 陽明大學放射醫學科學研究所 台北榮總整合性腦功能實驗室.

Similar presentations


Presentation on theme: "Haar Wavelet Analysis 吳育德 陽明大學放射醫學科學研究所 台北榮總整合性腦功能實驗室."— Presentation transcript:

1 Haar Wavelet Analysis 吳育德 陽明大學放射醫學科學研究所 台北榮總整合性腦功能實驗室

2 A First Course in Wavelets with Fourier Analysis Albert Boggess Francis J. Narcowich Prentice-Hall, Inc., 2001

3 Outlines Why Wavelet Haar Wavelets   The Haar Scaling Function   Basic Properties of the Haar Scaling Function   The Haar Wavelet Haar Decomposition and Reconstruction Algorithms   Decomposition   Reconstruction   Filters and Diagrams Summary

4 4.1 Why Wavelet Wavelets were first applied in geophysics to analyze data from seismic surveys. Seismic survey geophones seismic trace Sesimic trace Direct wave (along the surface) Subsequent waves (rock layers below ground)

5 Fourier Transform (FT) is not a good tool – gives no direct information about when an oscillation occurred. Short-time FT : equal time interval, high- frequency bursts occur are hard to detect. Wavelets can keep track of time and frequency information. They can be used to “zoom in” on the short bursts, or to “zoom out” to detect long, slow oscillations

6 frequency frequency + time (equal time intervals) frequency + time

7 4.2 Haar Wavelets 4.2.1 The Haar Scaling Function Wavelet functions Wavelet functions  Scaling function Φ (father wavelet)  Wavelet Ψ (mother wavelet)  These two functions generate a family of functions that can be used to break up or reconstruct a signal The Haar Scaling Function The Haar Scaling Function  Translation  Dilation

8 Using Haar blocks to approximate a signal High-frequency noise shows up as tall, thin blocks. High-frequency noise shows up as tall, thin blocks. Needs an algorithm that eliminates the noise and not distribute the rest of the signal. Needs an algorithm that eliminates the noise and not distribute the rest of the signal. Disadvantages of Harr wavelet: discontinuous and does not approximate continuous signals very well. Disadvantages of Harr wavelet: discontinuous and does not approximate continuous signals very well. Figure 2

9 Daubechies 8 Dubieties 3 Daubechies 4 Chap 6

10 4.2.2 Basic Properties of the Haar Scaling Function The Haar Scaling function is defined as The Haar Scaling function is defined as Φ (x-k) : same graph but translated by to the right (if k>0) by k units Φ (x-k) : same graph but translated by to the right (if k>0) by k units Let V 0 be the space of all functions of the form Let V 0 be the space of all functions of the form

11 V 0 consists of all piecewise constant functions whose discontinuities are contained in the set of integers V 0 consists of all piecewise constant functions whose discontinuities are contained in the set of integers V 0 has compact support. V 0 has compact support. Typical element in V0 Figure 5 Figure 6 has discontinuities at x=0,1,3, and 4

12 Let V 1 be the space of piecewise constant functions of finite support with discontinuities at the half integers Let V 1 be the space of piecewise constant functions of finite support with discontinuities at the half integers has discontinuities at x=0,1/2,3/2, and 2

13 Suppose j is any nonnegative integer. The space of step functions at level j, denoted by V j,, is defined to be the space spanned by the set Suppose j is any nonnegative integer. The space of step functions at level j, denoted by V j,, is defined to be the space spanned by the set over the real numbers. V j is the space of piecewise constant functions of finite support whose discontinuities are contained in the set V j is the space of piecewise constant functions of finite support whose discontinuities are contained in the set V means no information is lost as the resolution gets finer. Vj contains all relevant information up to a resolution scale order 2 -j

14 A function f(x) belongs to V 0 iff f(2 j x) belongs to V j

15 A function f(x) belongs to V j iff f(2 -j x) belongs to V 0

16 How to decompose a signal into its V j -components When j is large, the graph of Φ(2 j x) is similar to one of the spikes of a signal that we may wish to filter out. When j is large, the graph of Φ(2 j x) is similar to one of the spikes of a signal that we may wish to filter out. One way is to construct an orthonormal basis for V j using the L 2 inner product One way is to construct an orthonormal basis for V j using the L 2 inner product

17 Theorem: Theorem:

18 4.2.4 The Haar Wavelet We want to isolate the spikes that belong to V j, but that are not members of V j-1 V j The way is to decompose V j as an orthonormal sum of V j-1 and its complement. Ψ, we need : Start with V 1, assume the orthonormal complement of V o is generated by translates of some functions Ψ, we need :

19 Harr wavelet

20

21 Theorem 4.8 (extend to V j ) Theorem 4.8 (extend to V j )

22

23 Decomposing V j

24 Theorem: Theorem:

25 4.3 Haar Decomposition and Reconstruction Algorithms

26 Implementation Step 1 : Approximate the original signal f by a step function of the form

27

28 Example 4.11 Example 4.11

29 General decomposition scheme W j-1 -component V j-1 -component

30 Theorem 4.12 (Haar Decomposition) Theorem 4.12 (Haar Decomposition)

31 Example 4.13 Example 4.13 V 8 -component V 7 -component V 6 -component V 4 -component W 7 -component

32 4.3.2 Reconstruction

33 General reconstruction scheme

34

35

36

37 Theorem 4.14 (Haar Reconstruction) Theorem 4.14 (Haar Reconstruction)

38 Example 4.15 Example 4.15 80% compression 90% compression sample signal

39 4.3.3 Filters and Diagrams k=-1,0 Decomposition algorithm

40 downsampling operator

41 Reconstruction k=0,1

42

43 upsampling operator

44 Summary

45

46

47


Download ppt "Haar Wavelet Analysis 吳育德 陽明大學放射醫學科學研究所 台北榮總整合性腦功能實驗室."

Similar presentations


Ads by Google