This paper was converted on www.awesomepapers.org from LaTeX by an anonymous user.
Want to know more? Visit the Converter page.

11institutetext: Mathematical Sciences Institute and IRL FAMSI, The Australian National University, Canberra, Australia 11email: diego.marcondes@anu.edu.au

On the representation of stack operators by mathematical morphology

Diego Marcondes 0000-0002-6087-4821
Abstract

This paper introduces the class of grey-scale image stack operators as those that (a) map binary-images into binary-images and (b) commute in average with cross-sectioning. We show that stack operators are 1-Lipchitz extensions of set operators which can be represented by applying a characteristic set operator to the cross-sections of the image and summing. In particular, they are a generalisation of stack filters, for which the characteristic set operators are increasing. Our main result is that stack operators inherit lattice properties of the characteristic set operators. We focus on the case of translation-invariant and locally defined stack operators and show the main result by deducing the characteristic function, kernel, and basis representation of stack operators. The results of this paper have implications on the design of image operators, since imply that to solve some grey-scale image processing problems it is enough to design an operator for performing the desired transformation on binary images, and then considering its extension given by a stack operator. We leave many topics for future research regarding the machine learning of stack operators and the characterisation of the image processing problems that can be solved by them.

Keywords:
image processing mathematical morphology stack filters.

1 Introduction

Stack filters, proposed by [13] in the 80’s, is a classical family of filters for signal and image processing. Frameworks for learning stack filters from data have been extensively studied [3, 4, 6] and many algorithms to design stack filters have been proposed [5, 14]. In the context of mathematical morphology, properties of stack filters have been deduced in two important works by Maragos and Schafer [7, 8].

It is well-known that an operator ψ\psi acting on functions f:E{0,,m}f:E\mapsto\{0,\dots,m\} (i.e., grey-scale images), for a set EE and m+m\in\mathbb{Z}_{+}, is a stack filter if, and only if, there exists an increasing set operator ψ~\tilde{\psi}, that acts on functions X:E{0,1}X:E\mapsto\{0,1\} (i.e., binary images), such that

ψ(f)=t=1mψ~(Tt[f])\displaystyle\psi(f)=\sum_{t=1}^{m}\tilde{\psi}(T_{t}[f]) (1)

for all f{0,,m}Ef\in\{0,\dots,m\}^{E}, in which TtT_{t} is the cross-section of ff at point tt. We refer to [7, 8] for a proof of this fact. In this paper, we study the class of stack operators that are the operators ψ\psi that satisfy (1) for a not necessarily increasing set operator ψ~\tilde{\psi}.

We define the stack operators as those that (a) map binary functions into binary functions and (b) such that ψ(f)\psi(f) equals the mean of ψ(mTt[f])\psi(mT_{t}[f]) over t=1,,mt=1,\dots,m, and then show that these operators can be written as (1). In particular, we show that stack operators are an extension of set operators (i.e, binary image operators) to function operators (i.e., grey-scale image operators). Our main result is that the stack operator ψ\psi inherits many properties of the respective set operator ψ~\tilde{\psi}, such as being an erosion, a dilation, an anti-erosion, an anti-dilation, increasing, decreasing, extensive, anti-extensive, sup-generating and inf-generating. For simplicity, we focus on the case of translation-invariant and locally defined stack operators and show the main result by deducing the characteristic function, kernel and basis representation of stack operators.

The results of this paper have implications on the design of image operators, since allow to solve grey-scale image processing tasks by designing an operator for performing the desired transformation on binary images and then considering its extension given by a stack operator. We also discuss how the results can be leveraged to develop learning methods for grey-scale image processing based on deep neural networks and discrete morphological neural networks [9].

In Section 2, we define the concepts necessary to introduce the stack operators in Section 3, where we show that the space of stack operators is isomorphic to the space of set operators, and that stack operators are 1-Lipschitz extensions of set operators. In Section 4, we show that the stack filters are the increasing stack operators. In Section 5, we establish the characteristic function, kernel and basis representation of stack W-operators. In Section 6, we state and prove the main result of this paper establishing that stack W-operators inherit lattice properties of the associated set operator, and we discuss the implications of our results to the design of image operators. In Section 7, we give our final remarks. Proofs for the main results are presented in the Appendix 0.A.

2 Grey-scale images and set operators

Let EE be a countable set, (E,+)(E,+) be an Abelian group, with zero element oEo\in E, and M={0,,m}M=\{0,\dots,m\} for a positive integer mm fixed. A function f:EMf:E\mapsto M is a grey-scale image, in which f(x)f(x) represents the intensity of the pixel xEx\in E. In particular, a grey-scale binary image is such that f(x){0,m}f(x)\in\{0,m\} for all xEx\in E. The set MEM^{E} of all such images is equipped with a partial order satisfying f,gME,fgf(x)g(x),xEf,g\in M^{E},f\leq g\iff f(x)\leq g(x),\forall x\in E. The image threshold at level tt is a mapping Tt:ME{0,1}ET_{t}:M^{E}\mapsto\{0,1\}^{E} given by, for any fME,tMf\in M^{E},t\in M and xEx\in E, Tt[f](x)=𝟙{f(x)t}T_{t}[f](x)=\mathds{1}\{f(x)\geq t\}. The binary function Tt[f]T_{t}[f] is called the cross-section of ff at level tt. The collection {Tt:tM}\{T_{t}:t\in M\} has some simple, yet important, properties, that we state without proof as a proposition.

Proposition 1

The collection of image threshold mappings {Tt:tM}\{T_{t}:t\in M\} satisfies

  1. (i) For all fMEf\in M^{E} and xEx\in E, f(x)=t=1mTt[f](x)f(x)=\sum_{t=1}^{m}T_{t}[f](x).

  2. (ii) Let t1,t2Mt_{1},t_{2}\in M and fMEf\in M^{E}. If t1t2t_{1}\leq t_{2}, then Tt2[f]Tt1[f]T_{t_{2}}[f]\leq T_{t_{1}}[f].

  3. (iii) For f,gMEf,g\in M^{E}, fgTt[f]Tt[g]f\leq g\iff T_{t}[f]\leq T_{t}[g] for all tMt\in M.

An image operator is a mapping ψ:MEME\psi:M^{E}\mapsto M^{E} and the set of all such operators, denoted by ΨM\Psi_{M}, is equipped with a partial order satisfying ψ1,ψ2ΨM,ψ1ψ2ψ1(f)ψ2(f),fME\psi_{1},\psi_{2}\in\Psi_{M},\psi_{1}\leq\psi_{2}\iff\psi_{1}(f)\leq\psi_{2}(f),\forall f\in M^{E}. The poset (ΨM,)(\Psi_{M},\leq) is a complete lattice.

