Upgrade to PRO for Only $50/Year—Limited-Time Offer! 🔥

CV_2_Pyramids and Multiscale representations

Avatar for Mohammed Hachama Mohammed Hachama
March 01, 2025
120

CV_2_Pyramids and Multiscale representations

Avatar for Mohammed Hachama

Mohammed Hachama

March 01, 2025
Tweet

Transcript

  1. Computer vision Image pyramids and multiscale representations (Week 2) NHSM

    - 4th year - Spring 2026 - Prof. Mohammed Hachama [email protected] hachama.github.io/home
  2. 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
  3. 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
  4. 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
  5. 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
  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
  7. 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
  8. 1. Gaussian Pyramid Application 1: Template matching NHSM - 4th

    year: Computer vision - pyramids (Week 2) - M. Hachama ([email protected]) 4/6
  9. 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
  10. 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
  11. 2. Laplacian Pyramid Laplacian ≈ difference-of-Gaussian (DOG) NHSM - 4th

    year: Computer vision - pyramids (Week 2) - M. Hachama ([email protected]) 5/6
  12. 2. Laplacian Pyramid Laplacian is a Bandpass Filter NHSM -

    4th year: Computer vision - pyramids (Week 2) - M. Hachama ([email protected]) 5/6
  13. 2. Laplacian Pyramid Laplacian is a Bandpass Filter NHSM -

    4th year: Computer vision - pyramids (Week 2) - M. Hachama ([email protected]) 5/6
  14. 2. Laplacian Pyramid Laplacian is a Bandpass Filter NHSM -

    4th year: Computer vision - pyramids (Week 2) - M. Hachama ([email protected]) 5/6
  15. 2. Laplacian Pyramid Constructing a Laplacian Pyramid NHSM - 4th

    year: Computer vision - pyramids (Week 2) - M. Hachama ([email protected]) 5/6
  16. 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
  17. 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
  18. 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
  19. 2. Laplacian Pyramid Application 1: Image Blending NHSM - 4th

    year: Computer vision - pyramids (Week 2) - M. Hachama ([email protected]) 6/6
  20. 2. Laplacian Pyramid Application 1: Image Blending NHSM - 4th

    year: Computer vision - pyramids (Week 2) - M. Hachama ([email protected]) 6/6
  21. 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
  22. 2. Laplacian Pyramid Application 1: Image Blending NHSM - 4th

    year: Computer vision - pyramids (Week 2) - M. Hachama ([email protected]) 6/6
  23. 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
  24. 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
  25. 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