Anda di halaman 1dari 6

International Journal of Trend in Scientific

Research and Development (IJTSRD)


International Open Access Journal
ISSN No: 2456 - 6470 | www.ijtsrd.com | Volume - 2 | Issue – 4

Elementary Theory of Wavelets and Filter Bank


Pinal Choksi
Assistant Professor, Science & Humanity Department, Vadodara Institute of Engineering,
Kotambi
Kotambi, Vadodara, Gujarat, India

Abstract-- Many of us are interested in detecting the time in to a spectrum which is an amplitude vs
irregularityy in very small region of a transient signal frequency.
which cannot be detected by necked eyes. That can be
Limitation of Fourier Transform:
possible by discretizing the region in which the
irregularity lie. There are two ways to discretize the The following are limitations
itations of Fourier Transform.
signal. In theory one can use Fourier transform on the 1. It can be computed for only one frequency at a
signal and cut in M-pieces.
pieces. Where as in practice time.
discretization can be obtained by applying multiple 2. A small change in the signal would affect the
number of filters (Filter Bank). entire frequency spectrum of a signal.
This paper will give knowledge of wavelets and filter 3. The formula does not give any information about
banks and later on connection between them. These frequencies which develops with respect to time.
are rapidly developing
oping topics in real time. The Therefore, to overcome above limitations we switch
technique of filter banks (for discrete signals) and on to Short-Time
Time Fourier Transform.
wavelets (to represent functions) are used throughout
signal and image processing for compression, Short-Time
Time Fourier Transform (STFT):
denoising, enhancement, motion estimation and A STFT is used to get approximate information from
pattern recognition. New wavelets
velets continue to be both time and frequency domain simultaneously. It is
constructed for new applications. defined as
To understand this process we need to have a brief ∞
knowledge about the basic concepts like Fourier 𝑆𝑇𝑤𝑓(𝑡𝑜, 𝑤) = ( )𝑤(𝑡 − 𝑡𝑜)𝑒
𝑓(𝑡) 𝑑𝑡

Transform, Short-Time
Time Fourier Transform, Wavelet
Transform, MRA, Filter and Filter bank. = <f (t), w (t-to) eiwt>
Fourier Transform: Now we shall show how to discretize the signal by
using STFT.
A Fourier transform of f (t) Є L1 (R) is given as

𝐹(𝑤) = 𝐹 𝑓(𝑡) = ∫ ∞ 𝑒 𝑓
𝑓(𝑡)𝑑𝑡
= < f (t), eiwt>
It is also hold for f (t) Є L2 (R)
Fourier transform is a mathematical description of the
relationship between function of tim time and
corresponding function of frequency. The STFT represents a sort of compromise between
Fourier transform widely used in science and the time and frequency based views signal. It provides
engineering that convert a signal which is intensity vs some information
formation about both when and at what
frequencies a signal event occurs. However, you can

@ IJTSRD | Available Online @ www.ijtsrd.com | Volume – 2 | Issue – 4 | May-Jun


