SlideShare a Scribd company logo
WAVELET TRANSFORM
IN TWO DIMENSIONS
Presented By:
Ayushi Gagneja
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
Uses a variable length window, e.g.:
Narrower windows are more appropriate at high frequencies
Wider windows are more appropriate at low frequencies
Wavelet Functions
■ Different purposes, different wavelets
Two-Dimensional Wavelets
• For image processing applications we need
wavelets that are two-dimensional.
• This problem reduces down to designing 2D filters.
• We will focus on a particular class of 2D filters:
separable filters (can be directly designed from
their 1D counterparts)
2-D Separable WT
•For images we use separable Wavelet Transform
First we apply a 1-D filter bank to the rows of the
image
Then we apply same transform to the columns of
each channel of the result
Therefore, we obtain 3 high-pass channels
corresponding to vertical, horizontal, and diagonal,
and one approximation image
■ In two dimensions, a two-dimensional scaling function, ϕ(x,
y) , and three two-dimensional wavelet ,
and are required.
■ Excluding products that produce one dimensional results,
like ϕ(x) 𝛹(x) , the four remaining products produce the
separable scaling function
ϕ(x, y) = ϕ(x)ϕ(y)
And separable, “directionally sensitive” wavelets
𝛹 𝐻
𝑥, 𝑦 𝛹 𝑉
𝑥, 𝑦
𝛹 𝐷
𝑥, 𝑦
𝛹 𝐻
𝑥, 𝑦 = 𝛹(x)ϕ(y)
𝛹 𝑉 𝑥, 𝑦 = ϕ(x)𝛹(y)
𝛹 𝐷
𝑥, 𝑦 = 𝛹(x)𝛹(y)
corresponds to variations along diagonals
measures variations along columns (like, horizontal edges)
responds to variations along rows (like vertical edges)
The scaled and translated basis functions:
j / 2 j j
 j,m,n (x, y) 2  (2 x  m,2 y  n)
i  H,V, D i
j,m,n (x, y)  2 j / 2
 (2 j
x  m,2 j
y  n),
where i is the subscript that assumes the values H, V and D
The Discrete Wavelet Transform of function f(x,y)
of size M*N is then
1 M 1N 1
x0 y 0MN
Wj0 ,m,n  f (x, y) j0 ,m,n (x, y)
1 M 1N 1
x0 y 0
i
i  H,V, D
MN
W j,m,n  f (x, y) i
j ,m,n (x, y)
Here, j0 is an arbitrary starting scale
Wj0,m,n coefficients define an approximation of of f(x,y) at scale j0
coefficients add horizontal, vertical and diagonal details
for the scales j>=j0
i
W j, m,n
, f(x,y) is obtained via
the inverse discrete wavelet transform
i
Given the W and W

i
m n
MN iH ,V ,D j j m n
i
j,m,n
0
(x, y)
MN

