encyclopegia.org

Grassfire transform

In image processing, the grassfire transform is the computation of the distance from a pixel to the border of a region. It can be described as "setting fire" to the borders of an image region to yield descriptors such as the region's skeleton or medial axis. Harry Blum introduced the concept in 1967.

In image processing, the grassfire transform is the computation of the distance from a pixel to the border of a region. It can be described as "setting fire" to the borders of an image region to yield descriptors such as the region's skeleton or medial axis. Harry Blum introduced the concept in 1967. ==Motivation== A region's skeleton can be a useful descriptor, because it describes things such as the symmetry of the region as well as subparts, depressions and protrusions. It also provides a way of relating the interior of a region to the shape of the boundary. In the grassfire transform, the skeleton forms at the points in the region where the "fires" meet. In the literature this is described as the locus of meeting waveforms. Another advantage of using the outcome of the grassfire transform as a descriptor is that it is invertible. Assuming information about when the medial axis or skeleton is created by meeting waveforms is kept, then the skeleton can be restored by radiating outward. ==Example algorithm== The algorithm below is a simple two pass method for computing the Manhattan distance from the border of a region. Of course there are several other algorithms for performing the grassfire transform. for each row in image left to right for each column in image top to bottom if (pixel is in region) { set pixel to 1 + minimum value of the north and west neighbours } else { set pixel to zero } } } for each row right to left for each column bottom to top if (pixel is in region) { set pixel to min(value of the pixel,1 + minimum value of the south and east neighbours) } else { set pixel to zero } } } Below is the result of this transform. The most intense lines make up the skeleton. ==Applications== The grassfire transform can be abstracted to suit a variety of computing problems. It has been shown that it can be extended beyond the context of images to arbitrary functions. This includes applications in energy minimization problems such as those handled by the Viterbi algorithm, max-product belief propagation, resource allocation, and in optimal control methods. It can also be used to compute the distance between regions by setting the background to be as a region. ==See also== Topological skeleton Distance transform ==References==

References

  1. Simulating the grassfire transform using an active contour model · retrieved 2026-11-17 · rev 1352219799
    Cite this reference

    MLA "Simulating the grassfire transform using an active contour model." a b Leymarie, F; Levine, M. 2026-11-17. https://en.wikipedia.org/wiki/Doi_(identifier). Accessed 24 November 2026.

    Chicago "Simulating the grassfire transform using an active contour model." a b Leymarie, F; Levine, M. 2026-11-17. https://en.wikipedia.org/wiki/Doi_(identifier).

    APA a b Leymarie, F; Levine, M. (2026). Simulating the grassfire transform using an active contour model. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/Doi_(identifier)

  2. A transformation for extracting new descriptors of shape · retrieved 2026-11-17 · rev 1352219799
    Cite this reference

    MLA "A transformation for extracting new descriptors of shape." a b Blum, Harry (1967). 2026-11-17. https://en.wikipedia.org/wiki/Harry_Blum_(scientist). Accessed 24 November 2026.

    Chicago "A transformation for extracting new descriptors of shape." a b Blum, Harry (1967). 2026-11-17. https://en.wikipedia.org/wiki/Harry_Blum_(scientist).

    APA a b Blum, Harry (1967). (2026). A transformation for extracting new descriptors of shape. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/Harry_Blum_(scientist)

  3. Distance Transforms of Sampled Functions · retrieved 2026-11-17 · rev 1352219799
    Cite this reference

    MLA "Distance Transforms of Sampled Functions." a b Felzenszwalb, Pedro F; Huttenlocher, Daniel P (2012). 2026-11-17. https://en.wikipedia.org/wiki/CiteSeerX_(identifier). Accessed 24 November 2026.

    Chicago "Distance Transforms of Sampled Functions." a b Felzenszwalb, Pedro F; Huttenlocher, Daniel P (2012). 2026-11-17. https://en.wikipedia.org/wiki/CiteSeerX_(identifier).

    APA a b Felzenszwalb, Pedro F; Huttenlocher, Daniel P (2012). (2026). Distance Transforms of Sampled Functions. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/CiteSeerX_(identifier)

Cite this article

MLA

"Grassfire transform." encyclopegia.org, 2026, https://encyclopegia.org/wiki/grassfire-transform. Accessed 24 November 2026.

Chicago

"Grassfire transform." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/grassfire-transform.

APA

encyclopegia.org. (2026). Grassfire transform. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/grassfire-transform

Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON

CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1352219799 · 0.5 · snapshot enwiki-001352219799

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.