image representation - university of...

80
Gaussian pyramids Laplacian Pyramids Wavelet Pyramids Applications Image Representation

Upload: others

Post on 31-May-2020

5 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Image Representation - University of Haifacs.haifa.ac.il/hagit/courses/ip/Lectures/Ip11_MultiscaleRep.pdf · • Want an image representation that gives you a local description of

• Gaussian pyramids

• Laplacian Pyramids

• Wavelet Pyramids

• Applications

Image Representation

Page 2: Image Representation - University of Haifacs.haifa.ac.il/hagit/courses/ip/Lectures/Ip11_MultiscaleRep.pdf · • Want an image representation that gives you a local description of

Image PyramidsImage features at different resolutions require filters at different scales.

f(x)

f (x)

Edges (derivatives):

Page 3: Image Representation - University of Haifacs.haifa.ac.il/hagit/courses/ip/Lectures/Ip11_MultiscaleRep.pdf · • Want an image representation that gives you a local description of

Image Pyramid = Hierarchical representation of an image

Low Resolution

High Resolution

Details in image -low+high frequencies

No details in image -(blurred image)low frequencies

Image Pyramids

A collection of images at different resolutions.

Page 4: Image Representation - University of Haifacs.haifa.ac.il/hagit/courses/ip/Lectures/Ip11_MultiscaleRep.pdf · • Want an image representation that gives you a local description of

Image pyramids

• Gaussian Pyramids• Laplacian Pyramids• Wavelet/QMF

Page 5: Image Representation - University of Haifacs.haifa.ac.il/hagit/courses/ip/Lectures/Ip11_MultiscaleRep.pdf · • Want an image representation that gives you a local description of

Image Pyramid

High resolution

Low resolution

Page 6: Image Representation - University of Haifacs.haifa.ac.il/hagit/courses/ip/Lectures/Ip11_MultiscaleRep.pdf · • Want an image representation that gives you a local description of

Image Pyramid Frequency Domain

High resolution

Low resolution

Page 7: Image Representation - University of Haifacs.haifa.ac.il/hagit/courses/ip/Lectures/Ip11_MultiscaleRep.pdf · • Want an image representation that gives you a local description of

*

= =

Image Blurring = low pass filtering

~

Page 8: Image Representation - University of Haifacs.haifa.ac.il/hagit/courses/ip/Lectures/Ip11_MultiscaleRep.pdf · • Want an image representation that gives you a local description of

*

*

*

=

=

=

Page 9: Image Representation - University of Haifacs.haifa.ac.il/hagit/courses/ip/Lectures/Ip11_MultiscaleRep.pdf · • Want an image representation that gives you a local description of

Image Pyramid

High resolution

Low resolution

Page 10: Image Representation - University of Haifacs.haifa.ac.il/hagit/courses/ip/Lectures/Ip11_MultiscaleRep.pdf · • Want an image representation that gives you a local description of

Level 02n X 2n

Level 12n-1 X 2n-1

Level n1 X 1

Gaussian Pyramid

Page 11: Image Representation - University of Haifacs.haifa.ac.il/hagit/courses/ip/Lectures/Ip11_MultiscaleRep.pdf · • Want an image representation that gives you a local description of

Gaussian Pyramid

Page 12: Image Representation - University of Haifacs.haifa.ac.il/hagit/courses/ip/Lectures/Ip11_MultiscaleRep.pdf · • Want an image representation that gives you a local description of

Gaussian Pyramid

Burt & Adelson (1981)

Normalized: Σwi = 1

Symmetry: wi = w-i

Unimodal: wi ≥ wj for 0 < i < j

Equal Contribution: for all j Σwj+2i = constant

w0 w1w-1w-2 w2

w0 w1w-1w-2 w2

Page 13: Image Representation - University of Haifacs.haifa.ac.il/hagit/courses/ip/Lectures/Ip11_MultiscaleRep.pdf · • Want an image representation that gives you a local description of

Gaussian Pyramid

Burt & Adelson (1981)

Normalized: Σwi = 1

Symmetry: wi = w-i

Unimodal: wi ≥ wj for 0 < i < j

Equal Contribution: for all j Σwj+2i = constant

w0 w-1w-1w-2 w-2

w0 w-1w-1w-2 w-2

Page 14: Image Representation - University of Haifacs.haifa.ac.il/hagit/courses/ip/Lectures/Ip11_MultiscaleRep.pdf · • Want an image representation that gives you a local description of

Gaussian Pyramid

Burt & Adelson (1981)

