Binary dilation of set
by set
(called the structuring element), denoted
, is the union of all translations of set
by elements of set
.
Interestingly, Equations (6.3.1) and (6.3.2) resemble the familiar convolution sum formulation with OR replacing addition and AND replacing multiplication. Thus the structuring element plays an analogous role in morphological signal processing to the FIR filter in LSI signal processing.
Equivalently, erosion may be defined by the following correlation-like formulation. The erosion of image A with structuring element B, denoted C=A
B, has the following matrix formulation: