GeodesicDilation

GeodesicDilation[marker, mask]
gives the fixed point of the geodesic dilation of the marker constrained by the mask.

Details and OptionsDetails and Options

  • GeodesicDilation works with binary, grayscale, and other images.
  • GeodesicDilation works with 3D as well as 2D images, and also with data arrays of any rank.
  • GeodesicDilation[marker, mask] effectively starts with marker then repeatedly dilates it, masking with mask until the result no longer changes. For symbolic data, the geodesic dilation is done only once.
  • GeodesicDilation[marker, mask, n] iterates the dilation process at most n times.
  • GeodesicDilation effectively performs a morphological reconstruction by dilation.
  • GeodesicDilation by default treats all pixels surrounding a given pixel as adjacent. A given pixel has eight adjacent pixels in 2D and 26 adjacent pixels in 3D.
  • The option setting CornerNeighbors->False treats only the pixels in the coordinate directions as adjacent, which would include four pixels in 2D and six pixels in 3D.
  • If multiple image channels are present, GeodesicDilation operates on each of them separately.
  • GeodesicDilation takes a Padding option that specifies the values to assume for pixels outside the image.
  • The default setting Padding->None considers smaller neighborhoods at the edges of an image.
New in 7 | Last modified in 9
New to Mathematica? Find your learning path »
Have a question? Ask support »