A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://reference.wolfram.com/language/ref/DistanceTransform.html below:

DistanceTransform—Wolfram Language Documentation

WOLFRAM Consulting & Solutions

We deliver solutions for the AI era—combining symbolic computation, data-driven insights and deep technology expertise.

WolframConsulting.com

BUILT-IN SYMBOL

DistanceTransform[image]

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

Details and Options Examplesopen allclose all Basic Examples  (2)

Distance transform of a binary image:

Distance transform of a 3D image:

Scope  (1)

Distance transform of a color image:

Options  (2) Padding  (1)

By default, Padding->1 is assumed:

Use zero padding:

Applications  (3)

Find the radius of the thickest branch in a tree:

Apply a LoG filter to the output of a distance transform:

Ultimate erosion of a binary image:

Wolfram Research (2008), DistanceTransform, Wolfram Language function, https://reference.wolfram.com/language/ref/DistanceTransform.html (updated 2014). Text

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

CMS

Wolfram Language. 2008. "DistanceTransform." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2014. https://reference.wolfram.com/language/ref/DistanceTransform.html.

APA

Wolfram Language. (2008). DistanceTransform. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/DistanceTransform.html

BibTeX

@misc{reference.wolfram_2025_distancetransform, author="Wolfram Research", title="{DistanceTransform}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/DistanceTransform.html}", note=[Accessed: 12-July-2025 ]}

BibLaTeX

@online{reference.wolfram_2025_distancetransform, organization={Wolfram Research}, title={DistanceTransform}, year={2014}, url={https://reference.wolfram.com/language/ref/DistanceTransform.html}, note=[Accessed: 12-July-2025 ]}


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4