Jun 2018 Page: 571
International Journal of Trend in Scientific Re
Research
search and Development (IJTSRD) ISSN: 2456-6470
2456
only obtain this information with limited precision,
and that is determined by the size of the window.
Limitation of STFT:
The limitation is that once you choose a pa particular
size for the time window, that window is the same for
all frequencies. Many signals require a more flexible
approach one where we can vary the window size to
determine more accurately either time or frequency,
A plot of the Fourier coefficients of this signal shows
but that is possible in wavelet transform.
form.
nothing particularly interesting; a flat spectrum with
Wavelet: two peaks representing a signal frequency. However,
History of wavelet is in 1983, Jean Morlet a French a plot of wavelet coefficients clearly shows the exact
exa
Geophysicist working in the oil company first location in time of the discontinuity.
introduce the concept of a wavelet. He developed a
new time frequency analysis calling “Wavelets of
constant shape.”
In 1984, Grossman and Morlet et said the mathematical
foundation for the wavelet transform using the tools
like Hilbert space, frame etc.
In 1986 Daubechies, Grossman, Meyer developed the
theory regarding wavelets. This was the beginning of
the wavelet or rather golden era of developm
development of
wavelet concept.
We all are interested in knowing what wavelet is. Wavelet analysis is capable of revealing aspects of
How it is useful. Basically small waves are called data that other signal analysis techniques aspects like
wavelets. trends, breakdown points, discontinuities in higher
derivatives and self-similarity.
similarity. Furthermore because it
Wavelet has small concentrated burst of finite energy affords a different view of data than those presented
in the time domain (this condition makes the wavelet by traditional techniques, wavelet analysis can often
little) and it exhibits some oscillation in time (this compress or de-noise
noise a signal without appreciable
conditions makes wavelet wavy), hence the word degradation.
wavelet.
Indeed, in their brief history within the signal
Thus, wavelets have oscillatory behavior in some processing field, wavelets have already proven
interval and then decays rapidly to zero, outside the themselves to be an indispensable addition to the
interval. analyst’s collection of tools. Hence it is very popular
One major advantage afforded by wavelets is th the in field of analysis.
ability to perform local analysis that is, to analyze a Equate wavelets with sine waves, which are the basis
localized area of a larger signal. of Fourier analysis. Sinusoids do not have limited
Consider a sinusoidal signal with a small duration they extend from minus to plus infinity. And
discontinuity one so tiny as to be barely visible. Such where sinusoids are smooth and predictable, wavelets
a signal easily could be generated in the real world, tend to be irregular and asymmetric.
perhaps by a power fluctuation or a noisy switch.

Fourier analysis consists of breaking up a signal into


sine waves of various frequencies. Similarly, wavelet
analysis iss the breaking up of a signal into shifted and
scaled versions of the original (or mother) wavelet.

@ IJTSRD | Available Online @ www.ijtsrd.com | Volume – 2 | Issue – 4 | May-Jun


Jun 2018 Page: 572
International Journal of Trend in Scientific Re
Research
search and Development (IJTSRD) ISSN: 2456-6470
2456
As in above image of sine waves and wavelets, seen Scaling a wavelet simply means stretching (or
that intuitively that signals with sharp changes might compressing) it. To go beyond colloquial descriptions
be better analyzed with an irregular wavelet than with such as “stretching” that is introduce the scale factor,
a smooth sinusoid, just as some foods are better often denoted by the letter ᵅ.. In sinusoids, the effect of
handled with a fork than a spoon. the scale factor is very easy to see:
Wavelet Transform:
Wavelet transform represents a windowing technique
with variable-sized
sized regions. Wavelet transform allows
the use of long time intervals where we want more
precise low-frequency
frequency information and shorter regions
where we want high frequency information.
Here what this looks like in contrast with the time
time- The scale factor works exactly the same with
based, frequency-based
based and STFT views of a signal: wavelets. The smaller the scale factor, the more
“compressed” the wavelet.

As in above image noticed that wavelet transform


does not use a time-frequency
frequency region, but rather s
time-scale region. It is clear from the diagrams that, for a sinusoidal sin
(wt), the scale factor ᵅ is inversely propotional to the
The Continuous Wavelet Transform (CWT): radian frequency𝜔.. Similarly, with wavelet analysis,
If ψ Є L2 (R) satisfies the “admissibility” condition the scale is inversely proportional to the frequency of
the signal.

𝐶𝜑 = ∫ ∞ 𝑓(𝑡)𝜑 𝑑𝑡 ; 𝑓 Є L2 (R)
Shifting:
Shifting a wavelet simply means delaying its onset.

