Morphology Tool

This tool performs the standard grey scale morphological operations using a structuring element that you define. The basic operations are

Erosion, where the element values are added to the input image neighborhood values and the highest of the resulting sums is used as the output value.

Dilation, where the element values are subtracted from the input image and the lowest of the resulting results is used as the output value.

The figure below shows an example of a 3x3 dilation.

Example of a 3x3 dilation for a single destination pixel

The figure below shows an example of a 3x3 erosion.

Example of a 3x3 erosion for a single destination pixel

The tool also supports

  • Opening, which is an Erode followed by a Dilate
  • Closing, which is a Dilate followed by an Erode