GeodesicErosion

GeodesicErosion[marker,mask]

gives the fixed point of the geodesic erosion of the marker constrained by the mask.

Details and Options

  • GeodesicErosion works with binary, grayscale, and multichannel images, operating on each channel separately.
  • GeodesicErosion works with 3D as well as 2D images, and also with data arrays of any rank.
  • GeodesicErosion[marker,mask] effectively starts with marker then repeatedly erodes it, masking with mask until the result no longer changes. For symbolic data, the geodesic erosion is done only once.
  • GeodesicErosion[marker,mask,n] iterates the erosion process at most n times.
  • GeodesicErosion effectively performs a morphological reconstruction by dilation.
  • The following options can be given:
  • CornerNeighborsTruewhether to include corner neighbors
    PaddingNonepadding method to use
  • The default setting Padding->None considers smaller neighborhoods at the edges of an image.

Examples

open allclose all

Basic Examples  (2)

Reconstruct the marked background objects:

Reconstruct the marked background objects in a 3D image:

Scope  (1)

Geodesic erosion of a vector:

Applications  (1)

Select the extended minimum that includes the specified point:

Properties & Relations  (1)

When computing geodesic erosion on symbolic arrays, only one iteration in performed:

Interactive Examples  (1)

Extract objects of varying sizes:

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

Text

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

BibTeX

@misc{reference.wolfram_2021_geodesicerosion, author="Wolfram Research", title="{GeodesicErosion}", year="2012", howpublished="\url{https://reference.wolfram.com/language/ref/GeodesicErosion.html}", note=[Accessed: 22-September-2021 ]}

BibLaTeX

@online{reference.wolfram_2021_geodesicerosion, organization={Wolfram Research}, title={GeodesicErosion}, year={2012}, url={https://reference.wolfram.com/language/ref/GeodesicErosion.html}, note=[Accessed: 22-September-2021 ]}

CMS

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

APA

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