=∫ ∞ 𝑓(𝑡)ψb, a (t) 𝑑𝑡 Mathematically, delaying a function f(t) by k is
represented by f(t-k).
= <f(t), ψb,a (t) >
( ) Discrete Wavelet
let Transform: (DWT)
where ψb,a (t) =
| | The continuous wavelet transform has unique
Where a,bЄ R with a≠ 0 as parameter a,b gives effect advantage as its widely width is control by scale ‘ɑ’.

of magnification or contraction and translation However computational load of continuous wavelet
respectively. ψb,a (t) are called baby wavelets. transform is very heavy in order to capture all
characteristics. To minimize excess of computation in
Wavelets are very very small and having irregular continuous wavelet transform mathematician has
behavior in very small interval. Therefore are area developed discrete wavelet transform which can be
covered under the curve is approximately zero. obtained from the process known as multi resolution
∞ analysis.
i.e. ∫ ∞ 𝜑(𝑡)𝑑𝑡 = 0 ; 𝜑 𝜖 L2 (R) where
𝜑(𝑡) 𝑖𝑠 𝑡ℎ𝑒 𝑏𝑎𝑠𝑖𝑐 𝑜𝑟 𝑚𝑜𝑡ℎ𝑒𝑟 𝑤𝑎𝑣𝑒𝑙𝑒𝑡. Multi Resolution Analysis: (MRA)
Scaling: MRA decomposes space L2 (R) in a set of
approximate subspace {Vj} j ∈ 𝑍
Wavelet analysis produces a time-scale
scale view of a
signal, and now what is exactly mean by scale. Vj = ……..⨁ 𝑊 ⨁𝑊

@ IJTSRD | Available Online @ www.ijtsrd.com | Volume – 2 | Issue – 4 | May-Jun


Jun 2018 Page: 573
International Journal of Trend in Scientific Research and Development (IJTSRD) ISSN: 2456-6470
Where { Vj } is generated by some scaling function = |H(eiw) |eiϕ(w)
Φ 𝜖 (𝑅) 𝑎𝑛𝑑 {𝑊 } is generated by some wavelet We can describe filter in three different way that is in
𝜓 𝜖 𝐿 (𝑅) time domain, z-domain and in term of linear algebra.
Which satisfies the following axioms: Filter Bank:
1. {0} ⊂ ⋯…….𝑉 ⊂ 𝑉 ⊂ Suppose discrete or an analog signal ‘s’ which is
⋯ … … . ⊂ 𝐿 (𝑅) therefore, the limited with bandwidth Ω. We can write signal as the
sequence of subspaces Vj is nested. sum of M signals. Each of which have bandwidth
2. ⋂ ∈ 𝑉 = {0} Ω/M. In this way, a wide band signal can be split into
3. Close ⋃ ∈ 𝑉 = 𝐿 (𝑅)i.e. closure of M signals of smaller band and transmitted over a
union of Vj gives whole of L2(R) channel with smaller bandwidth. The receiver can
4. 𝑉 = 𝑉 ⨁ 𝑊 reconstruct the original signal. In theory we can
5. 𝑓(𝑥) ∈ 𝑉 ⇔ 𝑓(2𝑥) ∈ 𝑉 , ∈ compute, Fourier transform of signal ‘s’, cut this in M
6. There exist a scaling function pieces and back transform. In practice, we are
Φ(𝑥)𝜖 𝑉 such that {Φ , } is an applying M filters to the signal and each of these
orthonormal basis that spans Vj. filters generates one signal with limited bandwidth.
7. F(x) 𝜖 𝑉 ⇔ 𝑓(2𝑥) ∈ 𝑉 , ∈ This is called M channel filter bank.
Now, suppose we are applying 5 filters to the signal
Filter:
and each of these filters generates one of the 5 signals
Filter is an operator which maps one signal to another with small bandwidth. This is called 5-channel filter
signal. bank.
Filter has basically two properties. Now M=2
 Linearity: Suppose a discrete signal‘s’. We can apply a low pass
