Grassfire Transform
Encyclopedia
The Grassfire Transform is a name given to the concept in image processing for computing the distance of 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.
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 reverted by radiating outward.
several other algorithms for performing the grassfire transform.
Below is the result of this transform. It is important to note that the most intense lines make up the skeleton.
It can also be used to compute the distance between regions by setting the background to be as a region.
Topological skeleton
In shape analysis, skeleton of a shape is a thin version of that shape that is equidistant to its boundaries. The skeleton usually emphasizes geometrical and topological properties of the shape, such as its connectivity, topology, length, direction, and width...
or medial axis. Harry Blum introduced the concept in 1967.
Motivation
A region's skeleton can be a useful descriptor. This is because the skeleton 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 reverted by radiating outward.
Example Algorithm
The algorithm below is a simple two pass method for computing the Chessboard distance from the border of a region. Of course there areseveral other algorithms for performing the grassfire transform.
Below is the result of this transform. It is important to note that 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 the 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.