1
1
W ( j, m,n)  
f (x, y)  W ( j0, m, n)j0 ,m,n (x, y)
Inverse Wavelet Transforms in Two
Dimensions
2-D Analysis Filter Bank
10
1h
0h
1h
1h
0h
0h
x diagonal
vertical
horizontal
approximation
Like 1-D DWT, the 2-D DWT can be implemented using digital
filters and downsamplers.
■ The 2-D FWT filters the scale j+1 approximation coefficients to
construct the scale j approximation and detail coefficients.
■ The single scale filter can be “iterated” to produce P scale transforms
in which scale j is equal to J-1, J-2,……., J-P.
■ Image f(x,y) is used as the W j0, m, n input.
■ High pass or detail component characterizes the image’s high
frequency information with vertical orientation.
■ Lowpass approximation component contains its low frequency
vertical information.
■ Both images are then filtered columnwise and downsampled to yield
four quarter size output subimages 𝑊𝜙,𝑊 𝛹
𝐻
, 𝑊 𝛹
𝑉
𝑎𝑛𝑑 𝑊 𝛹
𝐷
.
Resultant Decomposition
2D Discrete Wavelet Transformation
d2 h2
v2 a2
a1
h1d1
v1
Original image
NxN
a3
d3 h3
v3
Level/Band/Scale 1
Level/Band/Scale 2
Level/Band/Scale 3
d = diagonal detail (LOW/LOW)
h = horizontal detail (HIGH/LOW)
v = vertical detail (LOW/HIGH)
a = approximation (HIGH/HIGH)
2D Discrete Wavelet Transformation (cont.)
d2
h2
v2
h1
d1v1
a3
d3
h3
v3
Original image
NxN
Wavelet coefficients
NxN
2-D Synthesis Filter Bank
ˆxdiagonal
vertical
horizontal
approximation
1g
1g
1g
0g
0g
0g
■ Synthesis Filter bank reverses the process.
■ At each iteration, four scale j approximation and detail
subimages are upsampled and convolved with the 2-D
filters, one operating on subimages columns and other
on its rows.
■ Addition of the results yields the scale j+1
approximation, and process is repeated until the
original image is reconstructed.
computer-generated image
consisting of 2-D sine-like pulses on
a black background
Each pass through the filter bank
produced four quarter-size output
images that were substituted for
the input from which they were
derived.
Example:
Next example
• The decomposition filters used in the preceding example are
part of a well known family of wavelets called symlets, short
for "symmetrical wavelets.“
• Figure 7.26(a) and (d), shows the corresponding
decomposition and reconstruction filters.
• The coefficients of lowpass reconstruction filter go(n) = hφ(n)
for 0 < n < 7 .
• Figure 7.26(g), a low-resolution graphic depiction of wavelet
𝛹 𝑣 𝑥, 𝑦 , is provided as an illustration of how a one-
dimensional scaling and wavelet function can combine to
form a separable, two-dimensional wavelet .
Wavelet transform in two dimensions
Fig. 7.26 (Con’t)
As in the Fourier domain, the basic approach is to
– Step 1. Compute a 2-D wavelet transform of an image.
– Step 2. Alter the transform.
– Step 3. Compute the inverse transform.
How??
■ In Fig 7.27(a) the lowest scale approximation component of the
discrete wavelet transform shown in Fig 7.25(c) has been
eliminated by setting its values to zero.
■ Fig 7.27(b) shows, the net effect of computing the inverse
wavelet transform using these modified coefficients is edge
enhancement.
Note how well the
transitions between signal
and background are
delineated, despite the fact
that they are relatively soft,
sinusoidal transitions.
By zeroing the horizontal
details as well—see Figs.
7.27(c) and (d)—we can
isolate the vertical edges .
Next Example
Thresholding
hard thresholding, means setting to
zero the elements whose absolute
values are lower than the threshold
soft thresholding, involves first setting to zero
the elements whose absolute values are lower
than the threshold and then scaling the
nonzero coefficients toward zero
General wavelet-based procedure for denoising the image :
Step 1. Choose a wavelet (Haar, symlet) and number of levels (scales), P, for the
decomposition. Then compute the FWT of the noisy image.
Step 2. Threshold the detail coefficients. That is, select and apply a threshold to the
detail coefficients. Soft thresholding eliminates the discontinuity(at the threshold) that
is inherent in hard thresholding.
Step 3. Compute the inverse wavelet transform (i.e., perform a wavelet
reconstruction) using the original approximation coefficients at level J - P and the
modified detail coefficients for levels J — 1 to J — P.
shows the information that is lost.
note the increase in edge information
in(f) and the corresponding decrease
in edge detail in (e).
generated by simply zeroing
the highest-resolution detail
coefficients and reconstructing
shows the information that is lost in the process which was generated
by computing the inverse FWT of the two-scale transform with all but the
highest-resolution detail coefficients zeroed
Reconstruction of the DWT in which the details
at both levels of the two-scale transform have
been zeroed;
Wavelets Applications
Feature Extraction
Hardware Implementation
Document Analysis
Classification
Image matching and retrieval
Recognition
Image compression
•Noise filtering
THANK YOU

More Related Content

PPTX
Wavelet transform
PPTX
Wavelet Transform and DSP Applications
PPTX
Wavelet based image compression technique
PDF
Digital image processing using matlab
PDF
DIGITAL IMAGE PROCESSING - Day 4 Image Transform
PDF
Lecture 13 (Usage of Fourier transform in image processing)
PPT
Chapter 6 Image Processing: Image Enhancement
PPT
Wavelet transform in image compression
Wavelet transform
Wavelet Transform and DSP Applications
Wavelet based image compression technique
Digital image processing using matlab
DIGITAL IMAGE PROCESSING - Day 4 Image Transform
Lecture 13 (Usage of Fourier transform in image processing)
Chapter 6 Image Processing: Image Enhancement
Wavelet transform in image compression

What's hot (20)

PPTX
Digital image processing
PPT
Sharpening using frequency Domain Filter
PPSX
Edge Detection and Segmentation
PPTX
Image Sampling and Quantization.pptx
PPTX
HSI MODEL IN COLOR IMAGE PROCESSING
PPTX
Image compression standards
PPTX
Chapter 9 morphological image processing
PPTX
Digital Image Processing
PPTX
discrete wavelet transform
PPTX
Convolution&Correlation
PPTX
Predictive coding
PDF
03 image transform
PDF
Lecture 16 KL Transform in Image Processing
PPTX
Region based segmentation
PPT
Image Restoration
PPTX
Image Filtering in the Frequency Domain
PPTX
Walsh transform
PPTX
Hit and-miss transform
PDF
Digital Image Fundamentals
Digital image processing
Sharpening using frequency Domain Filter
Edge Detection and Segmentation
Image Sampling and Quantization.pptx
HSI MODEL IN COLOR IMAGE PROCESSING
Image compression standards
Chapter 9 morphological image processing
Digital Image Processing
discrete wavelet transform
Convolution&Correlation
Predictive coding
03 image transform
Lecture 16 KL Transform in Image Processing
Region based segmentation
Image Restoration
Image Filtering in the Frequency Domain
Walsh transform
Hit and-miss transform
Digital Image Fundamentals
Ad

Viewers also liked (12)

PPT
Wavelet
PPTX
Introduction to wavelet transform
PPTX
Wavelet
PDF
Signal Processing Course : Wavelets
PDF
Wavelet transform and its applications in data analysis and signal and image ...
PPTX
Introduction to Wavelet Transform with Applications to DSP
PPTX
Difference between wavelet transform and fourier transform
PDF
Video processing on dsp
DOCX
PPTX
Wireless Body Area Network (WBAN)
PPT
Wireless body area network
PPTX
wireless body area networks(WBAN)
Wavelet
Introduction to wavelet transform
Wavelet
Signal Processing Course : Wavelets
Wavelet transform and its applications in data analysis and signal and image ...
Introduction to Wavelet Transform with Applications to DSP
Difference between wavelet transform and fourier transform
Video processing on dsp
Wireless Body Area Network (WBAN)
Wireless body area network
wireless body area networks(WBAN)
Ad

Similar to Wavelet transform in two dimensions (20)

PPTX
3.Wavelet Transform(Backup slide-3)
DOC
A Survey on Implementation of Discrete Wavelet Transform for Image Denoising
PDF
A Review on Image Denoising using Wavelet Transform
PPTX
Curved Wavelet Transform For Image Denoising using MATLAB.
PPT
Lec11.ppt
PPTX
vdocument.in_an-introduction-to-discrete-wavelet-transforms-56cc7a2622445.pptx
PDF
Hq3114621465
PPTX
An introduction to discrete wavelet transforms
PDF
Me2521122119
PDF
R044120124
PPTX
Image transforms
PPT
Image Denoising Using Wavelet
PPT
Denoising of image using wavelet
PPTX
Wavelet Based Image Compression Using FPGA
PPT
Digital Image Processing_ ch3 enhancement freq-domain
PDF
PPTX
PPT Image Analysis(IRDE, DRDO)
PDF
Wavelet based image fusion
PDF
Study and Analysis of Multiwavelet Transform with Threshold in Image Denoisin...
PPTX
Wavelet based image fusion
3.Wavelet Transform(Backup slide-3)
A Survey on Implementation of Discrete Wavelet Transform for Image Denoising
A Review on Image Denoising using Wavelet Transform
Curved Wavelet Transform For Image Denoising using MATLAB.
Lec11.ppt
vdocument.in_an-introduction-to-discrete-wavelet-transforms-56cc7a2622445.pptx
Hq3114621465
An introduction to discrete wavelet transforms
Me2521122119
R044120124
Image transforms
Image Denoising Using Wavelet
Denoising of image using wavelet
Wavelet Based Image Compression Using FPGA
Digital Image Processing_ ch3 enhancement freq-domain
PPT Image Analysis(IRDE, DRDO)
Wavelet based image fusion
Study and Analysis of Multiwavelet Transform with Threshold in Image Denoisin...
Wavelet based image fusion

More from Ayushi Gagneja (6)

