Beruflich Dokumente
Kultur Dokumente
By
Dr. Mahua Bhattacharya
➢ Fourier Transform
➢ Wavelet Transform
➢ Image Pyramid and System Block Diagram
➢ Subband Coding
➢ Multilevel Decomposition
➢ Discrete Fourier Transform using Haar Functions.
➢ Wavelets in MATLAB.
➢ Application
3
FOURIER TRANSFORM
4
LIMITATION OF FOURIER TRANSFORM
5
WAVELET TRANSFORM
“The wavelet transform is a tool that cuts up data, functions or operators into different
frequency components, and then studies each component with a resolution matched to its
scale.”
➔ A Wavelet Transform is the representation of a function by wavelets.
6
“ A wavelet is a mathematical
function which is used to divide
a given function or continuous
time signal into different scale
components.
7
FOURIER VS. WAVELET
8
FOURIER VS. WAVELET
➢ Fourier
❏ Loses time (location) coordinate completely
❏ Analyses the whole signal
❏ Short pieces lose “frequency” meaning
➢ Wavelets
❏ Localized time-frequency analysis
❏ Short signal pieces also have significance
❏ Scale = Frequency band
9
CONTINUOUS WAVELET TRANSFORM
10
MOTHER WAVELETS
11
STEPS TO COMPUTE CONT. WAVELET
TRANSFORM
Step 1.Take a mother wavelet and compare it to section at the start of the original
signal and calculate a correlation coefficient C.
Step 2. Shift the wavelet to the right and repeat step 1 until the whole signal is covered.
12
STEPS TO COMPUTE CONT. WAVELET
TRANSFORM
13
IMAGE PYRAMID AND SYSTEM BLOCK DIAGRAM
➢ Normally, we used to work with an image of constant size. But in some occasions,
we need to work with images of different resolution of the same image.
➢ For example, while searching for something in an image, like face, we are not sure at
what size the object will be present in the image. In that case, we will need to create
a set of images with different resolution and search for object in all the images.
➢ These set of images with different resolution are called Image Pyramids (because
when they are kept in a stack with biggest image at bottom and smallest image at
top look like a pyramid). 14
IMAGE PYRAMID AND SYSTEM BLOCK DIAGRAM
17
TYPES OF IMAGE PYRAMID
2) Laplacian Pyramids -
18
AN EXAMPLE OF LAPLACIAN PYRAMID
19
Image Pyramid and System Block Diagram (Steps)
20
ANOTHER EXAMPLE
21
SUBBAND CODING
22
SUBBAND CODING
hvbjfskb nnnnnnnnnnnnnn
23
ONE- DIMENSIONAL SUBBAND CODING
● The sampled input signal is convolved in a bank of M bandpass analysis filters with
frequency responses Hi(ejw) and down-sampled by factors ki that correspond to the
bandwidths of Hi(ejw).
● The frequency responses and down-sampling factors are usually chosen such that
the number of samples before and after subband decomposition is the same, i.e.,
24
Diagram of a one-dimensional M-channel subband coding scheme.
25
TWO DIMENSIONAL WAVELET TRANSFORM
26
MULTILEVEL DECOMPOSITION
27
AN EXAMPLE OF DECOMPOSITION (SUBBAND CODING)
28
TWO- DIMENSIONAL SUBBAND CODING
Most two-dimensional
subband
decompositions are
built by cascading one-
dimensional subband
filter banks.
29
2-D 4-BAND FILTER BANK
30
DISCRETE WAVELET TRANSFORM (DWT)
➔ “Subset” of scale and position based on power of two rather than every
“possible” set of scale and position in continuous wavelet transform
➔ Behaves like a filter bank: signal in, coefficients out .
➔ Down-sampling necessary (twice as much data as original signal).
31
DISCRETE WAVELET TRANSFORM (DWT)
32
HAAR TRANSFORM (DWT WITH HAAR FUNCTIONS)
● The basis functions of the Haar transform are the simplest known
orthonormal wavelets.
● These are used as filter banks in subband coding.
● The Haar wavelets are oldest and simplest known orthonormal wavelets
defined as T=HFH
where F: NXN image matrix,
H: NxN transformation matrix.
● Haar basis functions hk(z) are defined over the continuous, closed interval
[0,1] for k=0,1,..N-1 where N=2n .
33
HAAR BASIS FUNCTIONS
34
AN EXAMPLE OF MULTILEVEL DECOMPOSITION
Approximations (64×64,128×128
and 256×256) that can be
obtained from wavelet transform.
35
WAVELETS IN MATLAB
1. Start MATLAB.
2. Run wavemenu (part of wavelet toolbox).
3. Select Wavelet-2D.
4. Load the image(preferably in *.mat format)
5. Experiment with different families, types, levels and results of different
compression levels.
6. Look at the families of wavelets by going to Display→Wavelet Display.
36
AN EXAMPLE
37
Applications
38
THANKS!
Any questions?
Find me at mahuabhatta@gmail.com
39