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

Examples

open allclose all

Basic Examples  (1)

Skeleton transform of a binary image:

Scope  (2)

Skeleton transform applied to text:

Skeletons of color shapes:

Options  (3)

Method  (2)

By default the full medial axis is returned:

Compute reduced medial axis:

Reduced medial axis of color shapes:

Padding  (1)

By default, zero padding is assumed:

Specify a different padding scheme:

Applications  (1)

Simplify a shape by pruning its skeleton:

Reconstruct the simplified shape:

Properties & Relations  (1)

InverseDistanceTransform gives the exact inverse of SkeletonTransform:

Wolfram Research (2010), SkeletonTransform, Wolfram Language function, https://reference.wolfram.com/language/ref/SkeletonTransform.html (updated 2014).

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_2024_skeletontransform, author="Wolfram Research", title="{SkeletonTransform}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/SkeletonTransform.html}", note=[Accessed: 12-October-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_skeletontransform, organization={Wolfram Research}, title={SkeletonTransform}, year={2014}, url={https://reference.wolfram.com/language/ref/SkeletonTransform.html}, note=[Accessed: 12-October-2024 ]}