Mathematical Morphology

https://youtu.be/xO3ED27rMHs

Two basic operations:

  • Dilation

  • Erosion

Several composite relations:

  • Closing and opening

  • Thinning and thickening

Dilation

Dilation expands the connected sets of 1s of a binary image.

Can be used for:

  • growing features

  • filling holes and gaps

Erosion

Erosion shrinks the connected sets of 1s of a binary image

Can be used for:

  • shrinking features

  • removing bridges, branches, protrusions

Structuring element

A shape mask used in basic morphological ops.

  • any shape, size that is digitally representable

  • with a defined origin

    • box (length, width)

    • disk (diameter)

Last updated

Was this helpful?