Topological Skeleton
   HOME

TheInfoList



OR:

In shape analysis, skeleton (or topological skeleton) of a
shape A shape is a graphics, graphical representation of an object's form or its external boundary, outline, or external Surface (mathematics), surface. It is distinct from other object properties, such as color, Surface texture, texture, or material ...
is a thin version of that shape that is
equidistant A point is said to be equidistant from a set of objects if the distances between that point and each object in the set are equal. In two-dimensional Euclidean geometry, the locus of points equidistant from two given (different) points is t ...
to its boundaries. The skeleton usually emphasizes geometrical and topological properties of the shape, such as its connectivity,
topology Topology (from the Greek language, Greek words , and ) is the branch of mathematics concerned with the properties of a Mathematical object, geometric object that are preserved under Continuous function, continuous Deformation theory, deformat ...
,
length Length is a measure of distance. In the International System of Quantities, length is a quantity with Dimension (physical quantity), dimension distance. In most systems of measurement a Base unit (measurement), base unit for length is chosen, ...
, direction, and
width Length is a measure of distance. In the International System of Quantities, length is a quantity with dimension distance. In most systems of measurement a base unit for length is chosen, from which all other units are derived. In the Intern ...
. Together with the distance of its points to the shape boundary, the skeleton can also serve as a representation of the shape (they contain all the information necessary to reconstruct the shape). Skeletons have several different mathematical definitions in the technical literature, and there are many different algorithms for computing them. Various different variants of skeleton can also be found, including straight skeletons, morphological skeletons, etc. In the technical literature, the concepts of skeleton and
medial axis The medial axis of an object is the set of all points having more than one closest point on the object's boundary. Originally referred to as the topological skeleton, it was introduced in 1967 by Harry Blum as a tool for biological shape reco ...
are used interchangeably by some authors,, Section 11.1.5, p. 650 while some other authors, Section 9.9, p. 382., Section 17.5.2, p. 234. regard them as related, but not the same. Similarly, the concepts of ''skeletonization'' and
thinning In agricultural sciences, thinning is the removal of some plants, or parts of plants, to make room for the growth of others. Selective removal of parts of a plant such as branches, buds, or roots is typically known as '' pruning''. In forestry ...
are also regarded as identical by some, and not by others. Skeletons are widely used in
computer vision Computer vision tasks include methods for image sensor, acquiring, Image processing, processing, Image analysis, analyzing, and understanding digital images, and extraction of high-dimensional data from the real world in order to produce numerical ...
,
image analysis Image analysis or imagery analysis is the extraction of meaningful information from images; mainly from digital images by means of digital image processing techniques. Image analysis tasks can be as simple as reading barcode, bar coded tags or a ...
,
pattern recognition Pattern recognition is the task of assigning a class to an observation based on patterns extracted from data. While similar, pattern recognition (PR) is not to be confused with pattern machines (PM) which may possess PR capabilities but their p ...
and
digital image processing Digital image processing is the use of a digital computer to process digital images through an algorithm. As a subcategory or field of digital signal processing, digital image processing has many advantages over analog image processing. It allo ...
for purposes such as
optical character recognition Optical character recognition or optical character reader (OCR) is the electronics, electronic or machine, mechanical conversion of images of typed, handwritten or printed text into machine-encoded text, whether from a scanned document, a photo ...
,
fingerprint recognition A fingerprint is an impression left by the friction ridges of a human finger. The recovery of partial fingerprints from a crime scene is an important method of forensic science. Moisture and grease on a finger result in fingerprints on surfa ...
, visual inspection or compression. Within the life sciences skeletons found extensive use to characterize
protein folding Protein folding is the physical process by which a protein, after Protein biosynthesis, synthesis by a ribosome as a linear chain of Amino acid, amino acids, changes from an unstable random coil into a more ordered protein tertiary structure, t ...
and
plant morphology Phytomorphology is the study of the physical form and external structure of plants.Raven, P. H., R. F. Evert, & S. E. Eichhorn. ''Biology of Plants'', 7th ed., page 9. (New York: W. H. Freeman, 2005). . This is usually considered distinct from pl ...
on various biological scales.


Mathematical definitions

Skeletons have several different mathematical definitions in the technical literature; most of them lead to similar results in continuous spaces, but usually yield different results in
discrete space In topology, a discrete space is a particularly simple example of a topological space or similar structure, one in which the points form a , meaning they are '' isolated'' from each other in a certain sense. The discrete topology is the finest to ...
s.


Quench points of the fire propagation model