A binary image can be represented as a function X:E{0,1}X:E\mapsto\{0,1\} in which X(x)=1X(x)=1 if, and only if, xEx\in E is a pixel in the image foreground. The set {0,1}E\{0,1\}^{E} of all binary images equipped with the partial order satisfying X,Y{0,1}E,XYX(x)Y(x),xEX,Y\in\{0,1\}^{E},X\leq Y\iff X(x)\leq Y(x),\forall x\in E, is a complete lattice. Mappings from {0,1}E\{0,1\}^{E} into itself are called set operators, a nomenclature inspired by the fact that {0,1}E\{0,1\}^{E} is isomorphic to the power-set of EE. We denote the space of all set operators by Ψ\Psi and equip it with the point-wise partial order ψ~1,ψ~2Ψ,ψ~1ψ~2ψ~1(X)ψ~2(X),X{0,1}E\tilde{\psi}_{1},\tilde{\psi}_{2}\in\Psi,\tilde{\psi}_{1}\leq\tilde{\psi}_{2}\iff\tilde{\psi}_{1}(X)\leq\tilde{\psi}_{2}(X),\forall X\in\{0,1\}^{E}. An image operator is an extension of a set operator if they coincide on binary images.

Definition 1

An operator ψΨM\psi\in\Psi_{M} is an extension of ψ~Ψ\tilde{\psi}\in\Psi if m1ψ(mX)=ψ~(X)m^{-1}\psi(mX)=\tilde{\psi}(X) for all X{0,1}EX\in\{0,1\}^{E}. In particular, an image operator that is the extension of a set operator maps grey-scale binary images into grey-scale binary images.

For each hEh\in E, denote by τh:EE\tau_{h}:E\mapsto E the translation by hh function that maps xx+hx\mapsto x+h. An operator ψΨM\psi\in\Psi_{M}, and a set operator ψ~Ψ\tilde{\psi}\in\Psi, are translation-invariant if they commute with translation, that is, ψ(fτh)=ψ(f)τh\psi(f\circ\tau_{h})=\psi(f)\circ\tau_{h} and ψ~(Xτh)=ψ~(X)τh\tilde{\psi}(X\circ\tau_{h})=\tilde{\psi}(X)\circ\tau_{h} for all fMEf\in M^{E}, X{0,1}EX\in\{0,1\}^{E} and hEh\in E.

For W{0,1}EW\in\{0,1\}^{E}, denote by X|WX|_{W} and f|Wf|_{W} the restriction of X{0,1}EX\in\{0,1\}^{E} and fMEf\in M^{E} to the set χ(W){xE:W(x)=1}\chi(W)\coloneqq\{x\in E:W(x)=1\}. An operator ψΨM\psi\in\Psi_{M}, and a set operator ψ~Ψ\tilde{\psi}\in\Psi, are locally defined within WW if ψ(f)(x)=ψ(f|Wτx)(x)\psi(f)(x)=\psi(f|_{W\circ\tau_{-x}})(x) and ψ~(X)(x)=ψ~(X|Wτx)(x)\tilde{\psi}(X)(x)=\tilde{\psi}(X|_{W\circ\tau_{-x}})(x) for all fMEf\in M^{E}, X{0,1}EX\in\{0,1\}^{E} and xEx\in E. The locally defined condition implies, for example, that the value of the transformed image ψ(f)\psi(f) at point xx depends only on the value of ff in the neighbourhood χ(Wτx)={hE:W(hx)=1}\chi(W\circ\tau_{-x})=\{h\in E:W(h-x)=1\} of xx. Operators that are translation-invariant and locally defined are called W-operators. The collections of image and set W-operators are denoted by ΨMWΨM\Psi_{M}^{W}\subseteq\Psi_{M} and ΨWΨ\Psi^{W}\subseteq\Psi, respectively.

3 Stack operators

In this paper, we study the collection of stack image operators, defined as follows, and denoted by ΣSΨM\Sigma_{S}\subseteq\Psi_{M}.

Definition 2

An image operator ψΨM\psi\in\Psi_{M} is a stack operator if, and only if,

  • (a) For all xEx\in E and X{0,1}EX\in\{0,1\}^{E}, ψ(mX)(x){0,m}\psi(mX)(x)\in\{0,m\}.

  • (b) For all fMEf\in M^{E}

ψ(f)=1mt=1mψ(mTt[f]).\psi(f)=\frac{1}{m}\sum_{t=1}^{m}\psi(mT_{t}[f]). (2)

Condition (a) of Definition 2 implies that stack operators take grey-scale binary images mX{0,m}EmX\in\{0,m\}^{E} into grey-scale binary images. It follows from this condition that m1ψ(mTt[f]){0,1}Em^{-1}\psi(mT_{t}[f])\in\{0,1\}^{E} and therefore the right-hand side of (2) is an element of MEM^{E}. Condition (b) then implies that ψ(f)\psi(f) is the average of the transformation by ψ\psi of the cross-sections of ff represented as grey-scale binary images. Stack operators have an associated set operator ψ~:{0,1}E{0,1}E\tilde{\psi}:\{0,1\}^{E}\mapsto\{0,1\}^{E} and the collection Ψ\Psi of set operators is lattice isomorphic to the collection of stack image operators ΣS\Sigma_{S}. In particular, (ΣS,)(\Sigma_{S},\leq) is a complete lattice. We state without proof this result that is a direct consequence of the definitions of the isomorphisms \mathcal{F} and 1\mathcal{F}^{-1}.

Proposition 2

The poset (ΣS,)(\Sigma_{S},\leq) is lattice isomorphic to (Ψ,)(\Psi,\leq) with isomorphism :ΨΣS\mathcal{F}:\Psi\mapsto\Sigma_{S} given by (ψ~)(f)=t=1mψ~(Tt[f])\mathcal{F}(\tilde{\psi})(f)=\sum_{t=1}^{m}\tilde{\psi}(T_{t}[f]) and 1(ψ)(X)=m1ψ(mX)\mathcal{F}^{-1}(\psi)(X)=m^{-1}\psi(mX) for ψ~Ψ\tilde{\psi}\in\Psi, ψΣS\psi\in\Sigma_{S}, fMEf\in M^{E} and X{0,1}EX\in\{0,1\}^{E}.

We call 1(ψ)\mathcal{F}^{-1}(\psi) the characteristic set operator of ψΣS\psi\in\Sigma_{S}. It follows from Proposition 2 that m1ψ(mX)=1(ψ)(X)m^{-1}\psi(mX)=\mathcal{F}^{-1}(\psi)(X) and therefore ψ\psi is an extension of its characteristic set operator (ref. Definition 1). Moreover, this extension is 1-Lipschitz considering the L1L^{1}-norm in the domain of ψ\psi and the LL^{\infty}-norm in its image, that is:

ψ(f)ψ(g)fg1,\displaystyle\lVert\psi(f)-\psi(g)\rVert_{\infty}\leq\lVert f-g\rVert_{1}, ψΣS,f,gME.\displaystyle\psi\in\Sigma_{S},f,g\in M^{E}. (3)

