Past researchers have proposed to learn both operators and structuring elements, e.g using the max-plus definition of dilations and erosion [1]}, [2]}. Other approaches introduce differentiable approximations of the max and min operators, such as the adaptive morphological layer [3]}, the PConv layer [4]}, and the most recent \(\mathcal {L} Morph\)  and \(\mathcal {S} Morph\)  layers [5]}. However, these methods deal with grey-scale morphology and grey-scale images.
