Lably
Skip to content

Opening (morphology)

Dilation of the erosion of a set A by a structuring element B

  • 6 min read
  • 3 chapters

Related on Lably

Through Computer vision, Digital image processing and Monotonic function

A∘B=(A⊖B)⊕B,

where ⊖ and ⊕ denote erosion and dilation, respectively.

Together with closing, the opening serves in computer vision and image processing as a basic workhorse of morphological noise removal. Opening removes small objects from the foreground (usually taken as the bright pixels) of an image, placing them in the background, while closing removes small holes in the foreground, changing small islands of background into foreground. These techniques can also be used to find specific shapes in an image. Opening can be used to find things into which a specific structuring element can fit (edges, corners, ...).

One can think of B sweeping around the inside of the boundary of A, so that it does not extend beyond the boundary, and shaping the A boundary around the boundary of the element.

Properties

  • Opening is idempotent, that is, (A∘B)∘B=A∘B.
  • Opening is increasing, that is, if A⊆C, then A∘B⊆C∘B.
  • Opening is anti-extensive, i.e., A∘B⊆A.
  • Opening is translation invariant.
  • Opening and closing satisfy the duality A∙B=(Ac∘Bs)c, where ∙ denotes closing and Bs denotes the symmetric of B, that is, Bs={x∣−x∈B}.

Sign in to keep reading

2 more chapters are free with a Lably account.

More in Robotics