Você está na página 1de 27

Image Analysis

CSE340/CSE540
Multi Resolution Analysis
Summary of IA Course
Intro to IA (really!!!)
Spatial
Fourier
Enhancement & Restoration
Morphological IA
Segmentation
Object Recognition
Color IA
MRA & Wavelets (will be introduced now)
Multi Resolution Analysis
Gaussian Laplacian pyramid
Wavelet
4
Image Pyramids
2 ) * (
2 3
= gaussian G G
1
G
The Gaussian Pyramid
High resolution
Low resolution
Image =
0
G
2 ) * (
0 1
= gaussian G G
2 ) * (
1 2
= gaussian G G
2 ) * (
3 4
= gaussian G G
blur
blur
blur
blur
Gaussian Pyramid Laplacian Pyramid
The Laplacian Pyramid
0
G
1
G
2
G
n
G
-
=
0
L
-
=
1
L
-
=
2
L
n n
G L =
) expand(
1 +
=
i i i
G G L
) expand(
1 +
+ =
i i i
G L G
7
Wavelet Transform
9
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.

10
Perfect Reconstruction Filter

( ) ( ) x n x n = Goal: find filters so that


11
2-D Wavelet Transform:
Decomposition
12
2-D Wavelet Transform:
Reconstruction (IDWT)
Discrete Wavelet Transform
2-D DWT for Image


Common Wavelet Filters
Haar: simplest, orthogonal, not very good
Daubechies 8/8: orthogonal
Daubechies 9/7: bi-orthogonal
most commonly used if numerical
reconstruction errors are acceptable
LeGall 5/3: bi-orthogonal, integer operation,
can be implemented with integer operations
only, used for lossless image coding
Example of DWT (Haar Basis)
Lets consider a 1D 4-pixel Image [ 9 7 3 5]
[ 9 7 3 5]
(9 + 7)/2 (3 + 5)/2
[ 8 4 ]
(9 - 7)/2 (3 - 5)/2
[ 1 -1 ]
(8 + 4)/2
6
(8 4)/2
2
[ 6 2 1 -1 ]
WT
Example
Image taken from : http://www.cs.ucla.edu/~klinger/circle.jpg
H
1

ca1
ch1
cv1 cd1
17
Image Denoising Using Wavelets
Calculate DWT of the image.
Threshold the wavelet coefficients. The
threshold may be universal or subband
adaptive.
Compute the IDWT to get the denoised
estimate.
Soft thresholding is used in the different
thresholding methods. Visually more
pleasing images.
Threshold techniques
Hard threshold


Soft threshold
Image Enhancement
Image contrast enhancement with
wavelets, especially important in
medical imaging
Make the small coefficients very small
and the large coefficients very large.
Apply a nonlinear mapping function to
the coefficients.
Experiments
Denoising and Enhancement
Apply DWT
Shrink transform coefficients in finer
scales to reduce the effect of noise
Emphasize features within a certain
range using a nonlinear mapping
function
Perform IDWT to reconstruct the
image.
Examples
Original Denoised Denoising with Enhancement
Fusion: How do we combine two
images?

Watermarking

Watermarking

DWT Watermarking
Steps: Lets solve it

Você também pode gostar