Look at a photograph from across a room, then walk up to it. You notice different things at each distance: the overall composition from afar, the texture of brushstrokes up close. Image pyramids give a computer that same ability — to see a picture at many scales simultaneously.
The idea is elegantly simple. Start with the original image. Blur it slightly (a Gaussian filter), then shrink it by half. Blur and shrink again. Repeat until you have a thumbnail. Stack those copies from big to small, like a pyramid. Each level captures structure at a coarser scale; fine detail lives at the bottom, global shape at the top.
Peter Burt and Edward Adelson formalised this in 1983 with two complementary structures:
- The Gaussian pyramid is that stack of progressively blurred, down-sampled copies. Each level is a low-pass filtered version of the level below.
- The Laplacian pyramid captures what the Gaussian pyramid throws away. Each level stores the difference between a level and the up-sampled version of the level above — a band-pass residual. Summing all Laplacian levels perfectly reconstructs the original image.
These two structures are the backbone of a surprising range of algorithms — from the seamless photo blending you will try in the demo, to the feature detectors inside modern compression pipelines and object-recognition systems.
Comments
Loading comments...