In particular, stack operators are (L1,L)(L^{1},L^{\infty})-continuous. A proof for the next corollary is in Appendix 0.A.

Corollary 1

A stack operator ψΣS\psi\in\Sigma_{S} is a 1-Lipschitz extension of its characteristic set operator 1(ψ)\mathcal{F}^{-1}(\psi).

Remark 1

The inequality (3) is tight since, for example, equality is attained when ψ\psi is the identity operator and g=f+s𝟙{x}g=f+s\mathds{1}_{\{x\}} for s{1,,m}s\in\{1,\dots,m\} and xEx\in E fixed.

An important class of stack operators is that of the stack W-operators, denoted by ΣSW=ΨMWΣS\Sigma_{S}^{W}=\Psi_{M}^{W}\cap\Sigma_{S}. The isomorphism \mathcal{F} preserves the W-operator properties, hence maps set W-operators to stack W-operators. We state without proof this result that is a direct consequence of the definitions of \mathcal{F} and 1\mathcal{F}^{-1}.

Proposition 3

An operator ψΣS\psi\in\Sigma_{S} is a W-operator if, and only if, 1(ψ)\mathcal{F}^{-1}(\psi) is a W-operator.

In Figure 1 we present two simple examples of stack operators: for boundary recognition and noise filtering. In these cases we can clearly see that the stack operators extend to grey-scale images the transformation performed on set operators. In the example of boundary recognition, the operator is not increasing, therefore is not a stack filter.

Refer to caption
Figure 1: (a) Binary and grey-scale input images. (b) Binary and grey-scale input images with 2.5% salt and pepper noise. (c) Boundary recognition of (a) by the set, and associated stack, operator with 3 x 3 window and characteristic function ϕ~\tilde{\phi} with ϕ~(x)=0\tilde{\phi}(x)=0 if, and only if, x=𝟎x=\boldsymbol{0} or x=𝟏x=\boldsymbol{1}. (d) Noise filtering of (b) by an alternating sequential set, and associated stack, filter with 3 x 3 structuring element. (e) Result obtained by composing to (b) the operators in (c) and (d). All images are 256 x 256 pixels and m=255m=255.

4 Stack filters

The stack filters are operators ψ\psi that commute with threshold in the following sense:

Tt[ψ(f)]=m1ψ(mTt[f])\displaystyle T_{t}[\psi(f)]=m^{-1}\psi(mT_{t}[f]) (4)

for all t1t\geq 1 and fMEf\in M^{E}. Equivalently, it follows from the definition of 1\mathcal{F}^{-1} that a stack operator ψ\psi with characteristic set operator ψ~\tilde{\psi} is a stack filter if, and only if, Tt[ψ(f)]=ψ~(Tt[f])T_{t}[\psi(f)]=\tilde{\psi}(T_{t}[f]) for all t1t\geq 1 and fMEf\in M^{E}. A stack filter is a stack operator since it follows from (4) that ψ(mX)(x)=mT1[ψ(X)](x){0,m}\psi(mX)(x)=mT_{1}[\psi(X)](x)\in\{0,m\} for all xEx\in E and X{0,1}EX\in\{0,1\}^{E} and that ψ(f)=t=1mTt[ψ(f)]=1mt=1mψ(mTt[f])\psi(f)=\sum_{t=1}^{m}T_{t}[\psi(f)]=\frac{1}{m}\sum_{t=1}^{m}\psi(mT_{t}[f]) in which the first equality follows from Proposition 1 (i) and the second from (4). The singularity of stack filters is that they satisfy (4) for all t1t\geq 1 while general stack operators satisfy (4) summing over tt (cf. (2)). Actually, the stack filters are the stack operators with increasing characteristic set operator. It follows from Proposition 4 that the definition of stack filters by equation (4) is equivalent to the classical definition of stack filters [7]. The proof of this proposition is analogous to that of [7, Theorem 3].

Proposition 4

An operator ψΣS\psi\in\Sigma_{S} is a stack filter if, and only if, 1(ψ)\mathcal{F}^{-1}(\psi) is increasing.

5 Representation of stack W-operators

The representation of set and lattice operators by mathematical morphology is a classical research topic, and results about the representation of increasing set operators [7], translation-invariant set operators [1], and general lattice operators [2] have been established. In this section we deduce the representation of stack W-operators by a characteristic function, a kernel and a basis, and establish isomorphisms with the respective representation of the associated set W-operator, that are illustrated in Figure 2.

ΨW\Psi^{W}ΦW\Phi^{W}κW\kappa^{W}ΠW\Pi^{W}ΣSW\Sigma_{S}^{W}ΦSW\Phi_{S}^{W}κSW\kappa^{W}_{S}(ΠSW)M(\Pi^{W}_{S})^{M}𝒞\mathcal{C}𝒞1\mathcal{C}^{-1}𝒦\mathcal{K}𝒦1\mathcal{K}^{-1}\mathcal{B}1\mathcal{B}^{-1}𝒞S\mathcal{C}_{S}𝒞S1\mathcal{C}_{S}^{-1}𝒦S\mathcal{K}_{S}𝒦S1\mathcal{K}_{S}^{-1}S\mathcal{B}_{S}S1\mathcal{B}^{-1}_{S}\mathcal{F}1\mathcal{F}^{-1}𝒢\mathcal{G}𝒢1\mathcal{G}^{-1}\mathcal{H}1\mathcal{H}^{-1}\mathcal{I}1\mathcal{I}^{-1}
Figure 2: Lattice isomorphisms between the representations of set (first row) and stack (second row) W-operators. The dashed lines refer to the isomorphisms that associate the representation of set operators with that of stack operators.

5.1 Representation by characteristic function

Define 𝒫(W){0,1}χ(W)\mathcal{P}(W)\coloneqq\{0,1\}^{\chi(W)} and 𝒫M(W)Mχ(W)\mathcal{P}_{M}(W)\coloneqq M^{\chi(W)}. For each ψ~ΨW\tilde{\psi}\in\Psi^{W} and ψΣSW\psi\in\Sigma_{S}^{W}, define the characteristic functions ϕψ:𝒫M(W)M\phi_{\psi}:\mathcal{P}_{M}(W)\mapsto M and ϕ~ψ~:𝒫(W){0,1}\tilde{\phi}_{\tilde{\psi}}:\mathcal{P}(W)\mapsto\{0,1\} as ϕψ(f)=ψ(f)(o)\phi_{\psi}(f)=\psi(f)(o) and ϕ~ψ~(X)=ψ~(X)(o)\tilde{\phi}_{\tilde{\psi}}(X)=\tilde{\psi}(X)(o) for f𝒫M(W)f\in\mathcal{P}_{M}(W) and X𝒫(W)X\in\mathcal{P}(W), recalling that oo is the zero element of (E,+)(E,+). Define ΦSW{ϕψ:ψΣSW}M𝒫M(W)\Phi_{S}^{W}\coloneqq\{\phi_{\psi}:\psi\in\Sigma_{S}^{W}\}\subsetneq M^{\mathcal{P}_{M}(W)} and ΦW{0,1}𝒫(W)\Phi^{W}\coloneqq\{0,1\}^{\mathcal{P}(W)} as the space of characteristic functions of stack and set W-operators, respectively, and consider in them the point-wise partial orders:

ϕ1,ϕ2ΦSW,ϕ1ϕ2ϕ1(f)ϕ2(f),f𝒫M(W),\displaystyle\phi_{1},\phi_{2}\in\Phi_{S}^{W},\phi_{1}\leq\phi_{2}\iff\phi_{1}(f)\leq\phi_{2}(f),\ \forall f\in\mathcal{P}_{M}(W),
ϕ~1,ϕ~2ΦW,ϕ~1ϕ~2ϕ~1(X)ϕ~2(X),X𝒫(W).\displaystyle\tilde{\phi}_{1},\tilde{\phi}_{2}\in\Phi^{W},\tilde{\phi}_{1}\leq\tilde{\phi}_{2}\iff\tilde{\phi}_{1}(X)\leq\tilde{\phi}_{2}(X),\ \forall X\in\mathcal{P}(W).

The transformations 𝒞:ΨWΦW\mathcal{C}:\Psi^{W}\mapsto\Phi^{W} and 𝒞S:ΣSWΦSW\mathcal{C}_{S}:\Sigma_{S}^{W}\mapsto\Phi_{S}^{W}, that map stack and set W-operators into their characteristic functions as

𝒞(ψ~)(X)=ψ~(X)(o),X𝒫(W),ψ~ΦW,\displaystyle\mathcal{C}(\tilde{\psi})(X)=\tilde{\psi}(X)(o),\ X\in\mathcal{P}(W),\tilde{\psi}\in\Phi^{W},
𝒞S(ψ)(f)=ψ(f)(o),f𝒫M(W),ψΣSW,\displaystyle\mathcal{C}_{S}(\psi)(f)=\psi(f)(o),\ f\in\mathcal{P}_{M}(W),\psi\in\Sigma_{S}^{W},

respectively, are lattice isomorphisms. The inverse of these mappings are

𝒞1(ϕ~)(X)(x)=ϕ~(X|Wτxτx) and 𝒞S1(ϕ)(f)(x)=ϕ(f|Wτxτx).\mathcal{C}^{-1}(\tilde{\phi})(X)(x)=\tilde{\phi}(X|_{W\circ\tau_{-x}}\circ\tau_{x})\text{ and }\mathcal{C}_{S}^{-1}(\phi)(f)(x)=\phi(f|_{W\circ\tau_{-x}}\circ\tau_{x}).

We state this result as a proposition whose proof is a direct consequence of the definition of the isomorphisms and the properties of W-operators.

Proposition 5

The mappings 𝒞\mathcal{C} and 𝒞S\mathcal{C}_{S} are lattice isomorphisms between (ΨW,)(\Psi^{W},\leq) and (ΦW,)(\Phi^{W},\leq), and (ΣSW,)(\Sigma_{S}^{W},\leq) and (ΦSW,)(\Phi_{S}^{W},\leq), respectively.

It follows from Propositions 2 and 5 that there exists a lattice isomorphism 𝒢:ΦWΦSW\mathcal{G}:\Phi^{W}\mapsto\Phi_{S}^{W} given, for example, by 𝒢=𝒞S𝒞1\mathcal{G}=\mathcal{C}_{S}\circ\mathcal{F}\circ\mathcal{C}^{-1}. Next lemma gives explicit formulas for 𝒢\mathcal{G} and 𝒢1\mathcal{G}^{-1} that can be obtained by explicitly computing 𝒞S𝒞1\mathcal{C}_{S}\circ\mathcal{F}\circ\mathcal{C}^{-1} and its inverse.

Lemma 1

For ϕ~ΦW\tilde{\phi}\in\Phi^{W} and f𝒫M(W)f\in\mathcal{P}_{M}(W), it holds 𝒢(ϕ~)(f)=t=1mϕ~(Tt[f])\mathcal{G}(\tilde{\phi})(f)=\sum_{t=1}^{m}\tilde{\phi}(T_{t}[f]) and, for ϕΦSW\phi\in\Phi^{W}_{S} and X𝒫(W)X\in\mathcal{P}(W), it holds 𝒢1(ϕ)(X)=m1ϕ(mX)\mathcal{G}^{-1}(\phi)(X)=m^{-1}\phi(mX).

It follows from Lemma 1 that, as stack operators can be expressed by applying a set operator to the cross-sections of an image and adding, their characteristic function can be represented by applying the characteristic function of the associated characteristic set operator to the cross-section of “images” in χ(W)\chi(W) and adding. Furthermore, lattice isomorphism 𝒢\mathcal{G} implies an equivalency between the collection of stack W-operators and the functions from 𝒫(W)\mathcal{P}(W) to {0,1}\{0,1\}. In particular, it establishes the known (see [6]) equivalency between the translation-invariant and locally defined stack filters and the collection of positive (i.e., increasing) functions from 𝒫(W)\mathcal{P}(W) to {0,1}\{0,1\}.

5.2 Kernel representation

Define as κW𝒫(𝒫(W))\kappa^{W}\coloneqq\mathcal{P}(\mathcal{P}(W)) the collection of subsets of 𝒫(W)\mathcal{P}(W) and κMW𝒫(𝒫M(W))M\kappa_{M}^{W}\coloneqq\mathcal{P}(\mathcal{P}_{M}(W))^{M} as the collection of set-valued functions from MM to the collection 𝒫(𝒫M(W))\mathcal{P}(\mathcal{P}_{M}(W)) of subsets of 𝒫M(W)\mathcal{P}_{M}(W). These sets are equipped with the partial orders 𝒳1,𝒳2κW,𝒳1𝒳2𝒳1𝒳2\mathscr{X}_{1},\mathscr{X}_{2}\in\kappa^{W},\mathscr{X}_{1}\leq\mathscr{X}_{2}\iff\mathscr{X}_{1}\subseteq\mathscr{X}_{2} and 1,2κSW,121(t)2(t),tM\mathscr{F}_{1},\mathscr{F}_{2}\in\kappa^{W}_{S},\mathscr{F}_{1}\leq\mathscr{F}_{2}\iff\mathscr{F}_{1}(t)\subseteq\mathscr{F}_{2}(t),\ \forall t\in M. There exist lattice isomorphisms between ΦW\Phi^{W} and κW\kappa^{W}, and ΦSW\Phi_{S}^{W} and a subset of κSW\kappa_{S}^{W}, that map each characteristic function to its kernel representation. Formally, these are mappings 𝒦:ΦWκW\mathcal{K}:\Phi^{W}\mapsto\kappa^{W} and 𝒦S:ΦSWκSW\mathcal{K}_{S}:\Phi_{S}^{W}\mapsto\kappa_{S}^{W} satisfying