PPT
Propagation Models
PPTX
Wireless monitoring of soil moisture
PPTX
BAT Algorithm
PPTX
Horn antenna
PPTX
Local area network
PPTX
Lth band filter design and performance analysis for wimax application
Propagation Models
Wireless monitoring of soil moisture
BAT Algorithm
Horn antenna
Local area network
Lth band filter design and performance analysis for wimax application

Recently uploaded (20)

PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PPTX
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
PDF
composite construction of structures.pdf
PPT
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PPTX
Welding lecture in detail for understanding
PDF
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PPTX
UNIT 4 Total Quality Management .pptx
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PPTX
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
PPTX
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
PPTX
OOP with Java - Java Introduction (Basics)
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PDF
Digital Logic Computer Design lecture notes
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
composite construction of structures.pdf
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
Welding lecture in detail for understanding
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
UNIT 4 Total Quality Management .pptx
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
Operating System & Kernel Study Guide-1 - converted.pdf
UNIT-1 - COAL BASED THERMAL POWER PLANTS
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
OOP with Java - Java Introduction (Basics)
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
Digital Logic Computer Design lecture notes
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk

Wavelet transform in two dimensions

  • 1. WAVELET TRANSFORM IN TWO DIMENSIONS Presented By: Ayushi Gagneja
  • 2. 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 Uses a variable length window, e.g.: Narrower windows are more appropriate at high frequencies Wider windows are more appropriate at low frequencies
  • 3. Wavelet Functions ■ Different purposes, different wavelets
  • 4. Two-Dimensional Wavelets • For image processing applications we need wavelets that are two-dimensional. • This problem reduces down to designing 2D filters. • We will focus on a particular class of 2D filters: separable filters (can be directly designed from their 1D counterparts)
  • 5. 2-D Separable WT •For images we use separable Wavelet Transform First we apply a 1-D filter bank to the rows of the image Then we apply same transform to the columns of each channel of the result Therefore, we obtain 3 high-pass channels corresponding to vertical, horizontal, and diagonal, and one approximation image
  • 6. ■ In two dimensions, a two-dimensional scaling function, ϕ(x, y) , and three two-dimensional wavelet , and are required. ■ Excluding products that produce one dimensional results, like ϕ(x) 𝛹(x) , the four remaining products produce the separable scaling function ϕ(x, y) = ϕ(x)ϕ(y) And separable, “directionally sensitive” wavelets 𝛹 𝐻 𝑥, 𝑦 𝛹 𝑉 𝑥, 𝑦 𝛹 𝐷 𝑥, 𝑦 𝛹 𝐻 𝑥, 𝑦 = 𝛹(x)ϕ(y) 𝛹 𝑉 𝑥, 𝑦 = ϕ(x)𝛹(y) 𝛹 𝐷 𝑥, 𝑦 = 𝛹(x)𝛹(y) corresponds to variations along diagonals measures variations along columns (like, horizontal edges) responds to variations along rows (like vertical edges)
  • 7. The scaled and translated basis functions: j / 2 j j  j,m,n (x, y) 2  (2 x  m,2 y  n) i  H,V, D i j,m,n (x, y)  2 j / 2  (2 j x  m,2 j y  n), where i is the subscript that assumes the values H, V and D
  • 8. The Discrete Wavelet Transform of function f(x,y) of size M*N is then 1 M 1N 1 x0 y 0MN Wj0 ,m,n  f (x, y) j0 ,m,n (x, y) 1 M 1N 1 x0 y 0 i i  H,V, D MN W j,m,n  f (x, y) i j ,m,n (x, y) Here, j0 is an arbitrary starting scale Wj0,m,n coefficients define an approximation of of f(x,y) at scale j0 coefficients add horizontal, vertical and diagonal details for the scales j>=j0 i W j, m,n
  • 9. , f(x,y) is obtained via the inverse discrete wavelet transform i Given the W and W  i m n MN iH ,V ,D j j m n i j,m,n 0 (x, y) MN  1 1 W ( j, m,n)   f (x, y)  W ( j0, m, n)j0 ,m,n (x, y) Inverse Wavelet Transforms in Two Dimensions
  • 10. 2-D Analysis Filter Bank 10 1h 0h 1h 1h 0h 0h x diagonal vertical horizontal approximation Like 1-D DWT, the 2-D DWT can be implemented using digital filters and downsamplers.
  • 11. ■ The 2-D FWT filters the scale j+1 approximation coefficients to construct the scale j approximation and detail coefficients. ■ The single scale filter can be “iterated” to produce P scale transforms in which scale j is equal to J-1, J-2,……., J-P. ■ Image f(x,y) is used as the W j0, m, n input. ■ High pass or detail component characterizes the image’s high frequency information with vertical orientation. ■ Lowpass approximation component contains its low frequency vertical information. ■ Both images are then filtered columnwise and downsampled to yield four quarter size output subimages 𝑊𝜙,𝑊 𝛹 𝐻 , 𝑊 𝛹 𝑉 𝑎𝑛𝑑 𝑊 𝛹 𝐷 .
  • 13. 2D Discrete Wavelet Transformation d2 h2 v2 a2 a1 h1d1 v1 Original image NxN a3 d3 h3 v3 Level/Band/Scale 1 Level/Band/Scale 2 Level/Band/Scale 3 d = diagonal detail (LOW/LOW) h = horizontal detail (HIGH/LOW) v = vertical detail (LOW/HIGH) a = approximation (HIGH/HIGH)
  • 14. 2D Discrete Wavelet Transformation (cont.) d2 h2 v2 h1 d1v1 a3 d3 h3 v3 Original image NxN Wavelet coefficients NxN
  • 15. 2-D Synthesis Filter Bank ˆxdiagonal vertical horizontal approximation 1g 1g 1g 0g 0g 0g
  • 16. ■ Synthesis Filter bank reverses the process. ■ At each iteration, four scale j approximation and detail subimages are upsampled and convolved with the 2-D filters, one operating on subimages columns and other on its rows. ■ Addition of the results yields the scale j+1 approximation, and process is repeated until the original image is reconstructed.
  • 17. computer-generated image consisting of 2-D sine-like pulses on a black background Each pass through the filter bank produced four quarter-size output images that were substituted for the input from which they were derived. Example:
  • 18. Next example • The decomposition filters used in the preceding example are part of a well known family of wavelets called symlets, short for "symmetrical wavelets.“ • Figure 7.26(a) and (d), shows the corresponding decomposition and reconstruction filters. • The coefficients of lowpass reconstruction filter go(n) = hφ(n) for 0 < n < 7 . • Figure 7.26(g), a low-resolution graphic depiction of wavelet 𝛹 𝑣 𝑥, 𝑦 , is provided as an illustration of how a one- dimensional scaling and wavelet function can combine to form a separable, two-dimensional wavelet .
  • 21. As in the Fourier domain, the basic approach is to – Step 1. Compute a 2-D wavelet transform of an image. – Step 2. Alter the transform. – Step 3. Compute the inverse transform. How?? ■ In Fig 7.27(a) the lowest scale approximation component of the discrete wavelet transform shown in Fig 7.25(c) has been eliminated by setting its values to zero. ■ Fig 7.27(b) shows, the net effect of computing the inverse wavelet transform using these modified coefficients is edge enhancement.
  • 22. Note how well the transitions between signal and background are delineated, despite the fact that they are relatively soft, sinusoidal transitions. By zeroing the horizontal details as well—see Figs. 7.27(c) and (d)—we can isolate the vertical edges .
  • 23. Next Example Thresholding hard thresholding, means setting to zero the elements whose absolute values are lower than the threshold soft thresholding, involves first setting to zero the elements whose absolute values are lower than the threshold and then scaling the nonzero coefficients toward zero General wavelet-based procedure for denoising the image : Step 1. Choose a wavelet (Haar, symlet) and number of levels (scales), P, for the decomposition. Then compute the FWT of the noisy image. Step 2. Threshold the detail coefficients. That is, select and apply a threshold to the detail coefficients. Soft thresholding eliminates the discontinuity(at the threshold) that is inherent in hard thresholding. Step 3. Compute the inverse wavelet transform (i.e., perform a wavelet reconstruction) using the original approximation coefficients at level J - P and the modified detail coefficients for levels J — 1 to J — P.
  • 24. shows the information that is lost. note the increase in edge information in(f) and the corresponding decrease in edge detail in (e). generated by simply zeroing the highest-resolution detail coefficients and reconstructing shows the information that is lost in the process which was generated by computing the inverse FWT of the two-scale transform with all but the highest-resolution detail coefficients zeroed Reconstruction of the DWT in which the details at both levels of the two-scale transform have been zeroed;
  • 25. Wavelets Applications Feature Extraction Hardware Implementation Document Analysis Classification Image matching and retrieval Recognition Image compression •Noise filtering