Share
Embed
Transcript
27 slides
-
Computer vision Image pyramids and multiscale representations (Week 2) NHSM
- 4th year - Spring 2026 - Prof. Mohammed Hachama [email protected] hachama.github.io/home -
Gaussian Scale-space Gaussian multiscale analysis • A continuous representation where
an image is analyzed at different levels of blur (scale) L(x, y, σ) = I(x, y) ⋆ G(x, y, σ) NHSM - 4th year: Computer vision - pyramids (Week 2) - M. Hachama ([email protected]) 2/6 -
Gaussian Scale-space Gaussian multiscale analysis • A continuous representation where
an image is analyzed at different levels of blur (scale) L(x, y, σ) = I(x, y) ⋆ G(x, y, σ) NHSM - 4th year: Computer vision - pyramids (Week 2) - M. Hachama ([email protected]) 2/6 -
Gaussian Scale-space Gaussian multiscale analysis • A continuous representation where
an image is analyzed at different levels of blur (scale) L(x, y, σ) = I(x, y) ⋆ G(x, y, σ) NHSM - 4th year: Computer vision - pyramids (Week 2) - M. Hachama ([email protected]) 2/6 -
Gaussian Scale-space Gaussian multiscale analysis • A continuous representation where
an image is analyzed at different levels of blur (scale) L(x, y, σ) = I(x, y) ⋆ G(x, y, σ) NHSM - 4th year: Computer vision - pyramids (Week 2) - M. Hachama ([email protected]) 2/6 -
Image Pyramids Image Pyramids • 1. Gaussian pyramid • 2.
Laplacian pyramid • 3. Steerable Pyramid NHSM - 4th year: Computer vision - pyramids (Week 2) - M. Hachama ([email protected]) 3/6 -
1. Gaussian Pyramid Gaussian Pyramid NHSM - 4th year: Computer
vision - pyramids (Week 2) - M. Hachama ([email protected]) 4/6 -
1. Gaussian Pyramid Gaussian Pyramid NHSM - 4th year: Computer
vision - pyramids (Week 2) - M. Hachama ([email protected]) 4/6 -
1. Gaussian Pyramid Gaussian Pyramid • Gaussian filtering as anti-aliasing
filters • Details get smoothed out as we move to higher levels • Only mostly large uniform regions in the original image are preserved at the higher levels • Image reconstruction from the pyramid: Not possible NHSM - 4th year: Computer vision - pyramids (Week 2) - M. Hachama ([email protected]) 4/6 -
1. Gaussian Pyramid Application 1: Template matching NHSM - 4th
year: Computer vision - pyramids (Week 2) - M. Hachama ([email protected]) 4/6 -
1. Gaussian Pyramid Applications • Multi-Scale Image Representation and Analysis
• Scale-Invariant Image Features • Image Compression (Progressive Encoding and transmission) • Efficient Image Processing (Reducing Computation) • Optical Flow and Motion Estimation: • track motion from coarse to fine resolution. • Prevents large displacements from being missed when only analyzing the full-resolution image • Deep Learning NHSM - 4th year: Computer vision - pyramids (Week 2) - M. Hachama ([email protected]) 4/6 -
2. Laplacian Pyramid Laplacian Pyramid • Retain the residuals instead
of the blurred images themselves NHSM - 4th year: Computer vision - pyramids (Week 2) - M. Hachama ([email protected]) 5/6 -
2. Laplacian Pyramid Laplacian ≈ difference-of-Gaussian (DOG) NHSM - 4th
year: Computer vision - pyramids (Week 2) - M. Hachama ([email protected]) 5/6 -
2. Laplacian Pyramid Laplacian is a Bandpass Filter NHSM -
4th year: Computer vision - pyramids (Week 2) - M. Hachama ([email protected]) 5/6 -
2. Laplacian Pyramid Laplacian is a Bandpass Filter NHSM -
4th year: Computer vision - pyramids (Week 2) - M. Hachama ([email protected]) 5/6 -
2. Laplacian Pyramid Laplacian is a Bandpass Filter NHSM -
4th year: Computer vision - pyramids (Week 2) - M. Hachama ([email protected]) 5/6 -
2. Laplacian Pyramid Constructing a Laplacian Pyramid NHSM - 4th
year: Computer vision - pyramids (Week 2) - M. Hachama ([email protected]) 5/6 -
2. Laplacian Pyramid Application 1: Image Blending • Blend two
images smoothly by decomposing them into Gaussian and Laplacian pyramids, blending them at each level, and then reconstructing the final blended image. NHSM - 4th year: Computer vision - pyramids (Week 2) - M. Hachama ([email protected]) 6/6 -
2. Laplacian Pyramid Application 1: Image Blending • Blend two
images smoothly by decomposing them into Gaussian and Laplacian pyramids, blending them at each level, and then reconstructing the final blended image. NHSM - 4th year: Computer vision - pyramids (Week 2) - M. Hachama ([email protected]) 6/6 -
2. Laplacian Pyramid Application 1: Image Blending • Blend two
images smoothly by decomposing them into Gaussian and Laplacian pyramids, blending them at each level, and then reconstructing the final blended image. NHSM - 4th year: Computer vision - pyramids (Week 2) - M. Hachama ([email protected]) 6/6 -
2. Laplacian Pyramid Application 1: Image Blending NHSM - 4th
year: Computer vision - pyramids (Week 2) - M. Hachama ([email protected]) 6/6 -
2. Laplacian Pyramid Application 1: Image Blending NHSM - 4th
year: Computer vision - pyramids (Week 2) - M. Hachama ([email protected]) 6/6 -
2. Laplacian Pyramid Application 1: Image Blending • Direct blending:
sharp edges at the boundary can be noticeable. • Blending low-frequency components smoothly and high-frequency details selectively: the transition between images becomes natural. • The blending mask is also pyramidal, meaning it changes smoothly across scales. This ensures that low-frequency components are blended over a larger region, while high-frequency details are only blended near the boundary. NHSM - 4th year: Computer vision - pyramids (Week 2) - M. Hachama ([email protected]) 6/6 -
2. Laplacian Pyramid Application 1: Image Blending NHSM - 4th
year: Computer vision - pyramids (Week 2) - M. Hachama ([email protected]) 6/6 -
2. Laplacian Pyramid Application 2: Image compression • Quantize Laplacian
coefficients to reduce precision (e.g., rounding to integers). • Higher levels (coarser details) tolerate aggressive quantization, while finer levels require finer quantization to preserve details. NHSM - 4th year: Computer vision - pyramids (Week 2) - M. Hachama ([email protected]) 6/6 -
2. Laplacian Pyramid Application 3: Eulerian Video Magnification • Enhances
small variations in color and motion • Pulse detection: monitoring tiny skin color changes due to blood flow • Breathing analysis: amplifying chest movements. • Material deformation detection: visualizing tiny vibrations in structures. NHSM - 4th year: Computer vision - pyramids (Week 2) - M. Hachama ([email protected]) 6/6 -
2. Laplacian Pyramid Application 3: Eulerian Video Magnification • Laplacian
pyramid to separate different frequency bands. • Pixel values are filtered over time to enhance (by a factor ×α) specific frequency ranges (e.g., heartbeats at 0.5–1.5 Hz). NHSM - 4th year: Computer vision - pyramids (Week 2) - M. Hachama ([email protected]) 6/6