If H is a filter? Operator. filter H and a high pass filter G. which splits the
signal‘s’ in two parts. The part which contains the low
H ((𝛼𝑓 + 𝛽𝑔) = 𝛼𝐻(𝑓) + 𝛽𝐻(𝑔) frequencies which gives a low resolution idea of the
Where signal and the other part which contains the high
𝛼 , 𝛽 𝑎𝑟𝑒 𝑐𝑜𝑛𝑠𝑡𝑎𝑛𝑡𝑠 𝑎𝑛𝑑 𝑓, 𝑔 𝑎𝑟𝑒 𝑡𝑤𝑜 𝑓𝑢𝑛𝑐𝑡𝑖𝑜𝑛𝑠 (𝑓, 𝑔 frequencies
∈ which gives the detail information. This is
𝐼) called 2-channel filter bank. It splits frequency band
in two sub bands.
 Time invariant or Shift invariant:
It is possible to stretch the half bands again to the full
A filter H is called shift invariant or time invariant if bandwidth by down-sampling. Down sampling means
it communicates with the shift operator HD = DH. signals passing through filter in which we delete odd
This means that delaying the filtered signal is the samples and keep only even number of samples.
same as filtering the delayed signal. Down sampling is denoted by (↓)
 When filter is operated on an impulse say 𝛿 If s=sn is given signal.
then the effect generated is known as impulse
response. The impulse response is given by S’ = ↓ 𝑠 if sn ‘ = s2n
filter coefficients. In general, s’ = (↓ 𝑀 )s if sn‘ =snM (M is number of
h = (hn) = H 𝛿…………..(1) filters).
 The fourier transform of the impulse response In z-domain,
is known as frequency response of the filter. ( ) ( )
S’= ↓ 𝑠 ↔ 𝑠 ′ (𝑧 ) =
H(eiw) = ∑ ℎ 𝑒 ( 𝑏𝑦 𝑢𝑠𝑖𝑛𝑔 𝑧 −
(by applying low pass filter & high pass filter G(z) =
𝑡𝑟𝑎𝑛𝑠𝑓𝑜𝑟𝑚 𝑎𝑛𝑑 𝑡𝑎𝑘𝑖𝑛𝑔 𝑧 = 𝑒 )
H(-z) )
But frequency response is the combination of
amplitude and phase angle so, 𝐺(𝑧 / ) + 𝐻 (−𝑧 / )
↔ 𝑆 ′ (𝑧) =
2
H(eiw) = ∑ ℎ 𝑒 eiϕ(w)

@ IJTSRD | Available Online @ www.ijtsrd.com | Volume – 2 | Issue – 4 | May-Jun 2018 Page: 574
International Journal of Trend in Scientific Research and Development (IJTSRD) ISSN: 2456-6470
𝑆(𝑧 /
) + 𝑆(−𝑧 /
) Thus the operation in upper branch of the analysis
↔ 𝑆 ′ (𝑧) = part gives LP (z) as the result of multiplication with
2
the adjoint of the matrix.
In the frequency domain,
/ .
) + 𝑆(𝑒 / )
𝑆(𝑒 ⎡
ℎ5 ℎ3 ℎ1 ℎ


𝑆 𝑒 = ⎢… …⎥
2 𝐻 = ⎢… … ℎ ℎ ℎ … ⎥ --------------(*)
This shows that if bandwidth of S is π then band ⎢ ⎥
⎢… … … ℎ ℎ …⎥
width of S’ is 2π. ⎣ ⎦
For the high pass band π/2 ≤ |𝑤|< π we have to shift Similarly, for the lower branch. Thus the vector p of
the spectrum first to low pass band the samples of LP (z) and the vector q of the samples
|𝑤|<π/2 which corresponds to adding π to w. This of HP (z) are obtained from the samples s of S(z) as
means that for the shifted spectrum. The frequency follows
response is given by 𝑝 𝐻∗ 𝑠 = 𝐾 ∗ 𝑠
𝑞 =
𝑠 𝑒 ( )
= 𝑠 𝑒 𝑒 𝐺∗
On the synthesis side, the up sampling followed by
= (−1) 𝑠 𝑒 filtering with H means that we multiply with toeplitz
matrix whose entries are the impulse response
On the analysis side of a two channel filter bank. We coefficients (i.e. the Fourier coefficients of H(z) ) and
have the application of the two filters 𝐻 ∗ and 𝐺 ∗ in which every other column is deleted. That is the
which are both followed by down sample operation. matrix H which is defined like 𝐻 but without the
Here we use the notation 𝐻 ∗ to denote that the tildes. That is as follows
transfer function of this filter is 𝐻 ∗= ∑ ℎ 𝑧 :
⎡ ⎤
Similarly for 𝐺 ∗ to denote that transfer function of … ℎ ℎ ℎ …
⎢ ⎥
this filter is 𝐺 ∗= ∑ 𝑔 𝑧 𝐻 ∗ (𝑧) is the transform of … ℎ ℎ ℎ …⎥
H=⎢
the time reversed sequence h* where h = hk ⎢… … … ℎ ℎ …⎥
⎢ : ⎥
On the synthesis side, of the filter bank one finds the ⎣ …⎦
mirror image of the analysis side.
The matrix G can be defined similarly for the other
First the signals are up sampled. This means that branch on the synthesis side.
between every two samples a zero is introduced. This
is denoted as The samples 𝑠̂ of the result 𝑆 (𝑧) are then computed
from the samples of LP (z) and HP (z) by
𝑠 ′ = ↑ 𝑠 ↔ 𝑠 ′ = 𝑠 𝑎𝑛𝑑 𝑠 ′ = 0 ↔ 𝑆 ′ (𝑧)
= 𝑆(𝑧 ) 𝑠̂ = 𝐻 + 𝐺
𝑝
After the up sampling some filters H and G are = [H G] 𝑞
applied and two result signals Y and X are added. The
synthesis side should up to the analysis computing 𝑝
≡𝐾 𝑞
such that the resulting signal S’ is again equal to the
original signal S. We shall have 𝑠̂ = 𝑠 𝑖𝑓 𝐾 ∗𝐾 = 𝐼
The operation of the filter bank can also be written in The recursive application of a two channel filter bank
terms of (infinite) matrices. Filtering by low pass leads to an M channel filter bank.
filter 𝐻 ∗ means multiplication with the infinite
If the 2-channel filter banks split in equal band-widths
toeplitz matrix with entries the impulse response ℎ ∗ =
then the bandwidths of the end channels will not be
(ℎ-n) i.e. the Fourier coefficient of 𝐻 ∗. the same.
Down sampling means that we skip every other row Wavelet Decomposition and Reconstruction:
(the odd ones).
Consider the general structure of multiresolution
analysis and wavelets as in

@ IJTSRD | Available Online @ www.ijtsrd.com | Volume – 2 | Issue – 4 | May-Jun 2018 Page: 575
International Journal of Trend in Scientific Research and Development (IJTSRD) ISSN: 2456-6470
Vj = ……..⨁ 𝑊 ⨁𝑊 , j∈ 𝑍 Φ(2x − 1) = ∑ [𝑎 Φ (x − k) + 𝑏 φ(x −
k]---- (10)
Where {Vj} is generated by scaling
functionΦ 𝜖 𝐿 (𝑅) 𝑎𝑛𝑑 {𝑊 } is generated by some This two formulas (9) and (10) can combine into a
wavelet 𝜓 𝜖 𝐿 (𝑅). single formula:
By third property of MRA we know every function f Φ(2x − l) = ∑ [𝑎 Φ (x − k) + 𝑏 φ(x −
in 𝐿 (𝑅) can be approximated closely as is desired by k], 𝑙∈𝑍 ---- (11)
fN𝜖VN , for some 𝑁 𝜖 𝑍 Which is called ‘decomposition relation’ of Φ and φ.
As, Vj = Vj-1⨁ 𝑊 , for any j∈ 𝑍 Now two pairs sequences ({pk}, {qk}) and ({ak}, {bk})
fN has a unique decomposition fN = fN-1 ⨁ 𝑔 where all of which are unique due to direct sum relationship.
𝑓 𝜖𝑉 𝑎𝑛𝑑 𝑔 𝜖𝑊 V1 = V0⨁ 𝑊

by repeating this process, we have These sequences are used to formulate the following
reconstruction and decomposition algorithm. Here
𝑓 =𝑔 +𝑔 + ⋯+ 𝑔 +𝑓 --------------- {pk} and {qk} are called reconstruction sequences,
---- (6) while {ak} and {bk} are called decomposition
Where 𝑓 𝜖𝑉 𝑎𝑛𝑑 𝑔 𝜖𝑊 and M is so chosen that 𝑓 sequences.
is sufficiently “blurred”. The decomposition in (6) is CONCLUSION
unique is called “wavelet decomposition” ; and the
The lifting scheme which is an efficient
“blur” is measured in terms of the variation( or
computational scheme to compute wavelet transform
frequency or number of cycles per unit length) of
can be derived directly from the polyphase matrix; it
𝑓 .
can be applied in much more general situation than
A less efficient “stopping criterion” is to require classical wavelet filter banks. Therefore, we introduce
‖𝑓 ‖ to be smaller than some threshold. it via an alternative approach to wavelets (subdivision
Now an algorithm approach for expressing 𝑓 as a schemes) which will give a framework in which it is
direct sum of its components 𝑔 , 𝑔 , … , 𝑔 easier to consider more general situations.
and 𝑓 and recovering 𝑓 from these components The signal is split into a low pass and a band pass part
Since both the scaling function Φ𝜖 V0 and the wavelet by the filters 𝐻 and 𝐺 respectively. This corresponds
𝜓 𝜖 𝑊 are in V1 and since V1 is generated by to computing the VN and the WN part of a signal in
VN+1. The results are then sub sampled, to remove
Φ , (𝑥) = 2 Φ(2x − k); 𝑘 ∈ 𝑍 redundancy. Next a (primal) lifting step is executed
There exists two sequences {pk} and {qk}∈ 𝑙 such with the filter. At the synthesis side the same
that operations are undone in opposite order to obtain
original signal.
Φ(x) = ∑ 𝑝 Φ (2x − k) ----------------- (7)
References
[1] Charles K. Chui: An introduction to wavelets:
𝜑(𝑥) = ∑ 𝑞 Φ (2x − k) ----------------- (8) MRA, Wavelet Decompositions and
For all x ∈ 𝑅 Reconstructions. Academic Press San Diego New
The formulas (7) and (8) are called the “two scale York Boston 1992
relation “ of the scaling function and wavelet [2] Anthony Teolis: Computational Signal Processing
respectively. Since both Φ(2x) and Φ(2x − 1) are in with Wavelets: what is wavelet? Printed and
V1 and V1 = V0⨁ 𝑊 bound by Hamilton printing New York.
[3] Adhemar Bultheel: Wavelets with applications in
There are four l2 sequences which are denoted by {a- signal and image processing: Filters and Filter
2k},{b-2k},{a1-2k},{b1-2k}, 𝑘 ∈ 𝑍 Bank.
Such that [4] Richard R. Goldberg: Fourier Transform: The
Fourier Transform on L.Cambridge at the
Φ(2x) = ∑ [𝑎 Φ (x − k) + 𝑏 φ(x − k)]-------- University Press 1970.
----- (9)

@ IJTSRD | Available Online @ www.ijtsrd.com | Volume – 2 | Issue – 4 | May-Jun 2018 Page: 576

Anda mungkin juga menyukai