Pyramid (image processing)

Type of multi-scale signal representation


title: "Pyramid (image processing)" type: doc version: 1 created: 2026-02-28 author: "Wikipedia contributors" status: active scope: public tags: ["image-processing", "computer-vision"] description: "Type of multi-scale signal representation" topic_path: "technology/computing" source: "https://en.wikipedia.org/wiki/Pyramid_(image_processing)" license: "CC BY-SA 4.0" wikipedia_page_id: 0 wikipedia_revision_id: 0

::summary Type of multi-scale signal representation ::

::figure[src="https://upload.wikimedia.org/wikipedia/commons/e/ea/image_pyramid.svg" caption="Visual representation of an image pyramid with 5 levels"] ::

Pyramid, or pyramid representation, is a type of multi-scale signal representation developed by the computer vision, image processing and signal processing communities, in which a signal or an image is subject to repeated smoothing and subsampling. Pyramid representation is a predecessor to scale-space representation and multiresolution analysis.

Pyramid generation

There are two main types of pyramids: lowpass and bandpass.

A lowpass pyramid is made by smoothing the image with an appropriate smoothing filter and then subsampling the smoothed image, usually by a factor of 2 along each coordinate direction. The resulting image is then subjected to the same procedure, and the cycle is repeated multiple times. Each cycle of this process results in a smaller image with increased smoothing, but with decreased spatial sampling density (that is, decreased image resolution). If illustrated graphically, the entire multi-scale representation will look like a pyramid, with the original image on the bottom and each cycle's resulting smaller image stacked one atop the other.

A bandpass pyramid is made by forming the difference between images at adjacent levels in the pyramid and performing image interpolation between adjacent levels of resolution, to enable computation of pixelwise differences. E.H. Andelson and C.H. Anderson and J.R. Bergen and P.J. Burt and J.M. Ogden. "Pyramid methods in image processing". 1984.

Pyramid generation kernels

A variety of different smoothing kernels have been proposed for generating pyramids.{{Cite journal | last1 = Burt | first1 = P. J. | doi = 10.1016/0146-664X(81)90092-7 | title = Fast filter transform for image processing | journal = Computer Graphics and Image Processing | volume = 16 | pages = 20–51 |date=May 1981 | last1 = Crowley | first1 = J. L. | last2 = Parker | first2 = A. C. | author2-link = Alice C. Parker | title = A representation for shape based on peaks and ridges in the difference of low-pass transform | journal = IEEE Transactions on Pattern Analysis and Machine Intelligence | volume = 6 | issue = 2 | pages = 156–170 |date=March 1984 | pmid = 21869180 | doi = 10.1109/TPAMI.1984.4767500 | citeseerx = 10.1.1.161.3102 | s2cid = 14348919

Gaussian pyramid

In a Gaussian pyramid, subsequent images are weighted down using a Gaussian average (Gaussian blur) and scaled down. Each pixel containing a local average corresponds to a neighborhood pixel on a lower level of the pyramid. This technique is used especially in texture synthesis.

Laplacian pyramid

A Laplacian pyramid is very similar to a Gaussian pyramid but saves the difference image of the blurred versions between each levels. Only the smallest level is not a difference image to enable reconstruction of the high resolution image using the difference images on higher levels. This technique can be used in image compression.

Steerable pyramid

A steerable pyramid, developed by Simoncelli and others, is an implementation of a multi-scale, multi-orientation band-pass filter bank used for applications including image compression, texture synthesis, and object recognition. It can be thought of as an orientation selective version of a Laplacian pyramid, in which a bank of steerable filters are used at each level of the pyramid instead of a single Laplacian or Gaussian filter.

Applications of pyramids

Alternative representation

In the early days of computer vision, pyramids were used as the main type of multi-scale representation for computing multi-scale image features from real-world image data. More recent techniques include scale-space representation, which has been popular among some researchers due to its theoretical foundation, the ability to decouple the subsampling stage from the multi-scale representation, the more powerful tools for theoretical analysis as well as the ability to compute a representation at any desired scale, thus avoiding the algorithmic problems of relating image representations at different resolution. Nevertheless, pyramids are still frequently used for expressing computationally efficient approximations to scale-space representation.

Detail manipulation

Levels of a Laplacian pyramid can be added to or removed from the original image to amplify or reduce detail at different scales. However, detail manipulation of this form is known to produce halo artifacts in many cases, leading to the development of alternatives such as the bilateral filter.

Some image compression file formats use the Adam7 algorithm or some other interlacing technique. These can be seen as a kind of image pyramid. Because those file format store the "large-scale" features first, and fine-grain details later in the file, a particular viewer displaying a small "thumbnail" or on a small screen can quickly download just enough of the image to display it in the available pixels—so one file can support many viewer resolutions, rather than having to store or generate a different file for each resolution.

References

References

  1. Crowley, James L.. (November 1981). "A representation for visual information". Carnegie-Mellon University, Robotics Institute.
  2. (1983). "The Laplacian Pyramid as a Compact Image Code". IEEE Transactions on Communications.
  3. (1987). "Multiple resolution representation and probabilistic matching of 2-D gray-scale shape". IEEE Transactions on Pattern Analysis and Machine Intelligence.
  4. (1987). "Frequency domain analysis and synthesis of image generating kernels". IEEE Transactions on Pattern Analysis and Machine Intelligence.
  5. Lindeberg, Tony, "[http://kth.diva-portal.org/smash/record.jsf?pid=diva2%3A472968&dswid=77 Scale-space for discrete signals]," PAMI(12), No. 3, March 1990, pp. 234-254.
  6. (March 1991). "A Class of Fast Gaussian Binomial Filters for Speech and Image Processing". IEEE Transactions on Signal Processing.
  7. Lindeberg, Tony. [http://www.csc.kth.se/~tony/book.html Scale-Space Theory in Computer Vision], Kluwer Academic Publishers, 1994, {{ISBN. 0-7923-9418-6 (see specifically Chapter 2 for an overview of Gaussian and Laplacian image pyramids and Chapter 3 for theory about generalized binomial kernels and discrete Gaussian kernels)
  8. See the article on [[multi-scale approaches]] for a very brief theoretical statement
  9. (1983). "The Laplacian Pyramid as a Compact Image Code". IEEE Transactions on Communications.
  10. Simoncelli, Eero. "The Steerable Pyramid". cns.nyu.edu.
  11. (1997 }}
    Also in {{Cite journal). "Efficient Deformable Filter Banks". [[California Institute of Technology]]/[[University of Padua]].
  12. (1997). "Human Vision and Electronic Imaging II".
  13. Lindeberg, T. and Bretzner, L. [http://kth.diva-portal.org/smash/record.jsf?pid=diva2%3A440700&dswid=-2509 Real-time scale selection in hybrid multi-scale representations], Proc. Scale-Space'03, Isle of Skye, Scotland, Springer Lecture Notes in Computer Science, volume 2695, pages 148-163, 2003.
  14. Crowley, J, Riff O. [http://www-prima.inrialpes.fr/Prima/Homepages/jlc/papers/Crowley-ScaleSpace03.pdf Fast computation of scale normalised Gaussian receptive fields], Proc. Scale-Space'03, Isle of Skye, Scotland, Springer [[Lecture Notes in Computer Science]], volume 2695, 2003.
  15. (2004). "Distinctive image features from scale-invariant keypoints". International Journal of Computer Vision.

::callout[type=info title="Wikipedia Source"] This article was imported from Wikipedia and is available under the Creative Commons Attribution-ShareAlike 4.0 License. Content has been adapted to SurfDoc format. Original contributors can be found on the article history page. ::

image-processingcomputer-vision