𝒦(ϕ~)={X𝒫(W):ϕ~(X)=1}\displaystyle\mathcal{K}(\tilde{\phi})=\{X\in\mathcal{P}(W):\tilde{\phi}(X)=1\} and 𝒦S(ϕ)(t)={f𝒫M(W):tϕ(f)}\displaystyle\mathcal{K}_{S}(\phi)(t)=\{f\in\mathcal{P}_{M}(W):t\leq\phi(f)\}

for ϕ~ΦW,ϕΦSW\tilde{\phi}\in\Phi^{W},\phi\in\Phi_{S}^{W} and tMt\in M, in which κSW{𝒦S(ϕ):ϕΦSW}κMW\kappa_{S}^{W}\coloneqq\{\mathcal{K}_{S}(\phi):\phi\in\Phi_{S}^{W}\}\subsetneq\kappa_{M}^{W}. The next proposition, that is direct from the definition of 𝒦\mathcal{K} and 𝒦S\mathcal{K}_{S}, shows that these are indeed lattice isomorphisms. The inverse of these mappings are 𝒦1(𝒳)(X)=𝟙{X𝒳}\mathcal{K}^{-1}(\mathscr{X})(X)=\mathds{1}\{X\in\mathscr{X}\} and 𝒦S1()(f)=max{tM:f(t)}\mathcal{K}_{S}^{-1}(\mathscr{F})(f)=\max\{t\in M:f\in\mathscr{F}(t)\}.

Proposition 6

The mappings 𝒦\mathcal{K} and 𝒦S\mathcal{K}_{S} are lattice isomorphisms between, respectively, (ΦW,)(\Phi^{W},\leq) and (κW,)(\kappa^{W},\leq), and (ΦSW,)(\Phi_{S}^{W},\leq) and (κSW,)(\kappa_{S}^{W},\leq).

It follows from Lemma 1 and Proposition 6 that there exists a lattice isomorphism :κWκSW\mathcal{H}:\kappa^{W}\mapsto\kappa_{S}^{W}, for which we give an explicit expression in the next lemma that is proved in the Appendix 0.A.

Lemma 2

The mapping :κWκSW\mathcal{H}:\kappa^{W}\mapsto\kappa_{S}^{W} given by

(𝒳)(t)={s=1mXs:Xs𝒫(W),XmX1,s=1m𝟙{Xs𝒳}t}\displaystyle\mathcal{H}(\mathscr{X})(t)=\left\{\sum_{s=1}^{m}X_{s}:X_{s}\in\mathcal{P}(W),X_{m}\leq\cdots\leq X_{1},\sum_{s=1}^{m}\mathds{1}\{X_{s}\in\mathscr{X}\}\geq t\right\}

for 𝒳κW\mathscr{X}\in\kappa^{W} and tMt\in M is a lattice isomorphism between (κW,)(\kappa^{W},\leq) and (κSW,)(\kappa_{S}^{W},\leq) with inverse mapping 1()={X𝒫(W):mX(m)}\mathcal{H}^{-1}(\mathscr{F})=\left\{X\in\mathcal{P}(W):mX\in\mathscr{F}(m)\right\} for κSW\mathscr{F}\in\kappa_{S}^{W}.

5.3 Basis representation

For f1,f2𝒫M(W)f_{1},f_{2}\in\mathcal{P}_{M}(W) and X1,X2𝒫(W)X_{1},X_{2}\in\mathcal{P}(W), the intervals with limits f1,f2f_{1},f_{2} and X1,X2X_{1},X_{2} are the sets [f1,f2]={f𝒫M(W):f1ff2}[f_{1},f_{2}]=\{f\in\mathcal{P}_{M}(W):f_{1}\leq f\leq f_{2}\} and [X1,X2]={X𝒫(W):X1XX2}[X_{1},X_{2}]=\{X\in\mathcal{P}(W):X_{1}\leq X\leq X_{2}\}, respectively, which are empty if f1f2f_{1}\nleq f_{2} or X1X2X_{1}\nleq X_{2}. For collections 𝒳𝒫(𝒫(W))\mathscr{X}\in\mathcal{P}(\mathcal{P}(W)) and 𝒢𝒫(𝒫M(W))\mathscr{G}\in\mathcal{P}(\mathcal{P}_{M}(W)), define the respective maximal collection as formed by the elements in it that are not lesser than any other one: Max(𝒳)={X𝒳:Y𝒳,XYX=Y}\textbf{\text{Max}}(\mathscr{X})=\{X\in\mathscr{X}:Y\in\mathscr{X},X\leq Y\implies X=Y\} and Max(𝒢)={f𝒢:g𝒢,fgf=g}\textbf{\text{Max}}(\mathscr{G})=\{f\in\mathscr{G}:g\in\mathscr{G},f\leq g\implies f=g\}.

Sets and stack W-operators can be uniquely represented by the maximal intervals contained in their kernel. Formally, define by ΠW𝒫(𝒫(W))\Pi^{W}\subseteq\mathcal{P}(\mathcal{P}(W)) the family of collections of maximal intervals in 𝒫(W)\mathcal{P}(W) and by ΠSW𝒫(𝒫M(W))\Pi_{S}^{W}\subseteq\mathcal{P}(\mathcal{P}_{M}(W)) the family of collections of maximal intervals in 𝒫M(W)\mathcal{P}_{M}(W). Consider in these collections the partial orders

I1,I2ΠW,I1I2[X1,X2]I1,[Y1,Y2]I2 s.t. [X1,X2][Y1,Y2]\displaystyle I_{1},I_{2}\in\Pi^{W},I_{1}\leq I_{2}\iff\forall[X_{1},X_{2}]\in I_{1},\exists[Y_{1},Y_{2}]\in I_{2}\text{ s.t. }[X_{1},X_{2}]\subseteq[Y_{1},Y_{2}]
1,2ΠSW,12[f1,f2]1,[g1,g2]2 s.t. [f1,f2][g1,g2].\displaystyle\mathscr{I}_{1},\mathscr{I}_{2}\in\Pi^{W}_{S},\mathscr{I}_{1}\leq\mathscr{I}_{2}\iff\forall[f_{1},f_{2}]\in\mathscr{I}_{1},\exists[g_{1},g_{2}]\in\mathscr{I}_{2}\text{ s.t. }[f_{1},f_{2}]\subseteq[g_{1},g_{2}].

The mappings :κWΠW\mathcal{B}:\kappa^{W}\mapsto\Pi^{W} and S:κSW(ΠSW)M\mathcal{B}_{S}:\kappa^{W}_{S}\mapsto(\Pi^{W}_{S})^{M} defined as

