Thinning
Details and Options
- Thinning[image,…] yields a binary image in which pixels representing the morphological skeleton have value 1 and others have value 0.
- Thinning[image] is equivalent to Thinning[image,Infinity].
- Thinning works with binary, grayscale, and arbitrary multichannel images, as well as real matrices.
- Thinning takes a Padding option that specifies the values to assume for pixels outside the image. The default setting is Padding->0.
- Thinning supports a Method option which specifies what thinning algorithm to be used. Possible settings include:
-
"Morphological" morphological thinning (default) "MedialAxis" approximate medial axis
Examples
open all close allScope (2)
Options (3)
Method (1)
Applications (2)
Neat Examples (2)
Related Guides
History
Text
Wolfram Research (2010), Thinning, Wolfram Language function, https://reference.wolfram.com/language/ref/Thinning.html.
CMS
Wolfram Language. 2010. "Thinning." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/Thinning.html.
APA
Wolfram Language. (2010). Thinning. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Thinning.html
BibTeX
@misc{reference.wolfram_2026_thinning, author="Wolfram Research", title="{Thinning}", year="2010", howpublished="\url{https://reference.wolfram.com/language/ref/Thinning.html}", note=[Accessed: 12-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_thinning, organization={Wolfram Research}, title={Thinning}, year={2010}, url={https://reference.wolfram.com/language/ref/Thinning.html}, note=[Accessed: 12-June-2026]}