image pyramids

17
Image Pyramids Computer Vision, winter 2012-13 CS Department, Technion

Upload: ziv

Post on 22-Feb-2016

80 views

Category:

Documents


1 download

DESCRIPTION

Image Pyramids. Computer Vision, winter 2012-13 CS Department, Technion. Topics. The Gaussian Pyramid The Laplacian Pyramid Applications: Pattern Matching Coding (Compression) Enhancement Blending. Gaussian Pyramid. Gaussian Pyramid. Approximation filter is not Gaussian - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Image Pyramids

Image Pyramids

Computer Vision, winter 2012-13CS Department, Technion

Page 2: Image Pyramids

TopicsThe Gaussian PyramidThe Laplacian PyramidApplications:

Pattern MatchingCoding (Compression)EnhancementBlending

Page 3: Image Pyramids

Gaussian Pyramid

Page 4: Image Pyramids

Gaussian PyramidApproximation filter is not Gaussian

A 5 tap binomial kernel:

2D extension:

1 [1,4,6,4,1]16

1 4 6 4 14 16 24 16 4

16 24 36 24 6

2564 16 24 16 41 4 6 4 1

Page 5: Image Pyramids

Pattern Matching

Page 6: Image Pyramids

Laplacian Pyramid

Page 7: Image Pyramids

Laplacian PyramidApproximation of the Laplacian of each scaleConstructed by Difference of Gaussian (DoG)

layers

Page 8: Image Pyramids

Laplacian Pyramid

Page 9: Image Pyramids

Image Coding

Page 10: Image Pyramids
Page 11: Image Pyramids

Enhancement

Page 12: Image Pyramids

Enhancement

Page 13: Image Pyramids

Pyramid Blending

Page 14: Image Pyramids

Step I - Create Blend Masks

Page 15: Image Pyramids

Step II

• Weighted sum over each Laplacian pyramid scale (of the images) independently

• Gaussian pyramid of masks, or simple resizing of masks to correct dimensions

Blend 1Blend 1 MaskBlend 2Blend 2 Mask

Page 16: Image Pyramids

Step IIIStandard Laplacian pyramid

reconstruction of blended scales

Page 17: Image Pyramids

Implementation IssuesImage registrationFeatheringOver/under flows outside [0,1]MATLAB function: impyramid()

Only Gaussian pyramid‘reduce’ or ‘expand’ modes

MATLAB function: imresize()Useful for masks resizing