Académique Documents
Professionnel Documents
Culture Documents
A bar in the
big images is a
line on the
zebras nose;
in smaller
images, a
stripe; in the
smallest, the
animals nose
Precomputation
Need to access image at different blur levels
Useful for texture mapping at different resolutions (called
mip-mapping)
Image Processing
Editing frequency bands separately
E.g. image blending
filter mask
1/8
Repeat 1/4
Filter
Subsample
Until minimum resolution reached Throw away every other row and
can specify desired number of levels (e.g., 3-level pyramid) column to create a 1/2 size image
- called image sub-sampling
The whole pyramid is only 4/3 the size of the original image!
1
Image sub-sampling
Good sampling:
Sample often or,
Sample wisely
Bad sampling:
see aliasing in action!
Matlab output:
Picket fence receding
Into the distance will
produce aliasing
2
Gaussian pre-filtering
G 1/8
G 1/4
Gaussian 1/2
Solution: filter the image, then subsample
Gaussian 1/2 G 1/4 G 1/8 1/2 1/4 (2x zoom) 1/8 (4x zoom)
3
Image Blending Feathering
+
1 1
0 0
Encoding transparency
I(x,y) = (R, G, B, )
= Iblend = Ileft + Iright
1 left 1 1 1
right
0 0 0 0
To avoid ghosting
window <= 2*size of smallest prominent feature
1
FFT
0
4
What if the Frequency Spread is Wide What does blurring take away?
FFT
Original
image
5
Pyramid Blending Pyramid Blending
0
1
laplacian
level
0
Blending Regions