Normalized: Σwi = 1

Symmetry: wi = w-i

Unimodal: wi ≥ wj for 0 < i < j

Equal Contribution: for all j Σwj+2i = constant

w0

w-1w-1

w-2 w-2

w0 w-1w-1w-2 w-2

Page 15: Image Representation - University of Haifacs.haifa.ac.il/hagit/courses/ip/Lectures/Ip11_MultiscaleRep.pdf · • Want an image representation that gives you a local description of

a bbc c

a bbc c

Gaussian Pyramid

Burt & Adelson (1981)

a + 2b + 2c = 1a + 2c = 2b

a > 0.25b = 0.25c = 0.25 - a/2

Page 16: Image Representation - University of Haifacs.haifa.ac.il/hagit/courses/ip/Lectures/Ip11_MultiscaleRep.pdf · • Want an image representation that gives you a local description of

For a = 0.4 most similar to a Gauusian filter

g = [0.05 0.25 0.4 0.25 0.05]

low_pass_filter = g’ * g =

0.0025 0.0125 0.0200 0.0125 0.00250.0125 0.0625 0.1000 0.0625 0.01250.0200 0.1000 0.1600 0.1000 0.02000.0125 0.0625 0.1000 0.0625 0.01250.0025 0.0125 0.0200 0.0125 0.0025

12

34

5

1

23

4

50

0.05

0.1

0.15

0.2

Page 17: Image Representation - University of Haifacs.haifa.ac.il/hagit/courses/ip/Lectures/Ip11_MultiscaleRep.pdf · • Want an image representation that gives you a local description of

Gaussian Pyramid -Computational Aspects

Memory:2NX2N (1 + 1/4 + 1/16 + ... ) = 2NX2N * 4/3

Computation:

Level i can be computed with a single convolutionwith filter: hi = g * g * g * .....

i times

g g

h2 = * =

Example:

Page 18: Image Representation - University of Haifacs.haifa.ac.il/hagit/courses/ip/Lectures/Ip11_MultiscaleRep.pdf · • Want an image representation that gives you a local description of

MultiScale Pattern Matching

Option 1:Scale target and search for each in image.

Option 2:Search for original target in image pyramid.

Page 19: Image Representation - University of Haifacs.haifa.ac.il/hagit/courses/ip/Lectures/Ip11_MultiscaleRep.pdf · • Want an image representation that gives you a local description of

search

search

search

search

Hierarchical Pattern Matching

Page 20: Image Representation - University of Haifacs.haifa.ac.il/hagit/courses/ip/Lectures/Ip11_MultiscaleRep.pdf · • Want an image representation that gives you a local description of

image pattern correlation

Pattern matching using Pyramids - Example

Page 21: Image Representation - University of Haifacs.haifa.ac.il/hagit/courses/ip/Lectures/Ip11_MultiscaleRep.pdf · • Want an image representation that gives you a local description of

Image pyramids

• Gaussian Pyramids• Laplacian Pyramids• Wavelet/QMF

Page 22: Image Representation - University of Haifacs.haifa.ac.il/hagit/courses/ip/Lectures/Ip11_MultiscaleRep.pdf · • Want an image representation that gives you a local description of

Laplacian Pyramid

Motivation = Compression, redundancy removal.compression rates are higher for predictable values.e.g. values around 0.

G0, G1, .... = the levels of a Gaussian Pyramid.

Predict level Gl from level Gl+1 by Expanding Gl+1 to G’l

Gl

Gl+1

Reduce

G’l

Expand

Denote by Ll the error in prediction:

Ll = Gl - G’l

L0, L1, .... = the levels of a Laplacian Pyramid.

Page 23: Image Representation - University of Haifacs.haifa.ac.il/hagit/courses/ip/Lectures/Ip11_MultiscaleRep.pdf · • Want an image representation that gives you a local description of

What does blurring take away?

original

Page 24: Image Representation - University of Haifacs.haifa.ac.il/hagit/courses/ip/Lectures/Ip11_MultiscaleRep.pdf · • Want an image representation that gives you a local description of

What does blurring take away?

smoothed (5x5 Gaussian)

Page 25: Image Representation - University of Haifacs.haifa.ac.il/hagit/courses/ip/Lectures/Ip11_MultiscaleRep.pdf · • Want an image representation that gives you a local description of

What does blurring take away?

smoothed – original

Page 26: Image Representation - University of Haifacs.haifa.ac.il/hagit/courses/ip/Lectures/Ip11_MultiscaleRep.pdf · • Want an image representation that gives you a local description of

