\( \def\Rr{{\mathbb R}} \def\Aa{{\mathbf A}} \)

Fig. 1: Application of morphological operations to an image $f$ for segment extraction: (a) Original Mondrian; (b) Dilation $F_n(f)$; (c) Adjoint erosion $F_n^*(f^c)^c$; (d) Segmentation of black skeleton from opening (f); (e) Adjoint closing $F_n^*(F_n(f)^c)^c$; (f) Opening $F_n(F_n^*(f^c)^c)$; (g) Adjoint closing applied to skeleton in (d).

1. Morphological Imaging

Pioneered by G. Matheron and J. Serra in the mid-1960s, mathematical morphology is a non-linear data processing framework that provides a collection of non-linear operations for analyzing and manipulating the shape and structure of multivariate objects such as images or videos. Originally developed for binary and grayscale images, its theoretical foundations were later on grounded in the theory of complete lattices, enabling a broad range of applications in image and data processing.

One possibility to describe the non-linear operations involved in mathematical morphology is by convolution in the max-min algebra. In this formulation, maximum and minimum operations replace addition and multiplication in the classical convolution. This description of mathematical morphology offers a notable theoretical advantage in terms of a clear interpretation of the underlying operations on the level sets of the involved functions.

2. Morphological Sampling Operators based on Max-Min Compositions

Max-min compositions are mathematical operations obtained by substituting the standard algebraic operations of addition ($+$) and multiplication ($\cdot$) with the maximum ($\vee$) and minimum ($\wedge$) of two elements. By defined convolutional-type formulas with a kernel function, these compositions can be used to manipulate general multivariate functions $f : E \subseteq \mathbb{R}^{d} \to [0,1]$ on a set $E \subseteq \mathbb{R}^d$ with values in the interval $[0,1]$. In practice, these functions are only known on a sampling grid \[ E_n := \frac{1}{n} \mathbb{Z}^d \cap E \subset E, \quad n \in \mathbb{N}, \] with grid size $1/n$. A dilation $ F_{n}(f) : E \to [0,1]$ of the function $f$ can then be defined pointwise for $\mathbf{x} = ( x_{1},x_{2},\cdots,x_{d}) \in E$ as \begin{equation} F_{n} \left( f;\mathbf{x}\right) :={\bigvee\limits_{\mathbf{m\in} \, n E_n }} f\left( \frac{\mathbf{m}}{n}\right) \wedge\frac{\Phi \left( n\mathbf{x}-\mathbf{m}\right) }{ {\displaystyle\bigvee\limits_{\mathbf{r\in} \, n E_n }} \Phi\left( n\mathbf{x}-\mathbf{r}\right) },\tag{1} \end{equation} where $\mathbf{m}=\left( m_{1},m_{2},\cdots,m_{d}\right) \in \mathbb{Z}^d$ denotes an integer vector in the scaled grid $n E_n = \mathbf{Z}^d \cap \, n E \subseteq \mathbb{Z}^{d}$ . There are several ways to define the convolutional kernel $\Phi$. A simple strategy is to use a tensor-product kernel of the form \[ \Phi \left( n\mathbf{x} - \mathbf{m}\right) :=\varphi \left( nx_{1} - m_{1}\right) \varphi\left( nx_{2} - m_{2}\right) \cdots \varphi\left( nx_{d}-m_{d}\right) \] with a univariate function $\varphi: \mathbb{R}\rightarrow\mathbb{R}$ satisfying suitable decay conditions [2].

The max-min sampling operator $F_{n}$ mapping $f$ to the function $F_n(f)$ is a non-linear operator which uses samples of $f$ on the grid $E_n$ to approximate $f$ on $E$. Due to its construction with min and max operations, this operator can be used to define (approximate) morphological operations as dilation or erosion of the function $f$. In particular, on the sampling grid $E_n$ itself the dilation $F_{n} \left( f;\mathbf{x}\right)$ corresponds to the standard max-min convolution of the samples of $f$ with a discrete window function on the grid $E_n$.

3. The adjoint max-min sampling operator