(𝒳)=Max({[X,Y]:[X,Y]𝒳})\displaystyle\mathcal{B}(\mathscr{X})=\textbf{\text{Max}}(\{[X,Y]:[X,Y]\subseteq\mathscr{X}\}) S()(t)=Max({[f,g]:[f,g](t)})\displaystyle\mathcal{B}_{S}(\mathscr{F})(t)=\textbf{\text{Max}}(\{[f,g]:[f,g]\subseteq\mathscr{F}(t)\})

for 𝒳κW,κSW\mathscr{X}\in\kappa^{W},\mathscr{F}\in\kappa^{W}_{S} and tMt\in M are lattice isomorphisms, in which the partial order in (ΠSW)M(\Pi^{W}_{S})^{M} is 𝓘1,𝓘2(ΠSW)M,𝓘1𝓘2𝓘1(t)𝓘2(t),tM\boldsymbol{\mathscr{I}}_{1},\boldsymbol{\mathscr{I}}_{2}\in(\Pi^{W}_{S})^{M},\boldsymbol{\mathscr{I}}_{1}\leq\boldsymbol{\mathscr{I}}_{2}\iff\boldsymbol{\mathscr{I}}_{1}(t)\leq\boldsymbol{\mathscr{I}}_{2}(t),\forall t\in M. The inverse of these transformations are

1(I)={[X,Y]:[X,Y]I}\displaystyle\mathcal{B}^{-1}(I)=\bigcup\{[X,Y]:[X,Y]\in I\} S1(𝓘)(t)={[f,g]:[f,g]𝓘(t)}\displaystyle\mathcal{B}_{S}^{-1}(\boldsymbol{\mathscr{I}})(t)=\bigcup\{[f,g]:[f,g]\in\boldsymbol{\mathscr{I}}(t)\}

for IΠW,𝓘(ΠSW)MI\in\Pi^{W},\boldsymbol{\mathscr{I}}\in(\Pi^{W}_{S})^{M} and tMt\in M. This results is stated as a proposition that follows direct from the definitions of \mathcal{B} and S\mathcal{B}_{S}.

Proposition 7

The mappings \mathcal{B} and S\mathcal{B}_{S} are lattice isomorphisms.

We state that there exists a lattice isomorphism :ΠW(ΠSW)M\mathcal{I}:\Pi^{W}\mapsto(\Pi^{W}_{S})^{M} between the basis representation of set and stack W-operators.

Lemma 3

The mapping S1\mathcal{I}\coloneqq\mathcal{B}_{S}\circ\mathcal{H}\circ\mathcal{B}^{-1} is a lattice isomorphism between ΠW\Pi^{W} and (ΠSW)M(\Pi^{W}_{S})^{M}.

In particular, the isomorphism \mathcal{I} takes basis of set operators that have one interval to basis of stack operators that have one interval for every tt. This simple result is key to prove the main result of this paper (ref. Theorem 6.1). This result is proved in Appendix 0.A.

Corollary 2

If I=[X,Y]I=[X,Y], then (I)(t)={[tX,tY+(mt)W]}\mathcal{I}(I)(t)=\{[tX,tY+(m-t)W]\} for t=1,,mt=1,\dots,m.

6 Restricted classes of stack operators and learning of stack operators

It follows from Proposition 2 that restricted classes of stack operators can be obtained by constraining Ψ\Psi and applying \mathcal{F}. Actually, \mathcal{F} preserves many lattice properties of ψ~\tilde{\psi}, hence restricting Ψ\Psi based on these properties will generate analogous restrictions in ΣS\Sigma_{S}. The next theorem, for which a proof is presented in Appendix 0.A, establishes these properties for the case of stack W-operators.

Theorem 6.1

A stack operator ψΣSW\psi\in\Sigma_{S}^{W} is (1) increasing, (2) decreasing, (3) extensive, (4) anti-extensive, (5) an erosion, (6) a dilation, (7) an anti-dilation, (8) an anti-erosion, (9) sup-generating, and (10) inf-generating if, and only if, so is 1(ψ)\mathcal{F}^{-1}(\psi).

The isomorphisms depicted in Figure 2 together with Theorem 6.1 imply that a stack W-operator can be designed by designing a set operator that performs the desired transformation on sets, what actually reduces to designing a binary function in 𝒫(W)\mathcal{P}(W). Prior information about properties that the optimal operator satisfy can be used to define a restricted class of set operators that, due to Theorem 6.1, will generate a restricted class of stack operators with the same properties, from which an operator can be learned from data. In particular, it is possible to adapt the loss function considered to train discrete morphological neural networks (DMNN) [9], in particular unrestricted DMNN [10], to learn a characteristic set W-operator by actually minimising the error associated with the respective stack operator. Also, a deep neural network might also be considered to represent the characteristic function of the set W-operator and be trained by minimising the error associated with the respective stack operator. We will investigate these learning methods in future studies.

7 Final remarks

This paper defined the stack operators, that are those that commute in average with cross-sectioning, and showed that they can be represented by a characteristic set operator, being equivalent to applying the set operator to the cross-sections of the image and summing. In particular, stack operators are 1-Lipschitz extensions of set operators and also the generalisation of stack filters, for which the characteristic set operator is increasing. Isomorphisms between the characteristic function, kernel and basis representation of stack W-operators and set W-operators were deduced and we showed that many properties of the set W-operators are preserved in the respective stack W-operators. The perspectives of learning stack operators by learning the characteristic set operator via DMNN and deep neural networks was briefly discussed.

There are many topics for future studies based on our representation results about stack operators. First, it is necessary to generalise the results for stack-operators that are not W-operators, what should be straightforward. Furthermore, it would be interesting to study the representation of stack operators with other kinds of invariance, such as group equivariant operators [11] and scale invariant operators [12]. Moreover, as discussed in Section 6, it is necessary to develop learning methods for stack operators.

Given the simplicity of the representation of stack W-operators, that are equivalent to Boolean functions in 𝒫(W)\mathcal{P}(W), they could be the preferred choice when a solving a practical image transformation problem. However, it is necessary to characterise what problems they can solve, that is, what image operators they can approximate. Therefore, the main topic of future research is to characterise the stack operators within the family of 1-Lipschitz extensions of set operators by investigating if they have universal approximating properties, i.e., by characterising spaces in which the stack operators are dense. Stack operators will be suitable to solve a problem when the optimal operator is in such a space.

Acknowledgements

This work was partially funded by grant #22/06211-2 São Paulo Research Foundation (FAPESP).

Appendix 0.A Proof of results

Proof (Proof of Corollary 1)