expand

-

expand

expand

-

- =

=

=

Gaussian Pyramid

LaplacianPyramid

Laplacian Pyramid

Page 27: Image Representation - University of Haifacs.haifa.ac.il/hagit/courses/ip/Lectures/Ip11_MultiscaleRep.pdf · • Want an image representation that gives you a local description of

Gaussian Pyramid

LaplacianPyramid

FrequencyDomain

Page 28: Image Representation - University of Haifacs.haifa.ac.il/hagit/courses/ip/Lectures/Ip11_MultiscaleRep.pdf · • Want an image representation that gives you a local description of

Laplace Pyramid -No scaling

Page 29: Image Representation - University of Haifacs.haifa.ac.il/hagit/courses/ip/Lectures/Ip11_MultiscaleRep.pdf · • Want an image representation that gives you a local description of

from: B.Freeman

Page 30: Image Representation - University of Haifacs.haifa.ac.il/hagit/courses/ip/Lectures/Ip11_MultiscaleRep.pdf · • Want an image representation that gives you a local description of

LaplacianPyramid

Reconstruction of the original image from the Laplacian Pyramid

+ =

+ =

+ =

= Original Image

Gl = Ll + G’l

expand

expand

expand

Page 31: Image Representation - University of Haifacs.haifa.ac.il/hagit/courses/ip/Lectures/Ip11_MultiscaleRep.pdf · • Want an image representation that gives you a local description of

Laplacian Pyramid -Computational Aspects

Memory:2NX2N (1 + 1/4 + 1/16 + ... ) = 2NX2N * 4/3

Computation:

However coefficients are highly compressible.

Li can be computed from G0 with a single convolutionwith filter: ki = hi-1 - hi

hi-1 hi

- =

ki

k1 k2 k3

Page 32: Image Representation - University of Haifacs.haifa.ac.il/hagit/courses/ip/Lectures/Ip11_MultiscaleRep.pdf · • Want an image representation that gives you a local description of

Image Mosaicing

Registration

Page 33: Image Representation - University of Haifacs.haifa.ac.il/hagit/courses/ip/Lectures/Ip11_MultiscaleRep.pdf · • Want an image representation that gives you a local description of

Image Blending

Page 34: Image Representation - University of Haifacs.haifa.ac.il/hagit/courses/ip/Lectures/Ip11_MultiscaleRep.pdf · • Want an image representation that gives you a local description of

Blending

Page 35: Image Representation - University of Haifacs.haifa.ac.il/hagit/courses/ip/Lectures/Ip11_MultiscaleRep.pdf · • Want an image representation that gives you a local description of

Multiresolution Spline

High Frequencies

Middle Frequencies

Low Frequencies

When splining two images, transition from one image tothe other should behave:

Page 36: Image Representation - University of Haifacs.haifa.ac.il/hagit/courses/ip/Lectures/Ip11_MultiscaleRep.pdf · • Want an image representation that gives you a local description of

Multiresolution Spline

High Frequencies

Middle Frequencies

Low Frequencies

Page 37: Image Representation - University of Haifacs.haifa.ac.il/hagit/courses/ip/Lectures/Ip11_MultiscaleRep.pdf · • Want an image representation that gives you a local description of

Multiresolution Spline - Example

Left Image Right Image

Left + Right Narrow Transition

Wide Transition

(Burt & Adelson)

Page 38: Image Representation - University of Haifacs.haifa.ac.il/hagit/courses/ip/Lectures/Ip11_MultiscaleRep.pdf · • Want an image representation that gives you a local description of

Multiresolustion Spline - Using Laplacian Pyramid

Page 39: Image Representation - University of Haifacs.haifa.ac.il/hagit/courses/ip/Lectures/Ip11_MultiscaleRep.pdf · • Want an image representation that gives you a local description of

Multiresolution Spline - Example

Left Image Right Image

Left + Right Narrow Transition

Wide Transition Multiresolution Spline

(Burt & Adelson)

Page 40: Image Representation - University of Haifacs.haifa.ac.il/hagit/courses/ip/Lectures/Ip11_MultiscaleRep.pdf · • Want an image representation that gives you a local description of

Multiresolution Spline - Example

Original - Left Original - Right

Glued Splined

Page 41: Image Representation - University of Haifacs.haifa.ac.il/hagit/courses/ip/Lectures/Ip11_MultiscaleRep.pdf · • Want an image representation that gives you a local description of

laplacian level 4

laplacian level 2

laplacian level 0

left pyramid right pyramid blended pyramid

