This is documentation for Mathematica 7, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

GeodesicErosion

GeodesicErosion[marker, mask]
gives the fixed point of the geodesic erosion of the image marker constrained by the image mask.
  • GeodesicErosion[marker, mask] effectively starts with marker, then repeatedly erodes it, masking with mask, until the result no longer changes.
  • GeodesicErosion[marker, mask, n] iterates the erosion process at most n times.
  • If multiple image channels are present, GeodesicErosion operates on each of them separately.
Reconstruct the marked background objects:
Reconstruct the marked background objects:
In[1]:=
Click for copyable input
Out[1]=
Extract objects of varying sizes:
New in 7