In mathematical morphology, opening is the dilation of the erosion of a set A by a structuring element B: A ∘ B = ⊕ B, {\displaystyle A\circ B=\oplus B,\,} where ⊖ {\displaystyle \ominus } and ⊕ {\displaystyle \oplus } denote erosion and dilation, respectively.