Page 42: Image Representation - University of Haifacs.haifa.ac.il/hagit/courses/ip/Lectures/Ip11_MultiscaleRep.pdf · • Want an image representation that gives you a local description of

Multiresolution Spline

Page 43: Image Representation - University of Haifacs.haifa.ac.il/hagit/courses/ip/Lectures/Ip11_MultiscaleRep.pdf · • Want an image representation that gives you a local description of

Multiresolution Spline - Example

Page 44: Image Representation - University of Haifacs.haifa.ac.il/hagit/courses/ip/Lectures/Ip11_MultiscaleRep.pdf · • Want an image representation that gives you a local description of

Multi-Res. Blending

© prof. dmartin

Page 45: Image Representation - University of Haifacs.haifa.ac.il/hagit/courses/ip/Lectures/Ip11_MultiscaleRep.pdf · • Want an image representation that gives you a local description of

Image pyramids

• Gaussian Pyramids• Laplacian Pyramids• Wavelet/QMF

Page 46: Image Representation - University of Haifacs.haifa.ac.il/hagit/courses/ip/Lectures/Ip11_MultiscaleRep.pdf · • Want an image representation that gives you a local description of

What is a good representation for image analysis?

• Pixel domain representation tells you “where” (pixel location), but not “what”. – In space, this representation is too localized

• Fourier transform domain tells you “what” (textural properties), but not “where”. – In space, this representation is too spread out.

• Want an image representation that gives you a local description of image events—what is happening where. – That representation might be “just right”.

Page 47: Image Representation - University of Haifacs.haifa.ac.il/hagit/courses/ip/Lectures/Ip11_MultiscaleRep.pdf · • Want an image representation that gives you a local description of

Spatial

Spatial

Spatial

Freq.

Freq.

Freq.

Standard basis

Fourier basis

Wavelet basis

Space-Frequency Tiling

Page 48: Image Representation - University of Haifacs.haifa.ac.il/hagit/courses/ip/Lectures/Ip11_MultiscaleRep.pdf · • Want an image representation that gives you a local description of

Spatial

Spatial

Spatial

Freq.

Freq.

Freq.

Standard basis

Fourier basis

Wavelet basis

Space-Frequency Tiling

Page 49: Image Representation - University of Haifacs.haifa.ac.il/hagit/courses/ip/Lectures/Ip11_MultiscaleRep.pdf · • Want an image representation that gives you a local description of

Various Wavelet basis

Page 50: Image Representation - University of Haifacs.haifa.ac.il/hagit/courses/ip/Lectures/Ip11_MultiscaleRep.pdf · • Want an image representation that gives you a local description of

Wavelet - Frequency domain

L

L

L

H

H

H

Wavelet bands are split recursively

image

Page 51: Image Representation - University of Haifacs.haifa.ac.il/hagit/courses/ip/Lectures/Ip11_MultiscaleRep.pdf · • Want an image representation that gives you a local description of

Frequency domain

Horizontal high pass

Horizontal low pass

Wavelet - Frequency domainWavelet decomposition - 2D

Vertical high pass

Vertical low pass

Page 52: Image Representation - University of Haifacs.haifa.ac.il/hagit/courses/ip/Lectures/Ip11_MultiscaleRep.pdf · • Want an image representation that gives you a local description of

Horizontal high pass, vertical high pass

Horizontal high pass, vertical low-pass

Horizontal low pass, vertical high-pass

Horizontal low pass,Vertical low-pass

Wavelet - Frequency domainApply the wavelet transform separably in both dimensions

Page 53: Image Representation - University of Haifacs.haifa.ac.il/hagit/courses/ip/Lectures/Ip11_MultiscaleRep.pdf · • Want an image representation that gives you a local description of

• Splitting can be applied recursively:

Page 54: Image Representation - University of Haifacs.haifa.ac.il/hagit/courses/ip/Lectures/Ip11_MultiscaleRep.pdf · • Want an image representation that gives you a local description of

Gaussian Pyramid Laplacian Pyramid

Pyramids in Frequency Domain

Page 55: Image Representation - University of Haifacs.haifa.ac.il/hagit/courses/ip/Lectures/Ip11_MultiscaleRep.pdf · • Want an image representation that gives you a local description of

Fourier Space

Wavelet Decomposition

Page 56: Image Representation - University of Haifacs.haifa.ac.il/hagit/courses/ip/Lectures/Ip11_MultiscaleRep.pdf · • Want an image representation that gives you a local description of

Wavelet Transform - Step By Step Example

Page 57: Image Representation - University of Haifacs.haifa.ac.il/hagit/courses/ip/Lectures/Ip11_MultiscaleRep.pdf · • Want an image representation that gives you a local description of

Wavelet Transform - Example

Page 58: Image Representation - University of Haifacs.haifa.ac.il/hagit/courses/ip/Lectures/Ip11_MultiscaleRep.pdf · • Want an image representation that gives you a local description of

Wavelet Transform - Example

Page 59: Image Representation - University of Haifacs.haifa.ac.il/hagit/courses/ip/Lectures/Ip11_MultiscaleRep.pdf · • Want an image representation that gives you a local description of

Application: Wavelet Shrinkage Denoising

Noisy image

From: B. Freeman

Page 60: Image Representation - University of Haifacs.haifa.ac.il/hagit/courses/ip/Lectures/Ip11_MultiscaleRep.pdf · • Want an image representation that gives you a local description of

Clean image

From: B. Freeman

Page 61: Image Representation - University of Haifacs.haifa.ac.il/hagit/courses/ip/Lectures/Ip11_MultiscaleRep.pdf · • Want an image representation that gives you a local description of

From: B. Freeman

Get top histogram but want to get bottom histogram.

Noisy image

Clean image

Wavelet coefficientHistogram

Wavelet coefficientHistogram

Wavelet Shrinkage Denoising

Page 62: Image Representation - University of Haifacs.haifa.ac.il/hagit/courses/ip/Lectures/Ip11_MultiscaleRep.pdf · • Want an image representation that gives you a local description of

From: B. Freeman

Wavelet Shrinkage Denoising

For every Wavelet Band define Shrinkage function:

Wavelet Coefficient Value

New

Coe

ffici

ent V

alue

Page 63: Image Representation - University of Haifacs.haifa.ac.il/hagit/courses/ip/Lectures/Ip11_MultiscaleRep.pdf · • Want an image representation that gives you a local description of

Wavelet Shrinkage Pipe-line

TransformW

TransformW

Mapping functionsMapping functions

InverseTransform

WT

InverseTransform

WT

yiw

xiwI

cleanI

Page 64: Image Representation - University of Haifacs.haifa.ac.il/hagit/courses/ip/Lectures/Ip11_MultiscaleRep.pdf · • Want an image representation that gives you a local description of

More results

Page 65: Image Representation - University of Haifacs.haifa.ac.il/hagit/courses/ip/Lectures/Ip11_MultiscaleRep.pdf · • Want an image representation that gives you a local description of

More results

Page 66: Image Representation - University of Haifacs.haifa.ac.il/hagit/courses/ip/Lectures/Ip11_MultiscaleRep.pdf · • Want an image representation that gives you a local description of

Image Pyramids - Comparison

Image pyramid levels = Filter then sample.

Filters:

Gaussian Pyramid

Laplacian Pyramid

Wavelet Pyramid

Page 67: Image Representation - University of Haifacs.haifa.ac.il/hagit/courses/ip/Lectures/Ip11_MultiscaleRep.pdf · • Want an image representation that gives you a local description of

Image Linear Transforms

Fourier Sines+Cosines Not localized in spaceLocalized in Frequency

Wavelet Pyramid Wavelet Filters Localized in space

Localized in Frequency

Transform Basis Characteristics

Delta StandardLocalized in space

Not localized in Frequency

space spacespace

Delta Fourier Wavelet

Page 68: Image Representation - University of Haifacs.haifa.ac.il/hagit/courses/ip/Lectures/Ip11_MultiscaleRep.pdf · • Want an image representation that gives you a local description of

Basis vectors (Fourier, Wavelet, etc)

fUFrr

=

Vectorized imagetransformed image

Convolution and Transformsin matrix notation (1D case)

Page 69: Image Representation - University of Haifacs.haifa.ac.il/hagit/courses/ip/Lectures/Ip11_MultiscaleRep.pdf · • Want an image representation that gives you a local description of

Fourier Transform

= *

pixel domain image

Fourier basesFourier transform

From: B. Freeman

Fourier bases are global: each transform coefficient depends on all pixel locations.

Page 70: Image Representation - University of Haifacs.haifa.ac.il/hagit/courses/ip/Lectures/Ip11_MultiscaleRep.pdf · • Want an image representation that gives you a local description of

Basis vectors (Fourier, Wavelet, etc)

fUFrr

=

Vectorized imagetransformed image

Transform in matrix notation (1D case)

Forward Transform:

Inverse Transform:

Basis vectors

fFU 1 rr=−

Vectorized image

transformed image

Page 71: Image Representation - University of Haifacs.haifa.ac.il/hagit/courses/ip/Lectures/Ip11_MultiscaleRep.pdf · • Want an image representation that gives you a local description of

Inverse Fourier Transform

=

pixel domain imageFourier bases Fourier

transform

*

Every image pixel is a linear combination of the Fourier basis weighted by the coefficient.

t1 UU =−Note that if U is orthonormal basis then

Page 72: Image Representation - University of Haifacs.haifa.ac.il/hagit/courses/ip/Lectures/Ip11_MultiscaleRep.pdf · • Want an image representation that gives you a local description of

Convolution

= *

pixel imageCircular Matrix of

Filter Kernels

ConvolutionResult

From: B. Freeman

Page 73: Image Representation - University of Haifacs.haifa.ac.il/hagit/courses/ip/Lectures/Ip11_MultiscaleRep.pdf · • Want an image representation that gives you a local description of

Pyramid = Convolution + Sampling

pixel imageMatrix of Filter Kernels

ConvolutionResult

From: B. Freeman

= *

Page 74: Image Representation - University of Haifacs.haifa.ac.il/hagit/courses/ip/Lectures/Ip11_MultiscaleRep.pdf · • Want an image representation that gives you a local description of

Pyramid = Convolution + Sampling

= *

= *

Pyramid Level 1

Pyramid Level 2

Pyramid Level 2

= * *

Page 75: Image Representation - University of Haifacs.haifa.ac.il/hagit/courses/ip/Lectures/Ip11_MultiscaleRep.pdf · • Want an image representation that gives you a local description of

Pyramid = Convolution + Sampling

Pyramid Level 2

= * *

Pyramid Level 2

= *

Page 76: Image Representation - University of Haifacs.haifa.ac.il/hagit/courses/ip/Lectures/Ip11_MultiscaleRep.pdf · • Want an image representation that gives you a local description of

U1 =

1 4 6 4 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

0 0 1 4 6 4 1 0 0 0 0 0 0 0 0 0 0 0 0 0

0 0 0 0 1 4 6 4 1 0 0 0 0 0 0 0 0 0 0 0

0 0 0 0 0 0 1 4 6 4 1 0 0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0 1 4 6 4 1 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0 0 0 1 4 6 4 1 0 0 0 0 0

0 0 0 0 0 0 0 0 0 0 0 0 1 4 6 4 1 0 0 0

0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 4 6 4 1 0

from: B.Freeman

- Next pyramid levelU2 =

1 4 6 4 1 0 0 0

0 0 1 4 6 4 1 0

0 0 0 0 1 4 6 4

0 0 0 0 0 0 1 4

U2 * U1 =

1 4 10 20 31 40 44 40 31 20 10 4 1 0 0 0 0 0 0 0

0 0 0 0 1 4 10 20 31 40 44 40 31 20 10 4 1 0 0 0

0 0 0 0 0 0 0 0 1 4 10 20 31 40 44 40 30 16 4 0

0 0 0 0 0 0 0 0 0 0 0 0 1 4 10 20 25 16 4 0

- The combined effect of the two pyramid levels

Pyramid as Matrix Computation - Example

Page 77: Image Representation - University of Haifacs.haifa.ac.il/hagit/courses/ip/Lectures/Ip11_MultiscaleRep.pdf · • Want an image representation that gives you a local description of

Gaussian Pyramid

= *pixel image

Overcomplete representation. Low-pass filters, sampled appropriately for their blur.

Gaussian pyramid

From: B. Freeman

=

Page 78: Image Representation - University of Haifacs.haifa.ac.il/hagit/courses/ip/Lectures/Ip11_MultiscaleRep.pdf · • Want an image representation that gives you a local description of

Laplacian Pyramid

= *pixel image

Overcomplete representation. Transformed pixels represent bandpassed image information.

Laplacianpyramid

From: B. Freeman

Page 79: Image Representation - University of Haifacs.haifa.ac.il/hagit/courses/ip/Lectures/Ip11_MultiscaleRep.pdf · • Want an image representation that gives you a local description of

Wavelet Transform

= *

pixel imageOrtho-normal transform (like Fourier transform), but with localized basis functions.

Wavelet pyramid

From: B. Freeman

Page 80: Image Representation - University of Haifacs.haifa.ac.il/hagit/courses/ip/Lectures/Ip11_MultiscaleRep.pdf · • Want an image representation that gives you a local description of

The End