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


Updated In 8 Graphic
gives the fixed point of the geodesic erosion of the image marker constrained by the image mask.
  • GeodesicErosion effectively starts with marker, then repeatedly erodes it, masking with mask, until the result no longer changes.
  • GeodesicErosion by default treats all eight pixels surrounding a given pixel as adjacent.
  • The option setting CornerNeighbors->False treats only the four pixels in the coordinate directions as adjacent.
  • If multiple image channels are present, GeodesicErosion operates on each of them separately.
  • The default setting Padding->None considers smaller neighborhoods at the edges of an image.
Reconstruct the marked background objects:
Reconstruct the marked background objects:
Click for copyable input
Select the extended minimum that includes the specified point:
Extract objects of varying sizes:
New in 7 | Last modified in 8