Fix f,gMEf,g\in M^{E} and ψΣS\psi\in\Sigma_{S}, and denote ψ~1(ψ)\tilde{\psi}\coloneqq\mathcal{F}^{-1}(\psi). Define D(f,g)={t{1,,m}:Tt[f]Tt[g]}D(f,g)=\{t\in\{1,\dots,m\}:T_{t}[f]\neq T_{t}[g]\} and observe that ψ(f)ψ(g)tD(f,g)(ψ~(Tt[f])ψ~(Tt[g]))|D(f,g)|\lVert\psi(f)-\psi(g)\rVert_{\infty}\leq\sum_{t\in D(f,g)}\lVert(\tilde{\psi}(T_{t}[f])-\tilde{\psi}(T_{t}[g]))\rVert_{\infty}\leq|D(f,g)|. We will show that |D(f,g)|fg1|D(f,g)|\leq\lVert f-g\rVert_{1}. For each tD(f,g)t\in D(f,g) there exists xtEx_{t}\in E such that Tt[f](xt)Tt[g](xt)T_{t}[f](x_{t})\neq T_{t}[g](x_{t}). Fix a set {xt:tD(f,g)}\{x_{t}:t\in D(f,g)\} that satisfies xt=xt+1==xt+s1x_{t}=x_{t+1}=\cdots=x_{t+s-1} whenever Tt1[f](xt)=Tt1[g](xt)T_{t-1}[f](x_{t})=T_{t-1}[g](x_{t}), Tt[f](xt)Tt[g](xt)T_{t}[f](x_{t})\neq T_{t}[g](x_{t}) and |f(xt)g(xt)|=s|f(x_{t})-g(x_{t})|=s. It follows that |D(f,g)|={xt:tD(f,g)}|f(xt)g(xt)|fg1|D(f,g)|=\sum_{\{x_{t}:t\in D(f,g)\}}|f(x_{t})-g(x_{t})|\leq\lVert f-g\rVert_{1}. \blacksquare

Proof (Proof of Lemma 2)

We will show that =𝒦S𝒢𝒦1\mathcal{H}=\mathcal{K}_{S}\circ\mathcal{G}\circ\mathcal{K}^{-1} and 1=𝒦𝒢1𝒦S1\mathcal{H}^{-1}=\mathcal{K}\circ\mathcal{G}^{-1}\circ\mathcal{K}_{S}^{-1} so the result follows from Lemma 1 and Proposition 6. On the one hand, for κSW\mathscr{F}\in\kappa_{S}^{W} and X𝒫(W)X\in\mathcal{P}(W), it holds (𝒢1𝒦S1)()(X)=m1max{tM:mX(t)}(\mathcal{G}^{-1}\circ\mathcal{K}_{S}^{-1})(\mathscr{F})(X)=m^{-1}\max\{t\in M:mX\in\mathscr{F}(t)\}, therefore (𝒦𝒢1𝒦S1)()={X𝒫(W):max{tM:mX(t)}=m}={X𝒫(W):mX(m)}(\mathcal{K}\circ\mathcal{G}^{-1}\circ\mathcal{K}_{S}^{-1})(\mathscr{F})=\{X\in\mathcal{P}(W):\max\{t\in M:mX\in\mathscr{F}(t)\}=m\}=\{X\in\mathcal{P}(W):mX\in\mathscr{F}(m)\}, in which the last equality follows from the fact that (t)\mathscr{F}(t) is decreasing on tt. On the other hand, for 𝒳κW,f𝒫M(W)\mathscr{X}\in\kappa^{W},f\in\mathcal{P}_{M}(W) and tMt\in M, it holds (𝒢𝒦1)(𝒳)(f)=t=1m𝟙{Tt[f]𝒳}(\mathcal{G}\circ\mathcal{K}^{-1})(\mathscr{X})(f)=\sum_{t=1}^{m}\mathds{1}\{T_{t}[f]\in\mathscr{X}\}, therefore

(𝒦S\displaystyle(\mathcal{K}_{S} 𝒢𝒦1)(𝒳)(t)={f𝒫M(W):ts=1m𝟙{Ts[f]𝒳}}\displaystyle\circ\mathcal{G}\circ\mathcal{K}^{-1})(\mathscr{X})(t)=\left\{f\in\mathcal{P}_{M}(W):t\leq\sum_{s=1}^{m}\mathds{1}\{T_{s}[f]\in\mathscr{X}\}\right\}
={s=1mXs:Xs𝒫(W),XmX1,s=1m𝟙{Xs𝒳}t}.\displaystyle=\left\{\sum_{s=1}^{m}X_{s}:X_{s}\in\mathcal{P}(W),X_{m}\leq\cdots\leq X_{1},\sum_{s=1}^{m}\mathds{1}\{X_{s}\in\mathscr{X}\}\geq t\right\}.

To see that the last equality holds, take Xs=Ts[f]X_{s}=T_{s}[f] for f𝒫M(W)f\in\mathcal{P}_{M}(W) and sMs\in M. \blacksquare

Proof (Proof of Corollary 2)

Fix I={[X,Y]}I=\{[X,Y]\} and observe that, for t1t\geq 1, (1)(t)={s=1tXs:XmX1,s=1t𝟙{Xs[X,Y]}t}(\mathcal{H}\circ\mathcal{B}^{-1})(t)=\left\{\sum_{s=1}^{t}X_{s}:X_{m}\leq\cdots X_{1},\sum_{s=1}^{t}\mathds{1}\{X_{s}\in[X,Y]\}\geq t\right\}. Then, f(1)(t)f\in(\mathcal{H}\circ\mathcal{B}^{-1})(t) if, and only if, ff can be decomposed as f=j=1tXsj+gf=\sum_{j=1}^{t}X_{s_{j}}+g with Xsj[X,Y]X_{s_{j}}\in[X,Y] and g(x)(mt)Wg(x)\leq(m-t)W, assuming that XstXs1X_{s_{t}}\leq\cdots\leq X_{s_{1}}. But ff can be decomposed as such if, and only if, f[tX,tY+(mt)W]f\in[tX,tY+(m-t)W]. We conclude that ([X,Y])(t)=S(1)(t)={[tX,tY+(mt)W]}\mathcal{I}([X,Y])(t)=\mathcal{B}_{S}(\mathcal{H}\circ\mathcal{B}^{-1})(t)=\{[tX,tY+(m-t)W]\}.

Proof (Proof of Theorem 6.1)

