“…For example, setting w ij = log(1 B j (i)) with B j a set representing a structuring element at pixel j, we get the usual flat dilation and erosion. If the family (B j ) 1≤j≤n is not translation invariant, we get the so called adaptive morphology framework [6,7,15,26]; if B j is not a spatial neighborhood of j, we get the typical nonlocal operators [23,30]. In general, the formulation of Equation ( 8) defines non-flat, adaptive and possibly non-local morphological operators, and the structuring function at each pixel j is contained in the j-th column of matrix W , that we will note W •j .…”