In order to define advanced morphological operations as opening and closing, a second sampling operator is required based on the adjoint $\vee^*$ of the maximum $\vee$. For this, we define the adjoint maximum of two functions $f,g: E \to [0,1]$ as \[ f(\mathbf{x}) \vee^* g(\mathbf{x}) := \begin{cases} f(\mathbf{x}) & \text{if } f(\mathbf{x}) > g(\mathbf{x}), \\ 0 & \text{if } f(\mathbf{x}) \leq g(\mathbf{x}), \end{cases} \qquad \mathbf{x} \in E. \] The fundamental link between the maximum $\vee$ and the adjoint maximum $\vee^*$ is given by the relation \[ f(\mathbf{x}) \vee^* g(\mathbf{x}) \leq h(\mathbf{x}) \quad \Leftrightarrow \quad f(\mathbf{x}) \leq g(\mathbf{x}) \vee h(\mathbf{x})\] for all functions $f,g,h : E \to [0,1]$ and $\mathbf{x} \in E$. The adjoint max-min sampling operator $F^*_n$ is then defined as \begin{equation} \tag{2} F^*_n(f;\mathbf{x}) := \bigvee_{\mathbf{m} \in n E_n} f\left( \frac{\mathbf{m}}{n} \right) \vee^* \left( 1 - \frac{\Phi( n \mathbf{x} - \mathbf{m})}{\underset{\mathbf{r} \in n E_n}{\bigvee} \Phi(n \mathbf{x} - \mathbf{r})} \right) . \end{equation} If we introduce the normalized kernel function $\widehat{\Phi}_{n}(\mathbf{x}, \mathbf{y})$ as \[ \widehat{\Phi}_{n}\left(\mathbf{x}, \mathbf{y} \right) = \frac{\Phi( n \mathbf{x} - n \mathbf{y})}{\underset{\mathbf{r} \in n E_n}{\bigvee} \Phi(n \mathbf{x} - \mathbf{r})},\] and the complement $\widehat{\Phi}_{n}^c(\mathbf{x}, \mathbf{y})$ as \[\widehat{\Phi}_{n}^c(\mathbf{x}, \mathbf{y}) = 1 - \widehat{\Phi}_{n}(\mathbf{x}, \mathbf{y}),\] the kernel in brackets in (2) can be compactly written as \[ \widehat{\Phi}_{n}^c \left(\mathbf{x}, \frac{\mathbf{m}}{n} \right) = 1 - \widehat{\Phi}_{n}\left(\mathbf{x}, \frac{\mathbf{m}}{n}\right).\] Using this more compact notation, we can rewrite the formulas in (1) and (2) as \begin{align*} F_n(f;\mathbf{x}) &= \bigvee_{\mathbf{m} \in n E_n} f\left( \frac{\mathbf{m}}{n} \right) \wedge \widehat{\Phi}_{n}\left(\mathbf{x}, \frac{\mathbf{m}}{n}\right), \qquad F^*_n(f;\mathbf{x}) = \bigvee_{\mathbf{m} \in n E_n} f\left( \frac{\mathbf{m}}{n} \right) \vee^* \widehat{\Phi}_{n}^c \left(\mathbf{x}, \frac{\mathbf{m}}{n}\right). \end{align*}

4. Max-Min Morphology written in terms of the operators $F_n$ and $F_n^*$

With the sampling operators $F_n$ and $F^*_n$ at disposition, we can define sampling variants of the four basic max-min convolutions used in mathematical morphology.

Definition 1. The dilation and adjoint dilation of a function $f: E \to [0,1]$ with respect to the sampling grid $E_n$ and the kernel $\widehat{\Phi}_n$ are defined as \begin{align*} f \, \nabla \, \widehat{\Phi}_n(\mathbf{x}) &:= F_n(f;\mathbf{x}) \quad \text{(dilation)}, \\ f \, \nabla^* \, \widehat{\Phi}_n(\mathbf{x}) &:= F^*_n(f;\mathbf{x}) \quad \text{(adjoint dilation)}. \end{align*} The erosion and adjoint erosion w.r.t. $E_n$ and the kernel $\widehat{\Phi}_n$ are defined as \begin{align*} f \, \triangle \, \widehat{\Phi}_n(\mathbf{x}) & := F_n(f^c, \mathbf{x})^c = (f^c \, \nabla \, \widehat{\Phi}_n)^c (\mathbf{x}) \quad \text{(erosion)}, \\ f \, \triangle^* \, \widehat{\Phi}_n(\mathbf{x}) & := F_n^*(f^c, \mathbf{x})^c = (f^c \, \nabla^* \, \widehat{\Phi}_n)^c (\mathbf{x}) \quad \text{(adjoint erosion)}, \end{align*} where $f^c = 1 - f$ denotes the complement of the function $f$ in $[0,1]$.

Definition 2. By concatenating dilation and erosion in Definition 1, we can define two closing and two opening operations in the following way: \begin{align*} (f \, \nabla^* \, \widehat{\Phi}_n) \, \triangle \, \widehat{\Phi}_n(\mathbf{x}) &= F_n\left( F^*_n(f)^c; \mathbf{x} \right)^c \quad \text{(closing)}, \\ (f \, \nabla \, \widehat{\Phi}_n) \, \triangle^* \, \widehat{\Phi}_n(\mathbf{x}) &= F_n^*\left( F_n(f)^c; \mathbf{x} \right)^c \quad \text{(adjoint closing)}, \end{align*} and \begin{align*} (f \, \triangle^*\, \widehat{\Phi}_n) \, \nabla \, \widehat{\Phi}_n(\mathbf{x}) &= F_n\left( F_n^*( f^c)^c; \mathbf{x} \right) \quad \text{(opening)},\\ (f \, \triangle\, \widehat{\Phi}_n) \, \nabla^* \, \widehat{\Phi}_n(\mathbf{x}) &= F_n^*\left( F_n( f^c)^c; \mathbf{x} \right) \quad \text{(adjoint opening)}.\\ \end{align*}


Main publications

  • Aslan, I., De Marchi, S. and Erb, W. $L^p$-convergence of Kantorovich-type Max-Min Neural Network Operators. Numer. Funct. Anal. Optim., accepted for publication (2026) (Preprint)
  • Aslan, I. and Erb, W. Multivariate Max-Min Sampling Operators in Mathematical Morphology. SIAM J. Imaging Sciences 19:4 (2026), 2282-2305

Funding

  1. The Scentific and Technological Research Council of Türkiye (TÜBITAK 1001, Grant No: 124F356)
  2. European Union - NextGenerationEU under the National Recovery and Resilience Plan (NRRP), Mission 4 Component 2 Investment 1.1 - Call PRIN 2022 No. 104 of February 2, 2022 of Italian Ministry of University and Research; Project 2022FHCNY3 (subject area: PE - Physical Sciences and Engineering) Computational mEthods for Medical Imaging (CEMI)
  3. GNCS-IN$\delta$AM