For each ψΣSW\psi\in\Sigma_{S}^{W} denote ψ~1(ψ)\tilde{\psi}\coloneqq\mathcal{F}^{-1}(\psi) and ϕ~𝒞(ψ~\tilde{\phi}\coloneqq\mathcal{C}(\tilde{\psi}), and for each ψ~ΨW\tilde{\psi}\in\Psi^{W} denote ψ(ψ~)\psi\coloneqq\mathcal{F}(\tilde{\psi}) and ϕ𝒞S(ψ)\phi\coloneqq\mathcal{C}_{S}(\psi).

(1) Increasing: Direct from Proposition 4.

(2) Decreasing: Analogous to increasing.

(3) Extensive: Fix ψ~ΨW\tilde{\psi}\in\Psi^{W} extensive and f𝒫M(W)f\in\mathcal{P}_{M}(W). Then, ψ(f)=t=1mψ~(Tt[f])t=1mTt[f]=f\psi(f)=\sum_{t=1}^{m}\tilde{\psi}(T_{t}[f])\geq\sum_{t=1}^{m}T_{t}[f]=f in which the inequality follows since ψ~\tilde{\psi} is extensive and the last equality is due to Proposition 1 (i). Fix ψΣSW\psi\in\Sigma_{S}^{W} extensive and X𝒫(W)X\in\mathcal{P}(W). Then, ψ~(X)=1mψ(mX)1mmX=X\tilde{\psi}(X)=\frac{1}{m}\psi(mX)\geq\frac{1}{m}mX=X.

(4) Anti-extensive: Analogous to extensive.

(5) Erosion: Set and image operators are erosions if, and only if, their kernel is formed by only one interval of form [X,W][X,W] and [ft,mW][f_{t},mW] for all t1t\geq 1, respectively. On the one hand, it follows from Corollary 2 that if ψ~\tilde{\psi} is an erosion with kernel [X,W][X,W] then the kernel of ψ\psi equals [tX,W][tX,W] for all t1t\geq 1 so it is an erosion. On the other hand, if ψ\psi is an erosion then 𝒦S(ψ)(m)=[fm,mW]\mathcal{K}_{S}(\psi)(m)=[f_{m},mW] and 𝒦(ψ~)={X𝒫(W):fmmX}\mathcal{K}(\tilde{\psi})=\{X\in\mathcal{P}(W):f_{m}\leq mX\}. It is clear that fmmXf_{m}\leq mX if, and only if, T1[fm]XT_{1}[f_{m}]\leq X and therefore 𝒦(ψ~)=[T1[fm],W]\mathcal{K}(\tilde{\psi})=[T_{1}[f_{m}],W], and ψ~\tilde{\psi} is an erosion.

(6) Dilation: Analogous to erosion by considering the dual partial orders since dilations according to a partial order are erosions according to the dual partial order.

(7) Anti-dilation: Anti-dilations are operators such that ψ(fg)=ψ(f)ψ(g)\psi(f\vee g)=\psi(f)\wedge\psi(g) and ψ~(XY)=ψ~(X)ψ~(Y)\tilde{\psi}(X\vee Y)=\tilde{\psi}(X)\wedge\tilde{\psi}(Y). We recall that the kernel of an anti-dilation is formed by a unique interval of form [,Y][\emptyset,Y], for set W-operators, and [,gt][\emptyset,g_{t}] for all t1t\geq 1, for image operators. A deduction analogous to that of erosions follow by Corollary 2.

(8) Anti-erosion: Anti-erosions are operators such that ψ(fg)=ψ(f)ψ(g)\psi(f\wedge g)=\psi(f)\vee\psi(g) and ψ~(XY)=ψ~(X)ψ~(Y)\tilde{\psi}(X\wedge Y)=\tilde{\psi}(X)\vee\tilde{\psi}(Y). This case is analogous to anti-dilations by considering the dual partial order.

(9) Sup-generating: A sup-generating operator is the meet between an erosion and an anti-dilation (ref. [2]). Direct from Corollary 2 since set and image operators are sup-generating if, and only if, their kernel is formed by only one interval.

(10) Inf-generating: An inf-generating operator is the join between a dilation and an anti-erosion (ref. [2]). Analogous to sup-generating by considering the dual partial orders since sup-generating operators according to a partial order are inf-generating according to the dual partial order.

\blacksquare

References

  • [1] Banon, G.J.F., Barrera, J.: Minimal representations for translation-invariant set mappings by mathematical morphology. SIAM Journal on Applied Mathematics 51(6), 1782–1798 (1991)
  • [2] Banon, G.J.F., Barrera, J.: Decomposition of mappings between complete lattices by mathematical morphology, part i. general lattices. Signal Processing 30(3), 299–327 (1993)
  • [3] Coyle, E.J., Lin, J.H.: Stack filters and the mean absolute error criterion. IEEE Transactions on Acoustics, Speech, and Signal Processing 36(8), 1244–1254 (1988)
  • [4] Coyle, E.J., Lin, J.H., Gabbouj, M.: Optimal stack filtering and the estimation and structural approaches to image processing. IEEE Transactions on Acoustics, Speech, and Signal Processing 37(12), 2037–2066 (1989)
  • [5] Dellamonica, D., Silva, P.J., Humes, C., Hirata, N.S., Barrera, J.: An exact algorithm for optimal mae stack filter design. IEEE transactions on image processing 16(2), 453–462 (2007)
  • [6] Hirata, N.S., Barrera, J., Dougherty, E.R.: Design of statistically optimal stack filters. In: XII Brazilian Symposium on Computer Graphics and Image Processing (Cat. No. PR00481). pp. 265–274. IEEE (1999)
  • [7] Maragos, P., Schafer, R.: Morphological filters–part i: Their set-theoretic analysis and relations to linear shift-invariant filters. IEEE Transactions on Acoustics, Speech, and Signal Processing 35(8), 1153–1169 (1987)
  • [8] Maragos, P., Schafer, R.: Morphological filters–part ii: Their relations to median, order-statistic, and stack filters. IEEE Transactions on acoustics, speech, and signal processing 35(8), 1170–1184 (2003)
  • [9] Marcondes, D., Barrera, J.: Discrete morphological neural networks. SIAM Journal on Imaging Sciences 17(3), 1650–1689 (2024)
  • [10] Marcondes, D., Feldman, M., Barrera, J.: An algorithm to train unrestricted sequential discrete morphological neural networks. In: International Conference on Discrete Geometry and Mathematical Morphology. pp. 178–191. Springer (2024)
  • [11] Penaud-Polge, V., Velasco-Forero, S., Angulo-Lopez, J.: Group equivariant networks using morphological operators. In: International Conference on Discrete Geometry and Mathematical Morphology. pp. 165–177. Springer (2024)
  • [12] Sangalli, M., Blusseau, S., Velasco-Forero, S., Angulo, J.: Scale equivariant neural networks with morphological scale-spaces. In: International Conference on Discrete Geometry and Mathematical Morphology. pp. 483–495. Springer (2021)
  • [13] Wendt, P., Coyle, E., Gallagher, N.: Stack filters. IEEE Transactions on Acoustics, Speech, and Signal Processing 34(4), 898–911 (1986)
  • [14] Yoo, J., Fong, K.L., Huang, J.J., Coyle, E.J., Adams, G.B.: A fast algorithm for designing stack filters. IEEE Transactions on Image Processing 8(8), 1014–1028 (1999)