SkeletonTransform[image]
gives the skeleton transform of image, in which the value of each skeleton pixel is its distance to the nearest background pixel.
SkeletonTransform[image,t]
treats values above t as foreground.


SkeletonTransform
SkeletonTransform[image]
gives the skeleton transform of image, in which the value of each skeleton pixel is its distance to the nearest background pixel.
SkeletonTransform[image,t]
treats values above t as foreground.
Details and Options

- SkeletonTransform effectively gives the medial axis of foreground objects multiplied with the distance transform.
- SkeletonTransform gives an Image object in which the value of each nonzero pixel is the absolute Euclidean distance in pixels to the nearest pixel of background.
- The inverse of SkeletonTransform can be computed using InverseDistanceTransform.
- For multichannel images, SkeletonTransform operates on the intensity averaged over all channels.
- SkeletonTransform[image] is equivalent to SkeletonTransform[image,0].
- The following options can be given:
-
Method "MedialAxis" whether to return the reduced medial axis Padding 0 padding scheme - Possible settings for the Method option are "MedialAxis" and "ReducedMedialAxis".
Examples
open all close allOptions (3)
Properties & Relations (1)
InverseDistanceTransform gives the exact inverse of SkeletonTransform:
Tech Notes
Related Guides
Text
Wolfram Research (2010), SkeletonTransform, Wolfram Language function, https://reference.wolfram.com/language/ref/SkeletonTransform.html (updated 2014).
CMS
Wolfram Language. 2010. "SkeletonTransform." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2014. https://reference.wolfram.com/language/ref/SkeletonTransform.html.
APA
Wolfram Language. (2010). SkeletonTransform. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/SkeletonTransform.html
BibTeX
@misc{reference.wolfram_2025_skeletontransform, author="Wolfram Research", title="{SkeletonTransform}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/SkeletonTransform.html}", note=[Accessed: 15-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_skeletontransform, organization={Wolfram Research}, title={SkeletonTransform}, year={2014}, url={https://reference.wolfram.com/language/ref/SkeletonTransform.html}, note=[Accessed: 15-August-2025]}