gives the skeleton transform of image, in which the value of each skeleton pixel is its distance to the nearest background pixel.


treats values above t as foreground.

Details and Options


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:

Introduced in 2010
Updated in 2014