In his seminal paper, Harry Blum of the Air Force Cambridge Research Laboratories at Hanscom Air Force Base, in
Bedford, Massachusetts Bedford is a town in Middlesex County, Massachusetts, United States. The population of Bedford was 14,161 at th2022 United States census History ''The following compilation comes from Ellen Abrams (1999) based on information from Abram Engl ...
, defined a
medial axis The medial axis of an object is the set of all points having more than one closest point on the object's boundary. Originally referred to as the topological skeleton, it was introduced in 1967 by Harry Blum as a tool for biological shape reco ...
for computing a skeleton of a shape, using an intuitive model of fire propagation on a grass field, where the field has the form of the given shape. If one "sets fire" at all points on the boundary of that grass field simultaneously, then the skeleton is the set of
quench In materials science, quenching is the rapid cooling of a workpiece in water, gas, oil, polymer, air, or other fluids to obtain certain material properties. A type of heat treating, quenching prevents undesired low-temperature processes, such ...
points, i.e., those points where two or more wavefronts meet. This intuitive description is the starting point for a number of more precise definitions.


Centers of maximal disks (or balls)

A disk (or
ball A ball is a round object (usually spherical, but sometimes ovoid) with several uses. It is used in ball games, where the play of the game follows the state of the ball as it is hit, kicked or thrown by players. Balls can also be used for s ...
) ''B'' is said to be ''maximal'' in a set ''A'' if * B\subseteq A, and * If another disc ''D'' contains ''B'', then D\not\subseteq A. One way of defining the skeleton of a shape ''A'' is as the set of centers of all maximal disks in ''A''.


Centers of bi-tangent circles

The skeleton of a shape ''A'' can also be defined as the set of centers of the discs that touch the boundary of ''A'' in two or more locations. This definition assures that the skeleton points are equidistant from the shape boundary and is mathematically equivalent to Blum's medial axis transform.


Ridges of the distance function

Many definitions of skeleton make use of the concept of distance function, which is a function that returns for each point ''x'' inside a shape ''A'' its distance to the closest point on the boundary of ''A''. Using the distance function is very attractive because its computation is relatively fast. One of the definitions of skeleton using the distance function is as the
ridge A ridge is a long, narrow, elevated geomorphologic landform, structural feature, or a combination of both separated from the surrounding terrain by steep sides. The sides of a ridge slope away from a narrow top, the crest or ridgecrest, wi ...
s of the distance function. There is a common mis-statement in the literature that the skeleton consists of points which are "locally maximum" in the distance transform. This is simply not the case, as even cursory comparison of a distance transform and the resulting skeleton will show. Ridges may have varying height, so a point on the ridge may be lower than its immediate neighbor on the ridge. It is thus not a local maximum, even though it belongs to the ridge. It is, however, less far away vertically than its ground distance would warrant. Otherwise it would be part of the slope.


Other definitions

* Points with no upstream segments in the distance function. The ''upstream'' of a point ''x'' is the segment starting at ''x'' which follows the maximal gradient path. * Points where the gradient of the distance function are different from 1 (or, equivalently, not well defined) * Smallest possible set of lines that preserve the topology and are equidistant to the borders


Skeletonization algorithms

There are many different algorithms for computing skeletons for shapes in
digital images A digital image is an image composed of picture elements, also known as pixels, each with '' finite'', '' discrete quantities'' of numeric representation for its intensity or gray level that is an output from its two-dimensional functions f ...
, as well as continuous sets. * Using morphological operators (See Morphological skeleton, Section 9.5.7, p. 543.) * Supplementing morphological operators with shape based pruning *Using intersections of distances from boundary sections * Using curve evolution * Using level sets * Finding ridge points on the distance function * "Peeling" the shape, without changing the topology, until convergence * Zhang-Suen Thinning Algorithm Skeletonization algorithms can sometimes create unwanted branches on the output skeletons. Pruning algorithms are often used to remove these branches.


See also

*
Medial axis The medial axis of an object is the set of all points having more than one closest point on the object's boundary. Originally referred to as the topological skeleton, it was introduced in 1967 by Harry Blum as a tool for biological shape reco ...
* Straight skeleton * β-skeleton * Grassfire Transform * Stroke-based fonts


Notes


References

*. * *. *. *. *. *. * *. *. *. * *. *. *. *. *{{citation, last=Tannenbaum, first = Allen, authorlink=Allen Tannenbaum , title = Three snippets of curve evolution theory in computer vision , journal = Mathematical and Computer Modelling , volume = 24 , issue = 5 , pages = 103–118 , year = 1996 , doi=10.1016/0895-7177(96)00117-3, doi-access = free .


Open source software


ITK
(C++)
Skeletonize3D
(Java)
Graphics gems IV
(C)

(C++) * NeuronStudio


External links


Skeletonization/Medial Axis Transform



Skeletons in Digital image processing (pdf)

Comparison of 15 line thinning algorithms



Curve Skeletons

Skeletons from laser scanned point clouds (Homepage)
Image processing Digital geometry