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 OptionsDetails and Options

New in 8
New to Mathematica? Find your learning path »
Have a question? Ask support »