as arranging the elements of in a line. Not surprisingly, the task of defining a total order for a given set depends greatly on the prior knowledge provided. To illustrate this point, imagine a scenario where two researchers want to order a set of people. The first one defines minimum as the youngest person and the maximum as the oldest person, the second declares the minimum as the fattest one and the maximum as the thinnest one. Clearly, two persons that are similar according to the first researcher’s setting might be dissimilar according to the second’s. Accordingly, the complete list of ordered people can be totally different from one researcher to another.In the field of image processing, the definition of a total ordering among pixels of the image is the main ingredient of mathematical morphology techniques [20]. In this first part of this chapter, we study the case where “prior” knowledge about the spectral information of the background and the foreground on the image is available. We define a supervised ordering as a particular case of reduced ordering where the minimum (resp. maximum) value should be a pixel in the background (resp. foreground). This restriction can be included in the computation of the supervised ordering by using classical machine learning techniques, for instance, by support vector machines (SVM) [25]. Another possibility for known structure in the total ordering problem is to assume that the image is composed by two main components: background and foreground. Additionally, we include the assumption that the background is larger than the foreground. We uncover an interesting application of randomised approximation schemes in multivariate analysis [26]. To summarise, in this chapter a multispectral image is represented through a total ordering and it is analysed by mathematical morphology transformations. Prior information about the spectral information in the image is incorporated into the workflow of mathematical morphology transformations in two scenarios:
Ordering and Multispectral Morphological Image Processing
1.
Spectral information about the background and the object of interest are available, i.e., “background/foreground training pixels”.
2.
Image can be considered as objects (foreground) over a majority background.
Basically, there are two points of view about mathematical morphological transformations: (1) connection based and (2) adjunction based. The first strategy deals with simplification of a given image in the partition space induced by its connected components [17, 18, 21]. The second perspective analyses an image by composition of two basic transformations, dilation and erosion, which form a Galois connection [9]. In this section we provide the theoretical background of mathematical morphology in its formulation based on adjunction, i.e. by using dilation/erosion operators. Our approach does not include the “connectivity approach”. We refer keen readers to [21] for a comprehensive review of connective morphology.
Fig. 1
Notation for a -variate image, . Note that the image maps each spatial point to a vector in three dimension for a RGB image or in dimension for the case of a multispectral image
Let us introduce the notation for a multidimensional image, as it is illustrated in Fig. 1, where the object of interest is a -dimensional image (denoted by ) which maps the spatial support to the vector support , i.e.,
Given a vector image , i.e. is a mapping from the spatial support to the vector space of dimensions . Theoretical formulation of mathematical morphology is nowadays phrased in terms of complete lattices and operators defined on them. For a detailed exposition on complete lattice theory in mathematical morphology, we refer to J. Serra and C. Ronse in [16, Chap. 2].
Definition 1
(Complete Lattice) A space endowed with a partial order is called a complete lattice, denoted if every subset has both supremum (join) and infimum (meet) .
A minimum (or least) is an element which is least than or equal to any other element of , that is, . We denote the minimum of by . Equivalently, a maximum (largest) in is the greatest element of , that is, . We denote the maximum of by .
Definition 2
(Dilation/Erosion) A mapping of a complete lattice into a complete lattice is said to be a dilation if for all families of elements in . A mapping is said to be an erosion if for all families of elements in .
The important relationship between dilation and erosion is that they are dual concepts from the lattice point of view. [9] showed that for any complete lattice , we always have a dual isomorphism between the complete lattice of dilation on and the complete lattice of erosions on . This dual isomorphism is called by Serra [20, Chap. 1] the morphological duality. In fact it is linked to what one calls Galois connections in lattice theory, as we will see at the end of this section.
Definition 3
(Adjunction) Let . Then we say that is an adjunction of every , we have
(1)
In an adjunction , is called the upper adjoint and the lower adjoint.
Definition 4
(Galois connection) Let and be lattices and let and satisfy the following conditions.
Then is a Galois connection between and .
1.
For if , then .
2.
For if , then .
3.
For , .
4.
For , .
Proposition 2
Let the lattices and , maps and a Galois connection. Then the following condition holds for all and :
(2)
Clearly an adjunction in is a Galois connection between the dual and (indeed, compare Definition 3 and Proposition 2).
At this point, we can see that definition of erosion/dilation on a image requires a complete lattice structure, i.e., a total ordering1 among the pixels to be analysed. However, there is not difficult to see that the idea of order is entirely absent from multivariate scene, i.e., there is no unambiguous means of defining the minimum and maximum values between two vectors of more than one dimension. Accordingly, the extension of mathematical morphology to vector spaces, for instance, colour/multi/hyper/ultraspectral images, is neither direct nor trivial because the pixels in the images are vectors. We refer keen readers to [1, 2] for a comprehensive review of vector morphology.
Let be a nonempty set and assume that is a complete lattice. Let be a surjective mapping. Define an equivalence relation on as follows: . As it was defined in [8], we refer by the ordering given by the following relation on
Note that preserves reflexivity () and transitivity ( and ). However, is not a partial ordering because and implies only that but not . Note that -ordering is a preorder in .
An operator is increasing if implies that . Additionally, since is surjective, an equivalence class is defined by . The Axiom of Choice [8] implies that there exist mappings such that , for . Unless is injective, there exist more than one such mappings: is called the semi-inverse of . Note that is not the identity mapping in general (but ). However, we have that for any increasing the result and hence . Let us introduce the operator associated to in the lattice . A mapping is increasing if and only if there exists an increasing mapping such that . The mapping is uniquely determined by and can be computed from
We can now define the erosion and dilation. Let be two mappings with the property
then the pair is called an adjunction. Moreover, let be increasing mappings on , and let , . Then is an adjunction on if and only if is an adjunction on the lattice . Therefore a mapping (resp. ) on is called dilation (resp. erosion) if (resp. ) is a dilation (resp. erosion) on . adjunctions inherit a large number of properties from ordinary adjunctions between complete lattices. Assume that is an