원시데이터 수집 시스템
선정목록으로

Matrix-Valued LogSumExp Approximation for Colour Morphology

관련 필름·전자재료 · (13) 프리즘 필름

기본 정보

저자
  1. Marvin Kahra — Institute for Mathematics, Brandenburg University of Technology Cottbus-Senftenberg, Platz der Deutschen Einheit 1, 03046, Cottbus, Brandenburg, Germany
  2. Michael Breuß — Institute for Mathematics, Brandenburg University of Technology Cottbus-Senftenberg, Platz der Deutschen Einheit 1, 03046, Cottbus, Brandenburg, Germany
  3. Andreas Kleefeld — Faculty of Medical Engineering and Technomathematics, University of Applied Sciences Aachen, Heinrich-Mußmann-Str. 1, 52428, Jülich, North Rhine-Westphalia, Germany|||Jülich Supercomputing Centre, Forschungszentrum Jülich GmbH, Wilhelm-Johnen-Straße, 52425, Jülich, North Rhine-Westphalia, Germany
  4. Martin Welk — Institute of Biomedical Image Analysis, UMIT TIROL – Private University for Health Sciences and Health, Eduard-Wallnöfer-Zentrum 1, 6060, Hall, Tyrol, Austria
DOI
10.1007/s10851-025-01267-5
저널
Journal of Mathematical Imaging and Vision
발행년도
2025
발행기관
Springer Science+Business Media
피인용수
0
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1007/s10851-025-01267-5
토픽
Color Science and Applications
OpenAlex ID
W4414353021

평가 내용

관련도
관련
사업분야
필름·전자재료 · (13) 프리즘 필름
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '필름·전자재료 > 프리즘 필름' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

Abstract Mathematical morphology is a part of image processing that employs a moving window to modify pixel values through the application of specific operations. The supremum and infimum are pivotal concepts, yet defining them in a general sense for high-dimensional data such as colour is a challenging endeavour. As a result, a number of different approaches have been taken to try to find a solution, with certain compromises being made along the way. In this paper, we present an analysis of a novel approach that replaces the supremum within a morphological operation with the LogExp approximation of the maximum for matrix-valued colours. This approach has the advantage of extending the associativity of dilation from the one-dimensional to the higher-dimensional case. Furthermore, the minimality property is investigated and a relaxation specified to ensure that the approach is continuously dependent on the input data.

본문 60,292자

본문 펼치기
Mathematical morphology is a part of image processing that employs a moving window to modify pixel values through the application of specific operations.The supremum and infimum are pivotal concepts, yet defining them in a general sense for high-dimensional data such as colour is a challenging endeavour.As a result, a number of different approaches have been taken to try to find a solution, with certain compromises being made along the way.In this paper, we present an analysis of a novel approach that replaces the supremum within a morphological operation with the LogExp approximation of the maximum for matrix-valued colours.This approach has the advantage of extending the associativity of dilation from the one-dimensional to the higher-dimensional case.Furthermore, the minimality property is investigated and a relaxation specified to ensure that the approach is continuously dependent on the input data. Introduction Mathematical morphology is a theory used to analyse spatial structures in images.Over the decades, it has developed into a very successful field of image processing, see, for example, [1][2][3] for an overview.Morphological operators basically consist of two main components.The first of these is the structuring element (SE), which is characterised by its shape, size and position.These in turn can be divided into two types of SEs, flat and non-flat cf.[4].A flat SE basically defines a neighbourhood of the central pixel where appropriate morphological operations are performed, while a non-flat SE also contains a mask with finite values that are used as additive offsets.The SE is usually implemented as a window sliding over the image.The second main component is used to perform a comparison of values within an SE.The basic operations in mathematical morphology are dilation and erosion, where a pixel value is set to the maximum and minimum, respectively, of the discrete image function within the SE.Many morphological filtering procedures of practical interest, such as opening, closing or top hats, can be formulated by combining dilation and erosion operations.Since dilation and erosion are dual operations, it is often sufficient to restrict oneself to one of the two when constructing algorithms. Introduction Let us also briefly extend this concept to colour morphology, as it is the underlying concept for our further considerations.As already mentioned, the most important operation in morphology is to perform a comparison of the tonal values or, in our case, the colour values within the SE over certain sets of pixels in an image domain.For the simpler application areas such as binary or grey value morphology, one can act directly on complete lattices in order to obtain a total order of the colour values, see [3].In the case of colour morphology, this is no longer the case, as there is no total order of the colour values.For this reason, corresponding semi-orders and different basic structures are used, cf.[5].The first approach that could be used for this would be to regard each colour channel of an image as an independent image and to perform grey value morphology on each of them.This approach has the serious disadvantage that we lose the correlated information between the colour channels, which could be used to further improve the filtering results.The other approach, which is more popular, uses a vector space structure in which each colour is considered a vector in an underlying colour space.In order to compute a supremum or infimum, it is necessary to have an order for the vector space.However, there are a plethora of ordering approaches for colour morphology.For details of the most commonly used approaches, we refer the reader to the overview provided in [6].We will take the latter approach, but use symmetric matrices instead of vectors.Since there is also no total order for colour matrices either, we will order the elements by means of a semi-order, namely the Loewner order, see [7].This means, though, that we need an additional function to select a minimum upper bound, namely the supremum function. Introduction To calculate two of the basic operations of colour morphology, dilation and erosion, it is necessary to determine the supremum or infimum.Because of the duality between these two operations, it is common to consider only one of them.Here we will concentrate on dilation and the construction of the supremum.However, there are several approaches how to choose the supremum of a set of symmetric matrices, based on different norms.To give some examples, we mention here the nuclear norm, the Frobenius norm and the spectral norm.For a comparison of these norms we refer to the work by Welk, Kleefeld and Breuß [8]. Introduction Here we want to consider another approach, namely the approximation of the supremum by a so-called LogSum-Exp approximation of Maslov [9].This is an approximation which has already given promising results in the work of Kahra, Sridhar and Breuß [10] for greyscale images and for colour images in [11] in conjunction with a fast Fourier transform.However, the latter only represents a one-dimensional channel-wise approach to colour morphology.Another connection worth mentioning is the work [12] of Burgeth, Welk, Feddern and Weickert, where root and power functions were used for symmetric positive semi-definite matrices instead of logarithm and exponential function.However, our approach does not require a positive semi-definite matrix, but works with any colour matrix, and preserves the so-called transitivity of greyscale morphology.This paper will be the next step from [13] for transferring the LogSumExp approach to colour morphology with tonal vectors/matrices.The goal is to present a clear characterisa-tion of this approach for tonal value matrices to close the gap in the reasoning of [13] and to extend it with regard to certain properties.In this way, we will end up with a dilation operator that, with a few minor compromises, combines many of the advantageous properties of the other multidimensional approaches while preserving the associativity of the dilation, which, as far as we know, is not the case with the other multidimensional approaches.In addition, we will present a relaxed formulation of the operator, which addresses one of the primary limitations of the operator. General Definitions To make this paper self-contained, we want to use this section to clarify some basic definitions and terminology, using our previous paper [13] as a guide.This is divided into two subsections, one for the morphological terms and one for the terms related to the Loewner order. General Definitions We will start with the morphological concepts of dilation/erosion for greyscale images and then extend this to colour images.In particular, we will discuss how colours can be represented and which algebraic structures we will consider for this paper and describe the one we have chosen in more detail. General Definitions In the second subsection, we look at why we need such an order and why we have chosen it.We show what we mean by a minimiser of a convex set with respect to the Loewner order and which properties it must fulfil.This will give us a general explanation for a matrix supremum.Finally, we will give a brief overview of how different norms lead to different matrix suprema. Colour Morphology We begin with a two-dimensional, discrete image domain ⊆ Z 2 and a single-channel greyscale image, which is described by a discrete function f : → [0, 255].In the case of non-flat morphology, the structuring element (SE) can be represented as a function b : Colour Morphology where β is itself a small greyscale image that should have the same scaling for the greyscale values as the input image.It defines the height of the SE or in other words which pixel will be "prioritised" by the filtering.B 0 is a set centred at the origin.However, the origin of the SE needs not always to be at its centre.It determines the shape and size of the SE, as it specifies which elements are to be compared with each other.Frequently used shapes for this are squares, discs, diamonds, hexagons and crosses, see [15,16].In the case of a flat filter (flat morphology), it is simply the special case β(x) = 0. Two of the most elementary operations of mathematical morphology are dilation Colour Morphology and erosion Colour Morphology see Figure 1 for an example.In particular, these two operations are dual in the following sense with respect to complementation.Let the range of the greyscale values of f be given by the interval Colour Morphology where f min is the lower limit and f max the upper limit of the greyscale values of f .We define the complementary image f c as Colour Morphology Then one has Colour Morphology where b(x) = b(−x).This shows the duality between dilation and erosion.However, with these two operations, many other operations can be defined that are of great interest in practice, e.g. 1.In general, an opening will result in the deletion of minor, protruding components of an object.For example, this can be observed by the first column on the left side of the entrance in Fig. 1.The closing operation will fill small holes or thin intruding parts of the object.This may entail the destruction of smaller dark areas, such as the shadows of the columns on the outermost left side or the thin flat window illustrated in Fig. 1.These filtering operations can be employed in conjunction with varying sizes of the SE to compute size distributions in binary images, see [1] for further information about granulometry and related applications. Colour Morphology We turn now to our actual area of interest, namely colour morphology.This is similar to the greyscale morphology already shown, with the difference that we no longer have just one channel, but three.There are many useful formats for expressing this, see [17].A classic approach in this sense is the channel-by-channel processing of an image with the redgreen-blue (RGB) colour model, see, for example, [11] for a recent example of channel-wise scheme implementation.However, instead of RGB vectors, we will use symmetric 2 × 2 matrices. Colour Morphology For this we assume that the colour values are already normalised to the interval [0, 1] for the corresponding channels.First, we transfer this vector into the hue-chroma-luminance (HCL) colour space by means of Colour Morphology Subsequently, the luminance L is replaced with the modified luminance L = 2L − 1 and the quantities C, 2π H and L are regarded as radial, angular and axial coordinates of a cylindrical coordinate system, respectively.Since the transformation shown here maps each colour from the RGB colour space one-to-one to a colour in the HCL bi-cone, see Figure 2, this represents a bijection onto the bi-cone, which in turn is interpreted with Cartesian coordinates by x = C cos(2π H ), y = C sin(2π H ) and z = L. Finally, we map these Cartesian coordinates onto a symmetric matrix in the following manner: Colour Morphology where the complete transformation process is a bijective mapping, see [7]. The Loewner Order and the Decision of a Minimiser In the absence of a conventional ordering of the elements in either R 3 or R 2×2 , it becomes necessary to define the relative positions of two elements with respect to one another.In order to respond to this query, it is necessary to utilise a more lenient interpretation of the ordering relation, namely that of a semiorder.For this reason, we resort to the Loewner order and the colour morphological processing based on this, which was already presented in the work [18] by Burgeth and Kleefeld. Definition 1 We define the set of symmetric matrices as Definition 1 and the set of positive semi-definite symmetric matrices as Definition 1 One can see that Sym + (n) is a convex cone, cf.[19].Thus, this cone induces a partial order in the space of symmetric matrices, which we define as follows. Definition 1 Definition 2 Let A, B ∈ Sym(n), n ∈ N. We define the Loewner semi-order ≥ L as follows Definition 1 One of the benefits of employing the Loewner order in conjunction with the HCL bi-cone is that the Cartesian coordinates of a given bi-cone vector can be utilised to represent each colour matrix X as a cone of a specified height within the bi-cone.In this representation, the radius of the cone of X is given by 1 √ 2 tr X.Therefore, a colour is larger than another colour in the Loewner sense if the cone of the larger colour contains the cone of the smaller colour as a subset.Since the radius is equal to the height of the resulting cones, we only need to find a larger base circle for the corresponding cones, see Figure 3 for a visualising example.For more details, we refer to the paper [18] by Burgeth and Kleefeld. Definition 1 The problem with this semi-order is that it is not a lattice order [20], and therefore, it is not possible to find a unique maximum or minimum.To get around this problem, one needs another property to select a uniquely determined maximum from the convex set of symmetric matrices U(X ) that are upper bounds in the Loewner sense for the multi-set X = {X 1 , X 2 , . . ., X n } of given symmetric real 2 × 2 data matrices with Definition 1 see [8] for this.In particular, U(X ) is a convex set, since for any A, B ∈ U(X ) one has Definition 1 and the linear combination of two symmetric matrices always result in a symmetric matrix.For representation of the previously mentioned property, we use the function ϕ : U(X ) → R, which should be convex on the set U(X ) and Loewnermonotone, i.e. Definition 1 To clarify this terminology of convexity, we introduce the following definition. Definition 1 two real-valued vector spaces, M ⊂ V 1 a convex set and K ⊂ V 2 an order cone, i.e.K := {x ∈ V 2 : x ≥ 0} on the ordered vector space (V 2 , ≥).A function f : M → V 2 is called convex on the set M if and only if Definition 1 Furthermore, ϕ should have a unique minimiser in U(X ); thus, we can define the ϕ-supremum of X as said minimiser: Definition 1 The matrix supremum introduced in the paper [12] is based on the calculation of the trace and is therefore also called trace supremum.That is, one has ϕ(Y ) = trY and we get as supremum: Definition 1 Sup tr (X ) := arg min Definition 1 trY . Definition 1 Based on the corresponding norms, the Frobenius supremum Fig. 3 Visualisation of the Loewner ordering in the HCL bi-cone for the three colour matrices X i , i = 1, 2, 3, with X 3 ≥ L X 1 and X 3 ≥ L X 2 . Definition 1 From left to right: The cone representation of a yellow colour X 1 and a cyan-blue colour X 2 , the base circles of X 1 and X 2 with a third base circle of a green colour X 3 that encompasses both of them, the cone representation of all three colours and the spectral supremum Definition 1 where λ 1 ( A) denotes the largest eigenvalue of A, were derived in [8].At this point, it should be noted that, in the case of positive semi-definite matrices, all three norms are Schatten norms || • || p for p ∈ {1, 2, ∞}. Definition 1 In contrast to the above approaches utilising norms, which compare matrices that are upper bounds, we will adopt a more direct approach.To accomplish this, we will employ an approximation of the maximum function by Maslov [9] as a matrix-valued function to directly calculate a matrix that acts as an upper bound.The subsequent section aims to present a detailed characterisation of this approach. Characterisation of the Log-Exp-Supremum In this section, we will construct a characterisation for the log-exp-supremum that depends solely on the input data, albeit not continuously.This characterisation is based on the spectral decomposition of the matrices under consideration and some properties of symmetric 2 × 2 matrices and the Rayleigh product.Given that this characterisation is based on spectral decomposition, this section will be divided into three parts.The first part will consider the case where there is a unique largest eigenvalue among the input data.The second part will consider the case where there is no unique largest eigenvalue.The third and final part will consider a general case that includes the other two cases and some associated properties.In particular, the log-exp-supremum is transitive, a property that will be demonstrated at the conclusion of this section. Definition 4 We define for a multi-set X = {X 1 , . . ., X n }, n ∈ N, of symmetric real 2 × 2 matrices the log-expsupremum (LES) as Definition 4 Remark 1 The log-exp-infimum follows by duality: Definition 4 Furthermore, we explain the spectral decomposition of X i by Definition 4 where λ i , μ i ∈ R are the eigenvalues of X i and u i ⊥ v i are the normalised eigenvectors to the corresponding eigenvalues. LES for a Unique Largest Eigenvalue We will now assume that λ 1 is the unique largest eigenvalue among all eigenvalues of X (14) and further that without loss of generality the eigenvectors of X 1 have LES for a Unique Largest Eigenvalue i.e. they are axis-aligned and fulfil u 1 = e 1 := (1, 0) T and v 1 = e 2 := (0, 1) T .Using these assumptions, we calculate the matrix exponential according to the general application of functions to diagonalisable matrices, see [21]: LES for a Unique Largest Eigenvalue Next, we determine the major eigenvector for this matrix when m tends to infinity. LES for a Unique Largest Eigenvalue Lemma 1 Let the conditions ( 14) and ( 15) be fulfilled according to (13).Then LES for a Unique Largest Eigenvalue Proof We declare the Rayleigh product as LES for a Unique Largest Eigenvalue and consider it for vectors LES for a Unique Largest Eigenvalue which vary in the second component with ε around u 1 .We determine LES for a Unique Largest Eigenvalue because we assumed that λ 1 is the unique largest eigenvalue and |ε| 1.By considering LES for a Unique Largest Eigenvalue we obtain LES for a Unique Largest Eigenvalue We know that f m (ε) ≥ 0 for all m > 0, since λ i ≥ μ i for i = 2, . . ., n.Furthermore, we set LES for a Unique Largest Eigenvalue We therefore have the following estimation: LES for a Unique Largest Eigenvalue This means that the function lim m→∞ R Em (w ε ) R Em (w 0 ) has a local maximum at ε = 0 and thus concludes the proof. LES for a Unique Largest Eigenvalue To interpret this lemma, we declare the major eigenvector of E m as ūm .Then we obtain from the lemma the equation lim m→0 ūm = u 1 , and since the eigenvectors of 1 m log E m are the same as those of E m , it also follows that u 1 is the major eigenvector of S. Since all considered matrices are 2 × 2 matrices, we can deduce the second normalised eigenvector of S as the vector that is orthogonal to the first eigenvector u 1 = (1, 0) T , namely v 1 = (0, 1) T .As the next step, we will determine the eigenvalue corresponding to u 1 . LES for a Unique Largest Eigenvalue Lemma 2 Let the conditions of Lemma 1 be fulfilled.Then the eigenvector u 1 of S according to (11) has the corresponding eigenvalue λ 1 . LES for a Unique Largest Eigenvalue Proof Since the largest eigenvalue of E m is just expressed by the value of the Rayleigh product at the point where it takes its maximum, i.e. at w ε , as we have established in the proof of Lemma 2, we obtain as major eigenvalue (16).This means that the major eigenvalue of 1 m log E m is LES for a Unique Largest Eigenvalue where the second term in the first log function vanish in the limit because μ 1 , λ i , μ i for i = 2, . . ., n are smaller than λ 1 , see (17).Thus, the major eigenvalue of S is just LES for a Unique Largest Eigenvalue The final step in the characterisation of S is to calculate the second eigenvalue corresponding to v 1 , but for this we need a refinement of our calculations in the proof of Lemma 1.To achieve this, we establish the following lemma: Lemma 3 Let the conditions of Lemma 1 be fulfilled and additionally ε(m) be the value of ε for which v Proof In the proof of Lemma 1, we have already seen that ε → 0 for m → ∞ and that the Rayleigh product fulfils Lemma 3 Let the conditions of Lemma 1 be fulfilled and additionally ε(m) be the value of ε for which v Since the critical point is at ε → 0, we want to approximate this point by a Taylor approximation of order two: Lemma 3 Let the conditions of Lemma 1 be fulfilled and additionally ε(m) be the value of ε for which v For this, we determine Lemma 3 Let the conditions of Lemma 1 be fulfilled and additionally ε(m) be the value of ε for which v and by setting λ := max(μ 1 , λ 2 , . . ., λ n ), we obtain Lemma 3 Let the conditions of Lemma 1 be fulfilled and additionally ε(m) be the value of ε for which v In this context, the symbols O and represent the corresponding Landau symbols.The term O( • ) symbolises an upper bound for the asymptotic order, while the term ( • ) denotes the exact asymptotic order.We will now determine the maximum of ( 18) by means of differentiation: Lemma 3 Let the conditions of Lemma 1 be fulfilled and additionally ε(m) be the value of ε for which v Since we can add a constant value to all eigenvalues and subtract it again later when we have formed the LES, we can assume without loss of generality that λ 1 = 1.If we let m → ∞, then the first fraction will converge to zero and the second fraction will diverge in the denominator to infinity, because λ 1 > λ.This means, we have ε → 0 for m → ∞. Lemma 3 Let the conditions of Lemma 1 be fulfilled and additionally ε(m) be the value of ε for which v Together with R (0) < 0 it follows that ε → 0 represents a maximum of R(ε), which concludes this proof. Lemma 3 Let the conditions of Lemma 1 be fulfilled and additionally ε(m) be the value of ε for which v With this enhancement of our previous calculation of Lemma 1, we are in the position to determine the second eigenvalue that is needed for the characterisation of S. To this end, we note the next lemma. Lemma 4 Let the conditions of Lemma 3 be fulfilled.Then, the eigenvalue of S belonging to the eigenvector v 1 is the largest eigenvalue of any of the matrices X i , i = 1, . . ., n, whose eigenvector is not aligned with u 1 .Proof 1.) Analogous to the proof of Lemma 1, we start with the Rayleigh product of E m , but with an eigenvector that is perpendicular to our first "test eigenvector" w ε , namely Lemma 4 2.) Let us first assume that the second largest eigenvalue is λ 2 and s 2 = 0, so that the eigenvector u 2 is not aligned with the first eigenvector u 1 .Then we can rewrite this equation as Lemma 4 If we only look at the terms in the big brackets, we find that only s 2 − εc 2 2 is constant with respect to m, while all the other terms, with the exception of ε 2 e m(λ 1 −λ 2 ) , involve exponential functions with negative multiples of m, which will approach zero for m → ∞.We conclude from Lemma 3 that Lemma 4 and we also know that ε → 0 for m → ∞.So will ε 2 e m(λ 1 −λ 2 ) → 0 for m → ∞.The remaining terms we consider are Lemma 4 where μ is the next largest eigenvalue after λ 2 .From there, we calculate Lemma 4 m and for m → ∞ we obtain that 1 m log R(ε) → λ 2 , since ε goes exponentially to 0 for m → ∞.This proves this case. Lemma 4 3.) Let us now assume that μ 1 is the second largest eigenvalue.In this case, the results of Lemma 3 would be obtained with λ = μ 1 , and the same procedure as that employed in the current proof would be followed, but with the exclusion of the μ 1 term in place of the λ 2 term.Thereby, we would achieve Lemma 4 for the leading terms in (19), where μ is the next largest eigenvalue after μ 1 .The rest is done analogously. Lemma 4 4.) Now we assume that λ 2 has the same eigenvector as λ 1 . Lemma 4 Then it follows that s 2 = 0, and therefore, s 2 − εc 2 2 → 0 for m → ∞ in equation (19).Because of that we would extract the next smaller eigenvalue and repeat the above calculation until we find an eigenvalue whose eigenvector is not u 1 .Then we would do the same proof with the term of this eigenvalue instead the λ 2 term. 5.) The final case would be that the second largest eigenvalue λ 2 is not unique.This would result in further terms like s 2 − εc 2 2 in (19) for the other eigenvalues equal to λ 2 .Since these terms remain O(1), they will not change the result of the proof. 5.) We summarise our previous findings on our first theorem: 5.) Theorem 1 Let X = {X 1 , . . ., X n }, n ∈ N, be a multi-set of symmetric real 2 × 2 matrices and λ 1 be the unique largest eigenvalue of all matrices of X with the corresponding normalised eigenvector u 1 .Then the log-exp-supremum of X has the representation 5.) where μ * is the next largest eigenvalue among all matrices of X whose normalised eigenvector v * is not aligned with the eigenvector u 1 and v 1 is the normalised eigenvector perpendicular to u 1 . 5.) Proof A rotation matrix R −ϕ 1 is employed to rotate all eigenvectors in X , with the rotation angle represented by −ϕ 1 .This results in the transformation of X 1 into a diagonal matrix with diagonal entries λ 1 and μ 1 .Thereby, assumption ( 15) is fulfilled and we can apply Lemma 1-4 to the rotated input matrices X −ϕ 1 .For the LES, we get 5.) where μ * is the next largest eigenvalue among all matrices of X whose normalised eigenvector v * is not aligned with the eigenvector e 1 = (1, 0) T , and e 2 = (0, 1) T .We achieve the LES of the original X by rotating all of the eigenvectors back with R ϕ 1 : 5.) Before we look at the case where the largest eigenvalue is not unique, let us calculate a small example with numerical values for better understanding. Example 1 We consider as RGB colours blue C 1 = (0, 0, 1), a medium dark brown C 2 = 3 5 , 2 5 , 1 5 and a shade of bluemagenta C 3 = 1 3 , 1 3 , 5 6 and calculate the LES for them.To do this, we first convert the RGB colours into symmetric matrices as described in Section 2.1: Example 1 ≈ −0.2828 0.2450 0.2450 0 and Example 1 Then, we form the spectral decomposition (13) with the eigenvalues λ i , μ i and eigenvectors u i , v i for i = 1, 2, 3: Example 1 ≈ −0.8660 0.5000 and Example 1 The largest eigenvalue of this is λ 1 and it is also unique.According to Theorem 1, we take as eigenvectors for S the vectors u 1 and v 1 .The second largest eigenvalue is λ 3 , but u 3 = u 1 , so we do not consider this eigenvalue.Therefore, the next largest eigenvalue is λ 2 , and since it has a different eigenvector direction than λ 1 , we select it as the second eigenvalue for S. In conclusion, we thus obtain for the LES: Example 1 which represents in the RGB space a medium light shade of blue-magenta colour: 3 5 , 3 5 , 1 (Fig. 4). LES for Non-unique Largest Eigenvalues Until now, we have assumed that the largest eigenvalue λ 1 is unique, but we now want to show what we get when this is not the case.To do this, we first show that the largest eigenvalue of S cannot be greater than λ 1 : LES for Non-unique Largest Eigenvalues Lemma 5 Let S be defined as in (11) and condition (15) be fulfilled according to (13).Furthermore, let X 1 has the largest not necessarily unique eigenvalue λ 1 of all matrices of X .Then the largest eigenvalue of S cannot be greater than λ 1 . Proof We have already seen that the largest eigenvalue of S arises from the Rayleigh product R(ε), |ε| 1, which can be estimated as follows: Proof Thus, the largest eigenvalue of S can be approximated with Proof In a similar way, one can also show that S is indeed an upper bound for the X i , i = 1, . . ., n.To do this, we prove the following lemma: Lemma 6 The LES S according to (11) is an upper bound in the Loewner sense for the given matrices X . Proof Apparently one has which in combination with the fact that the logarithm is an operator-monotone function [22], i.e.A ≤ L B ⇒ log A ≤ L log B for symmetric positive definite matrices A, B, results in S ≥ L X j for all j ∈ {1, . . ., n}. Proof Apparently one has We now continue our considerations regarding the other largest eigenvalue.If there is a second eigenvalue which is equal to λ 1 , it can then be either μ 1 or one of the λ j , since λ j ≥ μ j .If it were μ 1 , then X 1 would have the representation λ 1 I and the only matrix with equally aligned eigenvectors that would be greater than or equal to λ 1 I in the Loewner sense without having an even greater eigenvalue would be λ 1 I itself. Proof Apparently one has For the other case that λ j = λ 1 for a fixed j ∈ {2, . . ., n} will we assume that without loss of generality j = 2 holds.We summarise the argumentation necessary for this in the following theorem: Proof Apparently one has Theorem 2 Let S be the LES of the multi-set X = {X 1 , . . ., X n }, n ∈ N, of symmetric real 2×2 matrices with the spectral decomposition (13) and λ 1 = λ 2 the largest eigenvalues of all these matrices.Then one has Proof Apparently one has where μ * ≤ λ 1 is the next largest eigenvalue whose eigenvector v * is not aligned with u 1 . Proof Apparently one has Proof 1.) To ensure assumption (15), we begin this proof with the same rotation as in the proof of Theorem 1.Then, we consider some of the properties of S. The first property is that the largest eigenvalue of S is λ 1 .This is a consequence of Lemma 5 and the fact that the Rayleigh product R * (ε) for this case is greater than or equal to the R(ε) in Lemma 1. Consequently, Lemma 2 is also subject to this relation in accordance with Proof Apparently one has This leads to the second property, namely the spectral decomposition of the rotated LES S −ϕ 1 : Proof Apparently one has Lemma 6 gives us the upper bound property, in particular, this satisfies Proof Apparently one has apply. Proof Apparently one has 2.) Let us assume that s 2 = 0, then it follows from the first relation of ( 21) that α ≥ λ 1 .Because of Lemma 5, the eigenvalue α cannot be greater than λ 1 , which leads to α = λ 1 .This in turn leads to the spectral decomposition having the following form: Proof Apparently one has By rotating all eigenvectors back by R ϕ 1 , we achieve Proof Apparently one has 3.) Now we assume the other case s 2 = 0. Therefore, we have s = 0 and c = ±1.If we insert these values into the spectral decomposition, we obtain Proof Apparently one has By comparing with equation ( 21 Thus, we can repeat all the steps up to Theorem 1 with minor adjustments and get the result from the theorem with α = μ * , where μ * is the next largest eigenvalue of X whose eigenvector v * is not aligned with u 1 .By rotating it back, we achieve as in the proof of Theorem 1: Proof Apparently one has Otherwise, we return to the argumentation of Lemma 4 with the difference that λ 2 = λ 1 holds.We then obtain for the Rayleigh product in the case s 2 2 = 0: Proof Apparently one has where μ * is again the next largest eigenvalue of X whose eigenvector v * is not aligned with u 1 .By determining 1 m log R(ε) again for this and then taking the limit for m → ∞, the ε terms and the O(•) term will disappear and only λ 1 remains.Thus, we have S −ϕ 1 = λ 1 I again. Proof Apparently one has At this point, we would also like to give a small example in the case that the largest eigenvalue is not unique. Proof Apparently one has Example 2 Here we consider the simple example of a bipartite image consisting of the two RGB colours blue C 1 = (0, 0, 1) and green C 2 = (0, 1, 0).The corresponding symmetric matrices are Proof Apparently one has This results in the following eigenvalues and eigenvectors: Proof Apparently one has Since the largest eigenvalue is not unique and the corresponding eigenvectors u 1 , u 2 are not equal, we obtain by Theorem 2 the LES Proof Apparently one has which represents the RGB colour white (1, 1, 1). Proof Apparently one has To clarify the phenomenon that the supremum of blue and green in Fig. 5 of Example 2 is white, we must first bear in mind that both colours lie on the edge of the unit circle of the bi-cone, directly opposite each other in the y-direction, see Figure 6. Proof Apparently one has This means that in order to maintain the Loewner order, you would have to choose the smallest circle that contains both points.However, this smallest circle depends on the choice of the supremum.If, for example, we choose the trace supremum of Burgeth et al. [23], see Fig. 6, this circle protrudes from the unit circle and the resulting cone from the bi-cone, i.e. it would be an impermissible colour.This is avoided by the warp factor introduced by Burgeth and Kleefeld [18], see Fig. 6, but at the cost that the circle no longer includes blue and green, i.e. is no longer larger according to the Loewner order.The LES basically sees it in such a way that the smallest and only circle within the bi-cone, which still includes blue and green, is the unit circle itself, i.e. white. Remark 2 The discolouration that occurs in the LES is therefore a fundamental consequence of the Loewner order, which states that the closer the colours are to the edge and the further apart they are, the higher the colour cone of the supremum must be. General Characterisation and Properties of the LES In this subsection, we will give a general characterisation of the LES for any combination of eigenvalues.Based on this, we will show two interesting properties in the form of transitivity and associativity with respect to dilation.The latter property in particular sets our approach apart from other multidimensional approaches, since, to our knowledge, it does not exist in colour morphology as opposed to greyscale morphology. General Characterisation and Properties of the LES In order to provide greater clarity, we shall now present a summary of the two preceding theorems in the form of a corollary that gives us a general characterisation of the LES. General Characterisation and Properties of the LES Corollary 1 Let S be the LES (11) of the multi-set X = {X 1 , . . ., X n }, n ∈ N, of symmetric real 2 × 2 matrices with the spectral decompositions (13) and λ 1 (one of) the largest eigenvalues of all these matrices.Furthermore, let V(X ) be the set of all eigenvectors of the matrices of X and V λ 1 sup (X ) be the set of corresponding eigenvectors to the largest eigen-values equal to λ 1 , i.e. General Characterisation and Properties of the LES Then, the LES can be characterised as follows: General Characterisation and Properties of the LES where μ * ≤ λ 1 is the next largest eigenvalue of X whose corresponding eigenvector v * is not aligned with u 1 . General Characterisation and Properties of the LES We will show in the following proposition that the LES S, as previously characterised by (22), exhibits a transitive property in general. Proposition 1 The LES (11) is transitive, i.e. for multi-sets X and Y of symmetric 2 × 2 matrices one has Proposition 1 Proof 1.)For the multi-sets, we will use the notation Proposition 1 The right-hand side of ( 23) can be calculated as Proposition 1 The LES S 1 and S 2 are characterised according to (22) as Proposition 1 and Proposition 1 For the characterisation of S 1 , we assumed that λ 1 is the largest eigenvalue of X with the corresponding eigenvector u 1 , λ * is the next largest eigenvalue of X whose eigenvector is not aligned with u 1 and v 1 is the eigenvector perpendicular to u 1 .The same can be said of the characterisation of S 2 , insofar as we use Y, μ 1 and μ * instead of λ 1 and λ * and the eigenvectors ũ1 and ṽ1 as replacement for u 1 and v 1 . Proposition 1 Since S r is again an LES approximation for two symmetric 2 × 2 matrices, we can characterise it as follows Proposition 1 where η 1 represents the maximum of λ 1 and μ 1 and it is associated with the corresponding normalised eigenvector ū1 .The term η * , on the other hand, denotes the next largest eigenvalue within the set {λ 1 , λ * , μ 1 , μ * } of possible eigenvalues and, in addition, corresponds to an eigenvector that is not aligned with ū1 .The eigenvector v1 denotes the eigenvector perpendicular to ū1 and S is defined as S := {S 1 , S 2 }. Proposition 1 2.) For the left-hand side of ( 23), we obtain with the characterisation (22): Proposition 1 where ν 1 is (one of) the largest eigenvalues of Z with the corresponding normalised eigenvector û1 , ν * is the next largest eigenvalue of Z with an eigenvector that is not aligned with ν 1 and v1 is the normalised eigenvector perpendicular to û1 .Since ν 1 is the largest eigenvalue of Z = X ∪ Y, it is also the largest eigenvalue of X and Y and as such it fulfils ν 1 = η 1 . Proposition 1 3.) The first case of S l will only happen if there are at least two largest eigenvalues in Z whose eigenvectors are not aligned.As they would be the largest eigenvalues of Z, they would also be the largest eigenvalues of X or Y.In the event that both values correspond to matrices from the multi-set X , then S 1 would be a diagonal matrix with these eigenvalues.The same would apply for S 2 if they would both correspond to matrices from Y.This implies that in these cases, one of S 1 and S 2 would be a diagonal matrix with these eigenvalues. Proposition 1 As they are part of the largest eigenvalues, the corresponding matrix would be selected for S r . Proposition 1 For the case that these two eigenvalues are distributed between X and Y, they would nevertheless be selected as either λ 1 , λ * , μ 1 or μ * .This is because they remain the largest eigenvalues, and any other largest eigenvalues would have the same eigenvectors as these two, which would then be deemed equivalent to the corresponding one of the two largest eigenvalues with non-aligned eigenvectors.Consequently, the corresponding eigenvectors would be in V η 1 sup (S), and S r would take the form of a diagonal matrix with these two eigenvalues.In conclusion, The first case of S l occurs if and only if it occurs at S r and they coincide. Proposition 1 4.) For the second case, we use that we have already identified η 1 with ν 1 .This implies that the corresponding eigenvectors are also the same, that is, we have û1 = ū1 and v1 = v1 .Ultimately, it follows from the construction of the corresponding characterisations shown above and a similar reasoning as in the first case that ν 2 = η 2 must hold.Furthermore, it can be shown that S l and S r are identical in this case. Proposition 1 To conclude this section, we want to use this property to prove the associativity of LES dilation.For this purpose, we first define what we understand by LES dilation and LES erosion. Definition 5 Let ⊆ Z 2 be the two-dimensional, discrete image domain, f : → R 3 a colour image and b : Z 2 → R 3 ∪{(−∞, −∞, −∞) T } the structuring function with components according to (1) of the set B 0 ⊂ Z 2 .Furthermore, let τ : R 3 → Sym(2) be the transformation from the vector of the corresponding colour space to the symmetric 2 × 2 matrix according to Subsection 2.1.Then we define the LES dilation as Definition 5 Let In accordance with the duality (5) between dilation and erosion for the grey value case, we can also define the LES erosion here by means of LES dilation as follows: Definition 5 Let where the complement of a colour vector is to be understood as an component-wise complementation according to (4): Definition 5 Let Here, R max represents the largest red value of the image f and R min the smallest; the same applies to the corresponding G and B terms. Definition 5 Let We now turn to the mentioned associativity of LES dilation. Theorem 3 The LES dilation ( 24) is associative, i.e. for a colour image f : Z 2 → [0, 1] 3 and for the structuring elements given by the structuring functions b 1 , b 2 : Theorem 3 Proof To proof this claim, we will compare the considered matrices for both sides of the equation.We use the expression X(x) := τ ( f (x)) to notate the matrices of the image f .Similarly, we do this for the structuring functions of B 1 and Theorem 3 For the left-hand side of equation ( 26), we calculate for the first dilation Theorem 3 and by the second dilation Theorem 3 Since B 2 is a discrete set, we can numerate the elements of B 2 with z 1 , . . ., z m , m ∈ N, and rewrite the equation as Theorem 3 since the summation with a constant matrix W 2 (z i ) does not influence the decision of the LES except of a global (for each individual LES) rotation of the eigenvectors and change of the eigenvalues.Then by setting Theorem 3 and using the transitivity (23), we obtain for all x ∈ : Theorem 3 The right-hand side of (26) fulfils for the first dilation with the structuring functions the equality Theorem 3 However, since b 1 and as such W 1 will "vanish" with −∞ in the sense of the dilation for y − z / ∈ B 1 , we can introduce the set Theorem 3 and replace y ∈ Z 2 with y ∈ B 1 ⊕ B 2 .We calculate the second dilation as follows Theorem 3 Given that B 1 ⊕ B 2 is also a discrete set, the same countability trick that was employed previously can be applied, resulting with y 1 , . . ., y k in the following: Theorem 3 By defining Theorem 3 and using the transitivity (23), we obtain for all x ∈ : Theorem 3 By substituting y = ŷ + z with ŷ ∈ B 1 and z ∈ B 2 in the last equation, we see that it equals (27), which concludes the proof. Theorem 3 We demonstrate the correctness of this statement again using the colours from example 1, see Fig. 7. To do this, we also use a different SE for b 2 in the form of a centred quadratic 11 × 11 mask.We can see from this that the two resulting images match visually according to (26).An examination of the numerical colour values also shows an identity between these images. Theorem 3 Remark 3 Analogously, it can be shown for LES erosion ( 25) that Theorem 3 applies. Minimality of the LES So far, we have only shown that the LES ( 11) is an upper bound in the sense of the Loewner order.In this section, we address the question of whether it is also a smallest upper bound or under which conditions it is.To do this, we start from the framework [8] of Welk, Kleefeld and Breuß and add another function to our semi-order to select a smallest upper bound from the set of upper bounds introduced by the semiorder, as already mentioned in Section 2.2.This auxiliary function serves to find a unique minimum within the given set, so that we may have no total order but an auxiliary order.This is the reason why we refer to it as the auxiliary ordering function. Minimality of the LES The main problem here is the existence of a total ordering function ϕ on the set U(X ) of upper bounds in the Loewner sense of the symmetric matrices X = {X 1 , . . ., X n }, n ∈ N, for which the LES S is the unique minimiser.To see this, we first prove the following lemma. Lemma 7 Let S be the LES (11) for a given multi-set X of symmetric 2 × 2 matrices and let λ 1 be the unique largest eigenvalue of X .Whenever the second largest eigenvalue λ 2 of X is unique, and its original eigenvector u 2 is not perpendicular to the eigenvector u 1 of λ 1 , there exists some matrix Lemma 7 , where v 1 is the eigenvector perpendicular to u 1 .Since we can add a constant value to all eigenvalues and subtract it again later when we have formed the LES, we assume without loss of generality that λ 1 = 1, and its associated eigenvector is u 1 = (1, 0) T .This makes v 1 = (0, 1) T and we get the representation Lemma 7 Then we examine for which q the matrix S remains in U(X ). Lemma 7 For this, we choose an arbitrary X ∈ X with a major eigenvalue λ satisfying λ ≤ λ 2 and the associated eigenvector u = (c, s) T with c = cos(ϕ) and s = sin(ϕ).Further, let μ be the minor eigenvalue of X and have the associated eigenvector v = (−s, c) T .Then X has the following representation Lemma 7 because of its spectral decomposition (13).Note that Y := S − X ≥ L 0 must necessarily be satisfied for S ∈ U(X ) to hold.To verify Y ≥ L 0, the following relations must apply: Lemma 7 We calculate for the first term Lemma 7 In order for the second term, R Y (u 2 ) = q − λs 2 − μc 2 , to be non-negative, it is always possible to find a q ∈ [λs 2 + μc 2 , λ 2 ) that will fulfil this requirement, provided X = X 2 with u 2 = (0, 1) T ⊥ u 1 .Then, the last term can be calculated as Lemma 7 which is non-negative if and only if Lemma 7 Since c 2 ≥ 0, μ ≤ λ < 1 and (29), we see that the fraction on the right-hand side is non-negative.This means that the largest term that can occur on the right-hand side would be λ and since λ 2 is our second largest eigenvalue and unique, λ < λ 2 except in the case where we consider the matrix X belonging to λ 2 .However, in this case, because of uniqueness, λ 2 > μ 2 and c 2 = 0, otherwise u 2 would point in the same direction as v 1 , contradicting the condition u 2 ⊥ u 1 .This means that the fraction on the right-hand side would be positive, and thus, the term on the right-hand side would be strictly less than λ 2 . Lemma 7 The case for X with λ = λ 1 provides the matrix Y = 0 0 0 q − μ 1 with μ 1 < λ 2 because λ 2 is the second largest eigenvalue and unique.The relation Y ≥ L 0 holds if and only if q ≥ μ 1 .Since μ 1 < λ 2 and q < λ 2 (otherwise S = S), we can find a q with μ 1 ≤ q < λ 2 to fulfil the requirement. Lemma 7 In summary, this means that in every case the right-hand side of (30) is strictly less than λ 2 .Thus, if we compute for all X ∈ X the bounds of q, which are all strictly less than λ 2 , and then take the largest of them, we obtain the claim (28) of the lemma. Lemma 7 Corollary 2 Under the conditions of Lemma 7, S cannot be the unique minimiser of a function ϕ according to (10). Lemma 7 Proof Suppose S were a minimiser of a function ϕ according to (10).Then ϕ(S) ≥ ϕ(S ) because S ≥ L S and the Loewner monotonicity of ϕ.Since S is minimal with respect to ϕ, only ϕ(S) = ϕ(S ) can be true.However, this is a contradiction to the uniqueness of the minimiser.This may seem like a big disadvantage at first.However, with the following slight modification of our set U(X ) of possible upper bounds of X , we can ensure that the LES actually acts as a minimiser there, as we will demonstrate in this section. Lemma 7 Definition 6 For a multi-set X of symmetric 2 × 2 matrices with non-negative eigenvalues, let X p := {X p : X ∈ X } be the element-wise application of the pth power to the multi-set X .We define the p-power upper bound cone as Lemma 7 and denote the intersection of all p-power upper bound cones as the super-upper bound cone Lemma 7 For a multi-set X of symmetric 2 × 2 matrices for which −c < 0 is the smallest among all eigenvalues of the matrices in X , define Lemma 7 where Lemma 7 and I is the identity matrix. Lemma 7 Remark 4 Equation ( 33) is particularly applicable to the set U(X ) of upper bounds of a multi-set X , as Sup LE (X + c) − c I = Sup LE (X ), and thus, U(X + c) − c = U(X ) always hold. Lemma 7 To show that S is the unique minimiser of ϕ in U * (X ), we first prove that it is contained in it. Lemma 7 Lemma 8 Let X be a multi-set of symmetric 2 × 2 matrices, and let S be as in Lemma 7. Then one has S ∈ U p (X ) for any p > 0. Lemma 7 Proof We use for S the same form as in Lemma 7 and assume again without loss of generality that λ 1 = 1, and its associated eigenvector is u 1 = (1, 0) T .This implies v 1 = (0, 1) T . Lemma 7 Since we only consider real symmetric and thus diagonalisable matrices, we can simply express the power of such a matrix according to [21] as follows: Lemma 7 The representation of S in terms of the pth power will then take the following form: Lemma 7 . Lemma 7 On the basis of U(X + c) − c = U(X ), see Remark 4, we can assume without restriction that λ 2 ≥ 0 applies.So we see that the only difference to our previous calculation of the LES is that all eigenvalues are now raised to the power of p.This means that our LES looks the same as before with the difference that we exponentiate its entries, i.e. the two largest permissible eigenvalues, by p and thus obtain S p .Thus, we have S p ∈ U(X p ), from which the claim follows. Lemma 7 Next, we will define the as yet unspecified function ϕ and show that it fulfils all the necessary conditions according to Section 2.2.In particular, we will see that for this function S is the unique minimiser in U * (X ).( Lemma 7 Then it follows that (i) the function ϕ is Loewner-monotone, (ii) the function ϕ is convex on U(X ), and Lemma 7 (iii) S is the unique minimiser of ϕ in U * (X ). Lemma 7 The inequality implies that for any vector w ∈ R 2 the Rayleigh products must satisfy R B (w) ≤ R A (w). Lemma 7 By setting w = u B to the unit eigenvector corresponding to the largest eigenvalue λ B of B, the Rayleigh product of B will equal the largest eigenvalue according to R B (u B ) = λ B .The Rayleigh product of A with u B will take a value α ∈ [μ A , λ A ] according to the min-max theorem (cf.[24], Theorem 4.2.2),where μ A is the smaller and λ A the larger eigenvalue of A. Upon inserting this into the inequality for the Rayleigh products, we obtain Lemma 7 from which it follows that the largest eigenvalue of A is greater or equal to the largest eigenvalue of B. If λ A > λ B , ϕ(B) ϕ( A) is already established. Lemma 7 If this is not the case, we need to consider the minor eigenvalues of A and B. By choosing w = v A as the unit eigenvector corresponding to the smallest eigenvalue μ A of A, the Rayleigh product of A will equal the smallest eigenvalue according to R A (v A ) = μ A .If we also consider the Rayleigh product with B, we again obtain with the min-max theorem a value β ∈ [μ B , λ B ], where μ B is the smallest eigenvalue of B, for this and by inserting it into the inequality mentioned at the beginning, we obtain Lemma 7 Consequently, we can guarantee that the smallest eigenvalue of B is less than or equal to the smallest eigenvalue of A, and thus, ϕ(B) ϕ( A) holds. Lemma 7 (ii) We want to prove here that ϕ is convex on U(X ) according to Definition 3.For this, we consider the two vector spaces Sym(2) and R 2 and the convex set U(X ) ⊂ Sym(2).We have already seen the convexity of the last set in Section 2.2.Further, we need an order cone on the R 2 equipped with the lexicographic order, which we denote simply as Lemma 7 That is, the only thing we still need to check is the validity of (9).For this, we consider for all Y 1 , Y 2 ∈ U(X ) and α ∈ [0, 1]: Lemma 7 Let us assume without loss of generality that Z is a diagonal matrix.Further, let λ i ≥ μ i be the eigenvalues of Y i with the corresponding eigenvectors (c i , s i ) T , (−s i , c i ) T for i = 1, 2 according to (13).Then, we have Lemma 7 and Lemma 7 Note that the two eigenvalues λ * , μ * do not necessarily have to be ordered in this way.If we substitute this into our inequality (35), we obtain Lemma 7 To prove this inequality, we first show that both eigenvalues λ * , μ * are less than or equal to αλ 1 + (1 − α)λ 2 : Lemma 7 If strict inequality applies to both inequalities, we would have proven the statement.Otherwise, one of the two diagonal entries is equal to αλ 1 +(1−α)λ 2 , without loss of generality, let this be λ * .Then it follows Lemma 7 whereby we have exploited in the last line that the trace of a matrix can be understood as the sum of its eigenvalues.This means that in this case the smaller eigenvalue of Z is just the convex combination of the smaller eigenvalues of Y 1 and Y 2 or, in other words, satisfies the second line of inequality (36) with equality. Lemma 7 (iii) For this, we use the argumentation from the proof of Lemma 7 for (S ) p and X p instead of S and X to obtain a necessary condition for (S ) p ≥ L X p , using the representation from the proof of Lemma 8 for X p .Since in both cases the exponentiation by p does not change the eigenvectors but only the eigenvalues, we can take our conclusion (30) from the proof of Lemma 7 by exponentiating the eigenvalues all by p: Lemma 7 As in the proof of Lemma 7, we have again that the fraction on the right-hand side of (37) is non-negative for all μ ≤ λ < 1 and p > 0. Lemma 7 In the proof of Lemma 7 we had shown that the righthand side of the inequality (30) analogous to (37) was always smaller than λ 2 .Thus, we could guarantee that an ε > 0 exists, so that a similar matrix to the LES S exists whose second eigenvalue according to λ 2 − ε < λ 2 is strictly smaller than that of the LES S, which showed that the LES was not the unique minimiser.So all we have to prove here is that no such ε exists for given λ, μ, c, s and p → ∞. Lemma 7 Let us assume that ε > 0 exists so that (37) is satisfied for q = λ − ε and arbitrarily large p > 0. In particular, we can also assume without restriction of generality that our eigenvalues can be mapped bijectively to the interval [0, 1] or more precisely to Lemma 7 , 1 , where λ old 1 is the original largest eigenvalue of X , so that λ 1 = 1 and μ 1 , λ i , μ i ∈ [0, 1) for i = 2, . . ., n, see the following remark.This would mean that Lemma 7 holds.We rewrite the right-hand side of the inequality (38) into Lemma 7 If we consider the last [ • ] 1 p term in the equation (39), we can estimate as follows Lemma 7 and by using the limes for p → ∞ we obtain for the upper and lower limit lim (43) Lemma 7 For the last step, we substitute (39) in (38), let p approach infinity and use the equation (43): Lemma 7 which is a contradiction to ε > 0. This means that S / ∈ U * (X ). Lemma 7 Remark 5 Let X ∈ X be arbitrary and X = λuu T + μvv T as in (13), where λ, μ are the eigenvalues of X and u, v the associated normalised eigenvectors.Since the greatest element in the HCL bi-cone is the colour white with the eigenvalues 1 .This means that the transformation Lemma 7 has the eigenvalues λ, μ ∈ [0, 1].It follows from the fact that Lemma 7 where the lower and upper bound are derived from λ ∈ − 1 √ 2 Lemma 7 , λ 1 .Consequently, the addition of the scaled unit matrix affects only the eigenvalues but not the eigenvectors.As a result, this can also be applied directly to the LES: Relaxation of the LES Now that we have seen several favourable properties of the LES, we want to address a disadvantage of our approach that we have not considered further so far.It is one of the reasons why this approach was not pursued further in favour of the trace supremum Sup tr in the work [12].This is due to the fact that the LES does not depend continuously on the input data.In this section, we will first look at the cases where this problem occurs and then see that it can be solved using a straightforward relaxation. Relaxation of the LES To visualise this problem, let us consider the following scenario: We have a multi-set X = {X 1 , . . ., X n }, n ≥ 3, of symmetric 2 × 2 matrices in which the three largest eigenvalues λ 1 > λ 2 > λ 3 with the associated eigenvectors u 1 , u 2 , u 3 belong to three different matrices X 1 , X 2 , X 3 ∈ X .In addition, the eigenvectors have the relationship u 1 = u 2 and u 3 = ±u 1 to each other.According to Theorem 1, we obtain for the LES Conclusion and Future Work Building on the work of Burgeth and his co-authors, see [7,12,18], we have investigated a characterisation for a previously unexplored application of the log-exp-supremum, which was introduced by Maslov [9] as an approximation of the maximum in convex optimisation, for colour morphology. Conclusion and Future Work To do this, we used Burgeth's and Kleefeld's [18] bijective mapping to assign each colour from the RGB colour space a colour in the form of a symmetric real 2×2 matrix in the HCL bi-cone and used the spectral decomposition of these matrices, the Loewner order and properties of the Rayleigh product to calculate the approximation.In particular, we were able to show that the LES is transitive according to equation (23) and, in combination with the dilation, makes it associative in colour morphology.The latter is a property that is otherwise only known from binary and grey value morphology and, to our knowledge, the only multidimensional dilation in colour morphology with this property. Conclusion and Future Work Moreover, our findings indicate that while the LES is not uniquely minimal with respect to the set of upper bounds of the input data derived from the Loewner ordering, it does, however, exhibit unique minimality when considered in conjunction with the intersection of all p-power upper bounds, as defined in Definition 6.To achieve this, the eigenvalues and the Rayleigh product of the exponentiated matrices were employed to eliminate the problematic cases through the limit as p → ∞. Conclusion and Future Work Finally, we have also addressed one of the biggest downsides of the LES, namely the fact that it does not depend continuously on the input data.However, among other things, this only applied to non-generic configurations of the orthonormal bases of the input data, which allowed us to remove these by means of a relaxation of the LES, the RLES.The input data was changed slightly so that these cases no longer occurred.This change also meant that not only these discontinuities were removed, but all discontinuities were removed without losing the favourable properties of the LES shown above.Since the duality relationship between dilation and erosion is also intact in our method, all the properties of dilation shown here can be transferred to the corresponding properties of erosion. Conclusion and Future Work In light of these findings, there are several avenues for further investigation of this method in the future.The most notable aspect is the significant increase in brightness of the image.One could compare whether the behaviour is similar to that of the paper by Kahra, Sridhar and BreuSS, see [10].In addition, given the paper [25] by Kahra and BreuSS, it seems possible to find parameters so that these supposed artefacts disappear from [10].However, this would likely be a challenging undertaking.Alternatively, one could also consider the differences in supremum formation with respect to other suprema employed in colour morphology, such as the onedimensional case or other multidimensional cases, including the trace supremum [23] or other suprema [8], and compare them with each other.It should be noted that our method is not an optimal case and could be replaced by selecting a colour space other than the HCL bi-cone, such as Lab, in order to potentially offer additional advantages.The choice of this space was influenced by its graphically clear geometric properties. Fig. 1 Fig. 1 Application of different morphological operators on a 256 × 256 greyscale image with a 5 × 5 SE.From left to right: Downscaled original image from TAMPERE17 noise-free image database [14], dilation, erosion, opening and closing Sup 2 (X|| 2 1Fig. 2 Fig.2HCL bi-cone according to[18] Fig. 4 Fig. 4 Dilation of an 90 × 90 image based on the colours of example 1 with a centred 1 × 41 SE using the LES.From left to right: original image and dilated image Fig. 5 Fig. 6 Fig. 5 Dilation of a bivariate image consisting of blue and green from example 2 with a centred quadratic SE using the LES.From left to right: original image and dilated image Fig. 7 Fig. 7 Comparison of the associativity of dilation using the LES based on example 1.From left to right: LES dilation δ 1 of the 90 × 90 image from example 1 with the same 1 × 41 SE, LES dilation δ 2 of δ 1 with a Theorem 4 Let the conditions of Lemma 8 be satisfied and let the function ϕ : U(X ) → R 2 be explained as ϕ(Y ) = (λ, μ), where λ > μ are the eigenvalues of Y ∈ U(X ).Further, let R 2 be endowed with the lexicographic order (a, b) ≺ (a , b ) :⇐⇒ (a < a ∨ (a = a ∧ b ≤ b )), a, b, a , b ∈ R. λ p c 2 − μ p s 2 = exp lim p→∞ 1 p log 1 − 1 1 −≤ lim p→∞ 1 − 1 − μ p λ p ( 1 −( 1 − λ p c 2 − μ p s 2 = e 0 = 1.(42)By combining (40) with (41) and (42), we achieve1 λ p ) 1 − λ p c 2 − μ p s λ p ) 1 − λ p c 2 − μ p s 2 1 p = 1. √ 2 and 1 √ 2 , 1 √ 2 , 1 √ 2 the smallest element is the colour black with the eigenvalues − see[8], we have λ, μ ∈ − √ 2 and 1 √ 2 , 1 √ 2 , 1 √ 2 s 2 i e mμ i c i s i e mλ i − e mμ i c i s i e mλ i − e mμ i s 2 = e m 11 e m 12 e m 21 e m 22 with e m 11 = e mλ 1 + √ 2 and 1 √ 2 , 1 √ 2 , 1 √ 2 i e mλ i + c 2 i e mμ i and the summation over all i = 1, . .., n leads toE m := n i=1 exp(m X i ) i e mλ i − e mμ i = e m 21 and √ 2 and 1 √ 2 , 1 √ 2 , 1 √ 2 (e m i j ) i, j=1,2 would have the entries e m 11 = 2e mλ 1 + e mλ i − e mμ i = e m 21 and e m 22 = e mμ 1 + e mμ 2 + √ 2 and 1 √ 2 , 1 √ 2 , 1 √ 2 ), we see that the only nontrivial condition remaining is α ≥ μ 1 .If now u 1 = ±u 2 would hold, the matrix E m = i

섹션 본문 239문단 · 55,363자

(제목 없음)

1Mathematical morphology is a part of image processing that employs a moving window to modify pixel values through the application of specific operations.The supremum and infimum are pivotal concepts, yet defining them in a general sense for high-dimensional data such as colour is a challenging endeavour.As a result, a number of different approaches have been taken to try to find a solution, with certain compromises being made along the way.In this paper, we present an analysis of a novel approach that replaces the supremum within a morphological operation with the LogExp approximation of the maximum for matrix-valued colours.This approach has the advantage of extending the associativity of dilation from the one-dimensional to the higher-dimensional case.Furthermore, the minimality property is investigated and a relaxation specified to ensure that the approach is continuously dependent on the input data.

Introduction

2Mathematical morphology is a theory used to analyse spatial structures in images.Over the decades, it has developed into a very successful field of image processing, see, for example, [1][2][3] for an overview.Morphological operators basically consist of two main components.The first of these is the structuring element (SE), which is characterised by its shape, size and position.These in turn can be divided into two types of SEs, flat and non-flat cf.[4].A flat SE basically defines a neighbourhood of the central pixel where appropriate morphological operations are performed, while a non-flat SE also contains a mask with finite values that are used as additive offsets.The SE is usually implemented as a window sliding over the image.The second main component is used to perform a comparison of values within an SE.The basic operations in mathematical morphology are dilation and erosion, where a pixel value is set to the maximum and minimum, respectively, of the discrete image function within the SE.Many morphological filtering procedures of practical interest, such as opening, closing or top hats, can be formulated by combining dilation and erosion operations.Since dilation and erosion are dual operations, it is often sufficient to restrict oneself to one of the two when constructing algorithms.

3Let us also briefly extend this concept to colour morphology, as it is the underlying concept for our further considerations.As already mentioned, the most important operation in morphology is to perform a comparison of the tonal values or, in our case, the colour values within the SE over certain sets of pixels in an image domain.For the simpler application areas such as binary or grey value morphology, one can act directly on complete lattices in order to obtain a total order of the colour values, see [3].In the case of colour morphology, this is no longer the case, as there is no total order of the colour values.For this reason, corresponding semi-orders and different basic structures are used, cf.[5].The first approach that could be used for this would be to regard each colour channel of an image as an independent image and to perform grey value morphology on each of them.This approach has the serious disadvantage that we lose the correlated information between the colour channels, which could be used to further improve the filtering results.The other approach, which is more popular, uses a vector space structure in which each colour is considered a vector in an underlying colour space.In order to compute a supremum or infimum, it is necessary to have an order for the vector space.However, there are a plethora of ordering approaches for colour morphology.For details of the most commonly used approaches, we refer the reader to the overview provided in [6].We will take the latter approach, but use symmetric matrices instead of vectors.Since there is also no total order for colour matrices either, we will order the elements by means of a semi-order, namely the Loewner order, see [7].This means, though, that we need an additional function to select a minimum upper bound, namely the supremum function.

4To calculate two of the basic operations of colour morphology, dilation and erosion, it is necessary to determine the supremum or infimum.Because of the duality between these two operations, it is common to consider only one of them.Here we will concentrate on dilation and the construction of the supremum.However, there are several approaches how to choose the supremum of a set of symmetric matrices, based on different norms.To give some examples, we mention here the nuclear norm, the Frobenius norm and the spectral norm.For a comparison of these norms we refer to the work by Welk, Kleefeld and Breuß [8].

5Here we want to consider another approach, namely the approximation of the supremum by a so-called LogSum-Exp approximation of Maslov [9].This is an approximation which has already given promising results in the work of Kahra, Sridhar and Breuß [10] for greyscale images and for colour images in [11] in conjunction with a fast Fourier transform.However, the latter only represents a one-dimensional channel-wise approach to colour morphology.Another connection worth mentioning is the work [12] of Burgeth, Welk, Feddern and Weickert, where root and power functions were used for symmetric positive semi-definite matrices instead of logarithm and exponential function.However, our approach does not require a positive semi-definite matrix, but works with any colour matrix, and preserves the so-called transitivity of greyscale morphology.This paper will be the next step from [13] for transferring the LogSumExp approach to colour morphology with tonal vectors/matrices.The goal is to present a clear characterisa-tion of this approach for tonal value matrices to close the gap in the reasoning of [13] and to extend it with regard to certain properties.In this way, we will end up with a dilation operator that, with a few minor compromises, combines many of the advantageous properties of the other multidimensional approaches while preserving the associativity of the dilation, which, as far as we know, is not the case with the other multidimensional approaches.In addition, we will present a relaxed formulation of the operator, which addresses one of the primary limitations of the operator.

General Definitions

6To make this paper self-contained, we want to use this section to clarify some basic definitions and terminology, using our previous paper [13] as a guide.This is divided into two subsections, one for the morphological terms and one for the terms related to the Loewner order.

7We will start with the morphological concepts of dilation/erosion for greyscale images and then extend this to colour images.In particular, we will discuss how colours can be represented and which algebraic structures we will consider for this paper and describe the one we have chosen in more detail.

8In the second subsection, we look at why we need such an order and why we have chosen it.We show what we mean by a minimiser of a convex set with respect to the Loewner order and which properties it must fulfil.This will give us a general explanation for a matrix supremum.Finally, we will give a brief overview of how different norms lead to different matrix suprema.

Colour Morphology

9We begin with a two-dimensional, discrete image domain ⊆ Z 2 and a single-channel greyscale image, which is described by a discrete function f : → [0, 255].In the case of non-flat morphology, the structuring element (SE) can be represented as a function b :

10where β is itself a small greyscale image that should have the same scaling for the greyscale values as the input image.It defines the height of the SE or in other words which pixel will be "prioritised" by the filtering.B 0 is a set centred at the origin.However, the origin of the SE needs not always to be at its centre.It determines the shape and size of the SE, as it specifies which elements are to be compared with each other.Frequently used shapes for this are squares, discs, diamonds, hexagons and crosses, see [15,16].In the case of a flat filter (flat morphology), it is simply the special case β(x) = 0. Two of the most elementary operations of mathematical morphology are dilation

11and erosion

12see Figure 1 for an example.In particular, these two operations are dual in the following sense with respect to complementation.Let the range of the greyscale values of f be given by the interval

13where f min is the lower limit and f max the upper limit of the greyscale values of f .We define the complementary image f c as

14Then one has

15where b(x) = b(−x).This shows the duality between dilation and erosion.However, with these two operations, many other operations can be defined that are of great interest in practice, e.g. 1.In general, an opening will result in the deletion of minor, protruding components of an object.For example, this can be observed by the first column on the left side of the entrance in Fig. 1.The closing operation will fill small holes or thin intruding parts of the object.This may entail the destruction of smaller dark areas, such as the shadows of the columns on the outermost left side or the thin flat window illustrated in Fig. 1.These filtering operations can be employed in conjunction with varying sizes of the SE to compute size distributions in binary images, see [1] for further information about granulometry and related applications.

16We turn now to our actual area of interest, namely colour morphology.This is similar to the greyscale morphology already shown, with the difference that we no longer have just one channel, but three.There are many useful formats for expressing this, see [17].A classic approach in this sense is the channel-by-channel processing of an image with the redgreen-blue (RGB) colour model, see, for example, [11] for a recent example of channel-wise scheme implementation.However, instead of RGB vectors, we will use symmetric 2 × 2 matrices.

17For this we assume that the colour values are already normalised to the interval [0, 1] for the corresponding channels.First, we transfer this vector into the hue-chroma-luminance (HCL) colour space by means of

18Subsequently, the luminance L is replaced with the modified luminance L = 2L − 1 and the quantities C, 2π H and L are regarded as radial, angular and axial coordinates of a cylindrical coordinate system, respectively.Since the transformation shown here maps each colour from the RGB colour space one-to-one to a colour in the HCL bi-cone, see Figure 2, this represents a bijection onto the bi-cone, which in turn is interpreted with Cartesian coordinates by x = C cos(2π H ), y = C sin(2π H ) and z = L. Finally, we map these Cartesian coordinates onto a symmetric matrix in the following manner:

19where the complete transformation process is a bijective mapping, see [7].

The Loewner Order and the Decision of a Minimiser

20In the absence of a conventional ordering of the elements in either R 3 or R 2×2 , it becomes necessary to define the relative positions of two elements with respect to one another.In order to respond to this query, it is necessary to utilise a more lenient interpretation of the ordering relation, namely that of a semiorder.For this reason, we resort to the Loewner order and the colour morphological processing based on this, which was already presented in the work [18] by Burgeth and Kleefeld.

Definition 1

21We define the set of symmetric matrices as

22and the set of positive semi-definite symmetric matrices as

23One can see that Sym + (n) is a convex cone, cf.[19].Thus, this cone induces a partial order in the space of symmetric matrices, which we define as follows.

24Definition 2 Let A, B ∈ Sym(n), n ∈ N. We define the Loewner semi-order ≥ L as follows

25One of the benefits of employing the Loewner order in conjunction with the HCL bi-cone is that the Cartesian coordinates of a given bi-cone vector can be utilised to represent each colour matrix X as a cone of a specified height within the bi-cone.In this representation, the radius of the cone of X is given by 1 √ 2 tr X.Therefore, a colour is larger than another colour in the Loewner sense if the cone of the larger colour contains the cone of the smaller colour as a subset.Since the radius is equal to the height of the resulting cones, we only need to find a larger base circle for the corresponding cones, see Figure 3 for a visualising example.For more details, we refer to the paper [18] by Burgeth and Kleefeld.

26The problem with this semi-order is that it is not a lattice order [20], and therefore, it is not possible to find a unique maximum or minimum.To get around this problem, one needs another property to select a uniquely determined maximum from the convex set of symmetric matrices U(X ) that are upper bounds in the Loewner sense for the multi-set X = {X 1 , X 2 , . . ., X n } of given symmetric real 2 × 2 data matrices with

27see [8] for this.In particular, U(X ) is a convex set, since for any A, B ∈ U(X ) one has

28and the linear combination of two symmetric matrices always result in a symmetric matrix.For representation of the previously mentioned property, we use the function ϕ : U(X ) → R, which should be convex on the set U(X ) and Loewnermonotone, i.e.

29To clarify this terminology of convexity, we introduce the following definition.

30two real-valued vector spaces, M ⊂ V 1 a convex set and K ⊂ V 2 an order cone, i.e.K := {x ∈ V 2 : x ≥ 0} on the ordered vector space (V 2 , ≥).A function f : M → V 2 is called convex on the set M if and only if

31Furthermore, ϕ should have a unique minimiser in U(X ); thus, we can define the ϕ-supremum of X as said minimiser:

32The matrix supremum introduced in the paper [12] is based on the calculation of the trace and is therefore also called trace supremum.That is, one has ϕ(Y ) = trY and we get as supremum:

33Sup tr (X ) := arg min

34trY .

35Based on the corresponding norms, the Frobenius supremum Fig. 3 Visualisation of the Loewner ordering in the HCL bi-cone for the three colour matrices X i , i = 1, 2, 3, with X 3 ≥ L X 1 and X 3 ≥ L X 2 .

36From left to right: The cone representation of a yellow colour X 1 and a cyan-blue colour X 2 , the base circles of X 1 and X 2 with a third base circle of a green colour X 3 that encompasses both of them, the cone representation of all three colours and the spectral supremum

37where λ 1 ( A) denotes the largest eigenvalue of A, were derived in [8].At this point, it should be noted that, in the case of positive semi-definite matrices, all three norms are Schatten norms || • || p for p ∈ {1, 2, ∞}.

38In contrast to the above approaches utilising norms, which compare matrices that are upper bounds, we will adopt a more direct approach.To accomplish this, we will employ an approximation of the maximum function by Maslov [9] as a matrix-valued function to directly calculate a matrix that acts as an upper bound.The subsequent section aims to present a detailed characterisation of this approach.

Characterisation of the Log-Exp-Supremum

39In this section, we will construct a characterisation for the log-exp-supremum that depends solely on the input data, albeit not continuously.This characterisation is based on the spectral decomposition of the matrices under consideration and some properties of symmetric 2 × 2 matrices and the Rayleigh product.Given that this characterisation is based on spectral decomposition, this section will be divided into three parts.The first part will consider the case where there is a unique largest eigenvalue among the input data.The second part will consider the case where there is no unique largest eigenvalue.The third and final part will consider a general case that includes the other two cases and some associated properties.In particular, the log-exp-supremum is transitive, a property that will be demonstrated at the conclusion of this section.

Definition 4

40We define for a multi-set X = {X 1 , . . ., X n }, n ∈ N, of symmetric real 2 × 2 matrices the log-expsupremum (LES) as

41Remark 1 The log-exp-infimum follows by duality:

42Furthermore, we explain the spectral decomposition of X i by

43where λ i , μ i ∈ R are the eigenvalues of X i and u i ⊥ v i are the normalised eigenvectors to the corresponding eigenvalues.

LES for a Unique Largest Eigenvalue

44We will now assume that λ 1 is the unique largest eigenvalue among all eigenvalues of X (14) and further that without loss of generality the eigenvectors of X 1 have

45i.e. they are axis-aligned and fulfil u 1 = e 1 := (1, 0) T and v 1 = e 2 := (0, 1) T .Using these assumptions, we calculate the matrix exponential according to the general application of functions to diagonalisable matrices, see [21]:

46Next, we determine the major eigenvector for this matrix when m tends to infinity.

47Lemma 1 Let the conditions ( 14) and ( 15) be fulfilled according to (13).Then

48Proof We declare the Rayleigh product as

49and consider it for vectors

50which vary in the second component with ε around u 1 .We determine

51because we assumed that λ 1 is the unique largest eigenvalue and |ε| 1.By considering

52we obtain

53We know that f m (ε) ≥ 0 for all m > 0, since λ i ≥ μ i for i = 2, . . ., n.Furthermore, we set

54We therefore have the following estimation:

55This means that the function lim m→∞ R Em (w ε ) R Em (w 0 ) has a local maximum at ε = 0 and thus concludes the proof.

56To interpret this lemma, we declare the major eigenvector of E m as ūm .Then we obtain from the lemma the equation lim m→0 ūm = u 1 , and since the eigenvectors of 1 m log E m are the same as those of E m , it also follows that u 1 is the major eigenvector of S. Since all considered matrices are 2 × 2 matrices, we can deduce the second normalised eigenvector of S as the vector that is orthogonal to the first eigenvector u 1 = (1, 0) T , namely v 1 = (0, 1) T .As the next step, we will determine the eigenvalue corresponding to u 1 .

57Lemma 2 Let the conditions of Lemma 1 be fulfilled.Then the eigenvector u 1 of S according to (11) has the corresponding eigenvalue λ 1 .

58Proof Since the largest eigenvalue of E m is just expressed by the value of the Rayleigh product at the point where it takes its maximum, i.e. at w ε , as we have established in the proof of Lemma 2, we obtain as major eigenvalue (16).This means that the major eigenvalue of 1 m log E m is

59where the second term in the first log function vanish in the limit because μ 1 , λ i , μ i for i = 2, . . ., n are smaller than λ 1 , see (17).Thus, the major eigenvalue of S is just

60The final step in the characterisation of S is to calculate the second eigenvalue corresponding to v 1 , but for this we need a refinement of our calculations in the proof of Lemma 1.To achieve this, we establish the following lemma:

Lemma 3 Let the conditions of Lemma 1 be fulfilled and additionally ε(m) be the value of ε for which v

61Proof In the proof of Lemma 1, we have already seen that ε → 0 for m → ∞ and that the Rayleigh product fulfils

62Since the critical point is at ε → 0, we want to approximate this point by a Taylor approximation of order two:

63For this, we determine

64and by setting λ := max(μ 1 , λ 2 , . . ., λ n ), we obtain

65In this context, the symbols O and represent the corresponding Landau symbols.The term O( • ) symbolises an upper bound for the asymptotic order, while the term ( • ) denotes the exact asymptotic order.We will now determine the maximum of ( 18) by means of differentiation:

66Since we can add a constant value to all eigenvalues and subtract it again later when we have formed the LES, we can assume without loss of generality that λ 1 = 1.If we let m → ∞, then the first fraction will converge to zero and the second fraction will diverge in the denominator to infinity, because λ 1 > λ.This means, we have ε → 0 for m → ∞.

67Together with R (0) < 0 it follows that ε → 0 represents a maximum of R(ε), which concludes this proof.

68With this enhancement of our previous calculation of Lemma 1, we are in the position to determine the second eigenvalue that is needed for the characterisation of S. To this end, we note the next lemma.

Lemma 4

69Let the conditions of Lemma 3 be fulfilled.Then, the eigenvalue of S belonging to the eigenvector v 1 is the largest eigenvalue of any of the matrices X i , i = 1, . . ., n, whose eigenvector is not aligned with u 1 .Proof 1.) Analogous to the proof of Lemma 1, we start with the Rayleigh product of E m , but with an eigenvector that is perpendicular to our first "test eigenvector" w ε , namely

702.) Let us first assume that the second largest eigenvalue is λ 2 and s 2 = 0, so that the eigenvector u 2 is not aligned with the first eigenvector u 1 .Then we can rewrite this equation as

71If we only look at the terms in the big brackets, we find that only s 2 − εc 2 2 is constant with respect to m, while all the other terms, with the exception of ε 2 e m(λ 1 −λ 2 ) , involve exponential functions with negative multiples of m, which will approach zero for m → ∞.We conclude from Lemma 3 that

72and we also know that ε → 0 for m → ∞.So will ε 2 e m(λ 1 −λ 2 ) → 0 for m → ∞.The remaining terms we consider are

73where μ is the next largest eigenvalue after λ 2 .From there, we calculate

74m and for m → ∞ we obtain that 1 m log R(ε) → λ 2 , since ε goes exponentially to 0 for m → ∞.This proves this case.

753.) Let us now assume that μ 1 is the second largest eigenvalue.In this case, the results of Lemma 3 would be obtained with λ = μ 1 , and the same procedure as that employed in the current proof would be followed, but with the exclusion of the μ 1 term in place of the λ 2 term.Thereby, we would achieve

76for the leading terms in (19), where μ is the next largest eigenvalue after μ 1 .The rest is done analogously.

774.) Now we assume that λ 2 has the same eigenvector as λ 1 .

78Then it follows that s 2 = 0, and therefore, s 2 − εc 2 2 → 0 for m → ∞ in equation (19).Because of that we would extract the next smaller eigenvalue and repeat the above calculation until we find an eigenvalue whose eigenvector is not u 1 .Then we would do the same proof with the term of this eigenvalue instead the λ 2 term.

5.)

79The final case would be that the second largest eigenvalue λ 2 is not unique.This would result in further terms like s 2 − εc 2 2 in (19) for the other eigenvalues equal to λ 2 .Since these terms remain O(1), they will not change the result of the proof.

80We summarise our previous findings on our first theorem:

81Theorem 1 Let X = {X 1 , . . ., X n }, n ∈ N, be a multi-set of symmetric real 2 × 2 matrices and λ 1 be the unique largest eigenvalue of all matrices of X with the corresponding normalised eigenvector u 1 .Then the log-exp-supremum of X has the representation

82where μ * is the next largest eigenvalue among all matrices of X whose normalised eigenvector v * is not aligned with the eigenvector u 1 and v 1 is the normalised eigenvector perpendicular to u 1 .

83Proof A rotation matrix R −ϕ 1 is employed to rotate all eigenvectors in X , with the rotation angle represented by −ϕ 1 .This results in the transformation of X 1 into a diagonal matrix with diagonal entries λ 1 and μ 1 .Thereby, assumption ( 15) is fulfilled and we can apply Lemma 1-4 to the rotated input matrices X −ϕ 1 .For the LES, we get

84where μ * is the next largest eigenvalue among all matrices of X whose normalised eigenvector v * is not aligned with the eigenvector e 1 = (1, 0) T , and e 2 = (0, 1) T .We achieve the LES of the original X by rotating all of the eigenvectors back with R ϕ 1 :

85Before we look at the case where the largest eigenvalue is not unique, let us calculate a small example with numerical values for better understanding.

Example 1

86We consider as RGB colours blue C 1 = (0, 0, 1), a medium dark brown C 2 = 3 5 , 2 5 , 1 5 and a shade of bluemagenta C 3 = 1 3 , 1 3 , 5 6 and calculate the LES for them.To do this, we first convert the RGB colours into symmetric matrices as described in Section 2.1:

87≈ −0.2828 0.2450 0.2450 0 and

88Then, we form the spectral decomposition (13) with the eigenvalues λ i , μ i and eigenvectors u i , v i for i = 1, 2, 3:

89≈ −0.8660 0.5000 and

90The largest eigenvalue of this is λ 1 and it is also unique.According to Theorem 1, we take as eigenvectors for S the vectors u 1 and v 1 .The second largest eigenvalue is λ 3 , but u 3 = u 1 , so we do not consider this eigenvalue.Therefore, the next largest eigenvalue is λ 2 , and since it has a different eigenvector direction than λ 1 , we select it as the second eigenvalue for S. In conclusion, we thus obtain for the LES:

91which represents in the RGB space a medium light shade of blue-magenta colour: 3 5 , 3 5 , 1 (Fig. 4).

LES for Non-unique Largest Eigenvalues

92Until now, we have assumed that the largest eigenvalue λ 1 is unique, but we now want to show what we get when this is not the case.To do this, we first show that the largest eigenvalue of S cannot be greater than λ 1 :

93Lemma 5 Let S be defined as in (11) and condition (15) be fulfilled according to (13).Furthermore, let X 1 has the largest not necessarily unique eigenvalue λ 1 of all matrices of X .Then the largest eigenvalue of S cannot be greater than λ 1 .

Proof

94We have already seen that the largest eigenvalue of S arises from the Rayleigh product R(ε), |ε| 1, which can be estimated as follows:

95Thus, the largest eigenvalue of S can be approximated with

96In a similar way, one can also show that S is indeed an upper bound for the X i , i = 1, . . ., n.To do this, we prove the following lemma: Lemma 6 The LES S according to (11) is an upper bound in the Loewner sense for the given matrices X .

Proof Apparently one has

97which in combination with the fact that the logarithm is an operator-monotone function [22], i.e.A ≤ L B ⇒ log A ≤ L log B for symmetric positive definite matrices A, B, results in S ≥ L X j for all j ∈ {1, . . ., n}.

98We now continue our considerations regarding the other largest eigenvalue.If there is a second eigenvalue which is equal to λ 1 , it can then be either μ 1 or one of the λ j , since λ j ≥ μ j .If it were μ 1 , then X 1 would have the representation λ 1 I and the only matrix with equally aligned eigenvectors that would be greater than or equal to λ 1 I in the Loewner sense without having an even greater eigenvalue would be λ 1 I itself.

99For the other case that λ j = λ 1 for a fixed j ∈ {2, . . ., n} will we assume that without loss of generality j = 2 holds.We summarise the argumentation necessary for this in the following theorem:

100Theorem 2 Let S be the LES of the multi-set X = {X 1 , . . ., X n }, n ∈ N, of symmetric real 2×2 matrices with the spectral decomposition (13) and λ 1 = λ 2 the largest eigenvalues of all these matrices.Then one has

101where μ * ≤ λ 1 is the next largest eigenvalue whose eigenvector v * is not aligned with u 1 .

102Proof 1.) To ensure assumption (15), we begin this proof with the same rotation as in the proof of Theorem 1.Then, we consider some of the properties of S. The first property is that the largest eigenvalue of S is λ 1 .This is a consequence of Lemma 5 and the fact that the Rayleigh product R * (ε) for this case is greater than or equal to the R(ε) in Lemma 1. Consequently, Lemma 2 is also subject to this relation in accordance with

103This leads to the second property, namely the spectral decomposition of the rotated LES S −ϕ 1 :

104Lemma 6 gives us the upper bound property, in particular, this satisfies

105apply.

1062.) Let us assume that s 2 = 0, then it follows from the first relation of ( 21) that α ≥ λ 1 .Because of Lemma 5, the eigenvalue α cannot be greater than λ 1 , which leads to α = λ 1 .This in turn leads to the spectral decomposition having the following form:

107By rotating all eigenvectors back by R ϕ 1 , we achieve

1083.) Now we assume the other case s 2 = 0. Therefore, we have s = 0 and c = ±1.If we insert these values into the spectral decomposition, we obtain

109By comparing with equation ( 21 Thus, we can repeat all the steps up to Theorem 1 with minor adjustments and get the result from the theorem with α = μ * , where μ * is the next largest eigenvalue of X whose eigenvector v * is not aligned with u 1 .By rotating it back, we achieve as in the proof of Theorem 1:

110Otherwise, we return to the argumentation of Lemma 4 with the difference that λ 2 = λ 1 holds.We then obtain for the Rayleigh product in the case s 2 2 = 0:

111where μ * is again the next largest eigenvalue of X whose eigenvector v * is not aligned with u 1 .By determining 1 m log R(ε) again for this and then taking the limit for m → ∞, the ε terms and the O(•) term will disappear and only λ 1 remains.Thus, we have S −ϕ 1 = λ 1 I again.

112At this point, we would also like to give a small example in the case that the largest eigenvalue is not unique.

113Example 2 Here we consider the simple example of a bipartite image consisting of the two RGB colours blue C 1 = (0, 0, 1) and green C 2 = (0, 1, 0).The corresponding symmetric matrices are

114This results in the following eigenvalues and eigenvectors:

115Since the largest eigenvalue is not unique and the corresponding eigenvectors u 1 , u 2 are not equal, we obtain by Theorem 2 the LES

116which represents the RGB colour white (1, 1, 1).

117To clarify the phenomenon that the supremum of blue and green in Fig. 5 of Example 2 is white, we must first bear in mind that both colours lie on the edge of the unit circle of the bi-cone, directly opposite each other in the y-direction, see Figure 6.

118This means that in order to maintain the Loewner order, you would have to choose the smallest circle that contains both points.However, this smallest circle depends on the choice of the supremum.If, for example, we choose the trace supremum of Burgeth et al. [23], see Fig. 6, this circle protrudes from the unit circle and the resulting cone from the bi-cone, i.e. it would be an impermissible colour.This is avoided by the warp factor introduced by Burgeth and Kleefeld [18], see Fig. 6, but at the cost that the circle no longer includes blue and green, i.e. is no longer larger according to the Loewner order.The LES basically sees it in such a way that the smallest and only circle within the bi-cone, which still includes blue and green, is the unit circle itself, i.e. white.

Remark 2

119The discolouration that occurs in the LES is therefore a fundamental consequence of the Loewner order, which states that the closer the colours are to the edge and the further apart they are, the higher the colour cone of the supremum must be.

General Characterisation and Properties of the LES

120In this subsection, we will give a general characterisation of the LES for any combination of eigenvalues.Based on this, we will show two interesting properties in the form of transitivity and associativity with respect to dilation.The latter property in particular sets our approach apart from other multidimensional approaches, since, to our knowledge, it does not exist in colour morphology as opposed to greyscale morphology.

121In order to provide greater clarity, we shall now present a summary of the two preceding theorems in the form of a corollary that gives us a general characterisation of the LES.

122Corollary 1 Let S be the LES (11) of the multi-set X = {X 1 , . . ., X n }, n ∈ N, of symmetric real 2 × 2 matrices with the spectral decompositions (13) and λ 1 (one of) the largest eigenvalues of all these matrices.Furthermore, let V(X ) be the set of all eigenvectors of the matrices of X and V λ 1 sup (X ) be the set of corresponding eigenvectors to the largest eigen-values equal to λ 1 , i.e.

123Then, the LES can be characterised as follows:

124where μ * ≤ λ 1 is the next largest eigenvalue of X whose corresponding eigenvector v * is not aligned with u 1 .

125We will show in the following proposition that the LES S, as previously characterised by (22), exhibits a transitive property in general.

Proposition 1

126The LES (11) is transitive, i.e. for multi-sets X and Y of symmetric 2 × 2 matrices one has

127Proof 1.)For the multi-sets, we will use the notation

128The right-hand side of ( 23) can be calculated as

129The LES S 1 and S 2 are characterised according to (22) as

130and

131For the characterisation of S 1 , we assumed that λ 1 is the largest eigenvalue of X with the corresponding eigenvector u 1 , λ * is the next largest eigenvalue of X whose eigenvector is not aligned with u 1 and v 1 is the eigenvector perpendicular to u 1 .The same can be said of the characterisation of S 2 , insofar as we use Y, μ 1 and μ * instead of λ 1 and λ * and the eigenvectors ũ1 and ṽ1 as replacement for u 1 and v 1 .

132Since S r is again an LES approximation for two symmetric 2 × 2 matrices, we can characterise it as follows

133where η 1 represents the maximum of λ 1 and μ 1 and it is associated with the corresponding normalised eigenvector ū1 .The term η * , on the other hand, denotes the next largest eigenvalue within the set {λ 1 , λ * , μ 1 , μ * } of possible eigenvalues and, in addition, corresponds to an eigenvector that is not aligned with ū1 .The eigenvector v1 denotes the eigenvector perpendicular to ū1 and S is defined as S := {S 1 , S 2 }.

1342.) For the left-hand side of ( 23), we obtain with the characterisation (22):

135where ν 1 is (one of) the largest eigenvalues of Z with the corresponding normalised eigenvector û1 , ν * is the next largest eigenvalue of Z with an eigenvector that is not aligned with ν 1 and v1 is the normalised eigenvector perpendicular to û1 .Since ν 1 is the largest eigenvalue of Z = X ∪ Y, it is also the largest eigenvalue of X and Y and as such it fulfils ν 1 = η 1 .

1363.) The first case of S l will only happen if there are at least two largest eigenvalues in Z whose eigenvectors are not aligned.As they would be the largest eigenvalues of Z, they would also be the largest eigenvalues of X or Y.In the event that both values correspond to matrices from the multi-set X , then S 1 would be a diagonal matrix with these eigenvalues.The same would apply for S 2 if they would both correspond to matrices from Y.This implies that in these cases, one of S 1 and S 2 would be a diagonal matrix with these eigenvalues.

137As they are part of the largest eigenvalues, the corresponding matrix would be selected for S r .

138For the case that these two eigenvalues are distributed between X and Y, they would nevertheless be selected as either λ 1 , λ * , μ 1 or μ * .This is because they remain the largest eigenvalues, and any other largest eigenvalues would have the same eigenvectors as these two, which would then be deemed equivalent to the corresponding one of the two largest eigenvalues with non-aligned eigenvectors.Consequently, the corresponding eigenvectors would be in V η 1 sup (S), and S r would take the form of a diagonal matrix with these two eigenvalues.In conclusion, The first case of S l occurs if and only if it occurs at S r and they coincide.

1394.) For the second case, we use that we have already identified η 1 with ν 1 .This implies that the corresponding eigenvectors are also the same, that is, we have û1 = ū1 and v1 = v1 .Ultimately, it follows from the construction of the corresponding characterisations shown above and a similar reasoning as in the first case that ν 2 = η 2 must hold.Furthermore, it can be shown that S l and S r are identical in this case.

140To conclude this section, we want to use this property to prove the associativity of LES dilation.For this purpose, we first define what we understand by LES dilation and LES erosion.

Definition 5 Let

141⊆ Z 2 be the two-dimensional, discrete image domain, f : → R 3 a colour image and b : Z 2 → R 3 ∪{(−∞, −∞, −∞) T } the structuring function with components according to (1) of the set B 0 ⊂ Z 2 .Furthermore, let τ : R 3 → Sym(2) be the transformation from the vector of the corresponding colour space to the symmetric 2 × 2 matrix according to Subsection 2.1.Then we define the LES dilation as

142In accordance with the duality (5) between dilation and erosion for the grey value case, we can also define the LES erosion here by means of LES dilation as follows:

143where the complement of a colour vector is to be understood as an component-wise complementation according to (4):

144Here, R max represents the largest red value of the image f and R min the smallest; the same applies to the corresponding G and B terms.

145We now turn to the mentioned associativity of LES dilation.

Theorem 3

146The LES dilation ( 24) is associative, i.e. for a colour image f : Z 2 → [0, 1] 3 and for the structuring elements given by the structuring functions b 1 , b 2 :

147Proof To proof this claim, we will compare the considered matrices for both sides of the equation.We use the expression X(x) := τ ( f (x)) to notate the matrices of the image f .Similarly, we do this for the structuring functions of B 1 and

148For the left-hand side of equation ( 26), we calculate for the first dilation

149and by the second dilation

150Since B 2 is a discrete set, we can numerate the elements of B 2 with z 1 , . . ., z m , m ∈ N, and rewrite the equation as

151since the summation with a constant matrix W 2 (z i ) does not influence the decision of the LES except of a global (for each individual LES) rotation of the eigenvectors and change of the eigenvalues.Then by setting

152and using the transitivity (23), we obtain for all x ∈ :

153The right-hand side of (26) fulfils for the first dilation with the structuring functions the equality

154However, since b 1 and as such W 1 will "vanish" with −∞ in the sense of the dilation for y − z / ∈ B 1 , we can introduce the set

155and replace y ∈ Z 2 with y ∈ B 1 ⊕ B 2 .We calculate the second dilation as follows

156Given that B 1 ⊕ B 2 is also a discrete set, the same countability trick that was employed previously can be applied, resulting with y 1 , . . ., y k in the following:

157By defining

158and using the transitivity (23), we obtain for all x ∈ :

159By substituting y = ŷ + z with ŷ ∈ B 1 and z ∈ B 2 in the last equation, we see that it equals (27), which concludes the proof.

160We demonstrate the correctness of this statement again using the colours from example 1, see Fig. 7. To do this, we also use a different SE for b 2 in the form of a centred quadratic 11 × 11 mask.We can see from this that the two resulting images match visually according to (26).An examination of the numerical colour values also shows an identity between these images.

161Remark 3 Analogously, it can be shown for LES erosion ( 25) that

162applies.

Minimality of the LES

163So far, we have only shown that the LES ( 11) is an upper bound in the sense of the Loewner order.In this section, we address the question of whether it is also a smallest upper bound or under which conditions it is.To do this, we start from the framework [8] of Welk, Kleefeld and Breuß and add another function to our semi-order to select a smallest upper bound from the set of upper bounds introduced by the semiorder, as already mentioned in Section 2.2.This auxiliary function serves to find a unique minimum within the given set, so that we may have no total order but an auxiliary order.This is the reason why we refer to it as the auxiliary ordering function.

164The main problem here is the existence of a total ordering function ϕ on the set U(X ) of upper bounds in the Loewner sense of the symmetric matrices X = {X 1 , . . ., X n }, n ∈ N, for which the LES S is the unique minimiser.To see this, we first prove the following lemma.

Lemma 7

165Let S be the LES (11) for a given multi-set X of symmetric 2 × 2 matrices and let λ 1 be the unique largest eigenvalue of X .Whenever the second largest eigenvalue λ 2 of X is unique, and its original eigenvector u 2 is not perpendicular to the eigenvector u 1 of λ 1 , there exists some matrix

166, where v 1 is the eigenvector perpendicular to u 1 .Since we can add a constant value to all eigenvalues and subtract it again later when we have formed the LES, we assume without loss of generality that λ 1 = 1, and its associated eigenvector is u 1 = (1, 0) T .This makes v 1 = (0, 1) T and we get the representation

167Then we examine for which q the matrix S remains in U(X ).

168For this, we choose an arbitrary X ∈ X with a major eigenvalue λ satisfying λ ≤ λ 2 and the associated eigenvector u = (c, s) T with c = cos(ϕ) and s = sin(ϕ).Further, let μ be the minor eigenvalue of X and have the associated eigenvector v = (−s, c) T .Then X has the following representation

169because of its spectral decomposition (13).Note that Y := S − X ≥ L 0 must necessarily be satisfied for S ∈ U(X ) to hold.To verify Y ≥ L 0, the following relations must apply:

170We calculate for the first term

171In order for the second term, R Y (u 2 ) = q − λs 2 − μc 2 , to be non-negative, it is always possible to find a q ∈ [λs 2 + μc 2 , λ 2 ) that will fulfil this requirement, provided X = X 2 with u 2 = (0, 1) T ⊥ u 1 .Then, the last term can be calculated as

172which is non-negative if and only if

173Since c 2 ≥ 0, μ ≤ λ < 1 and (29), we see that the fraction on the right-hand side is non-negative.This means that the largest term that can occur on the right-hand side would be λ and since λ 2 is our second largest eigenvalue and unique, λ < λ 2 except in the case where we consider the matrix X belonging to λ 2 .However, in this case, because of uniqueness, λ 2 > μ 2 and c 2 = 0, otherwise u 2 would point in the same direction as v 1 , contradicting the condition u 2 ⊥ u 1 .This means that the fraction on the right-hand side would be positive, and thus, the term on the right-hand side would be strictly less than λ 2 .

174The case for X with λ = λ 1 provides the matrix Y = 0 0 0 q − μ 1 with μ 1 < λ 2 because λ 2 is the second largest eigenvalue and unique.The relation Y ≥ L 0 holds if and only if q ≥ μ 1 .Since μ 1 < λ 2 and q < λ 2 (otherwise S = S), we can find a q with μ 1 ≤ q < λ 2 to fulfil the requirement.

175In summary, this means that in every case the right-hand side of (30) is strictly less than λ 2 .Thus, if we compute for all X ∈ X the bounds of q, which are all strictly less than λ 2 , and then take the largest of them, we obtain the claim (28) of the lemma.

176Corollary 2 Under the conditions of Lemma 7, S cannot be the unique minimiser of a function ϕ according to (10).

177Proof Suppose S were a minimiser of a function ϕ according to (10).Then ϕ(S) ≥ ϕ(S ) because S ≥ L S and the Loewner monotonicity of ϕ.Since S is minimal with respect to ϕ, only ϕ(S) = ϕ(S ) can be true.However, this is a contradiction to the uniqueness of the minimiser.This may seem like a big disadvantage at first.However, with the following slight modification of our set U(X ) of possible upper bounds of X , we can ensure that the LES actually acts as a minimiser there, as we will demonstrate in this section.

178Definition 6 For a multi-set X of symmetric 2 × 2 matrices with non-negative eigenvalues, let X p := {X p : X ∈ X } be the element-wise application of the pth power to the multi-set X .We define the p-power upper bound cone as

179and denote the intersection of all p-power upper bound cones as the super-upper bound cone

180For a multi-set X of symmetric 2 × 2 matrices for which −c < 0 is the smallest among all eigenvalues of the matrices in X , define

181where

182and I is the identity matrix.

183Remark 4 Equation ( 33) is particularly applicable to the set U(X ) of upper bounds of a multi-set X , as Sup LE (X + c) − c I = Sup LE (X ), and thus, U(X + c) − c = U(X ) always hold.

184To show that S is the unique minimiser of ϕ in U * (X ), we first prove that it is contained in it.

185Lemma 8 Let X be a multi-set of symmetric 2 × 2 matrices, and let S be as in Lemma 7. Then one has S ∈ U p (X ) for any p > 0.

186Proof We use for S the same form as in Lemma 7 and assume again without loss of generality that λ 1 = 1, and its associated eigenvector is u 1 = (1, 0) T .This implies v 1 = (0, 1) T .

187Since we only consider real symmetric and thus diagonalisable matrices, we can simply express the power of such a matrix according to [21] as follows:

188The representation of S in terms of the pth power will then take the following form:

189.

190On the basis of U(X + c) − c = U(X ), see Remark 4, we can assume without restriction that λ 2 ≥ 0 applies.So we see that the only difference to our previous calculation of the LES is that all eigenvalues are now raised to the power of p.This means that our LES looks the same as before with the difference that we exponentiate its entries, i.e. the two largest permissible eigenvalues, by p and thus obtain S p .Thus, we have S p ∈ U(X p ), from which the claim follows.

191Next, we will define the as yet unspecified function ϕ and show that it fulfils all the necessary conditions according to Section 2.2.In particular, we will see that for this function S is the unique minimiser in U * (X ).(

192Then it follows that (i) the function ϕ is Loewner-monotone, (ii) the function ϕ is convex on U(X ), and

193(iii) S is the unique minimiser of ϕ in U * (X ).

194The inequality implies that for any vector w ∈ R 2 the Rayleigh products must satisfy R B (w) ≤ R A (w).

195By setting w = u B to the unit eigenvector corresponding to the largest eigenvalue λ B of B, the Rayleigh product of B will equal the largest eigenvalue according to R B (u B ) = λ B .The Rayleigh product of A with u B will take a value α ∈ [μ A , λ A ] according to the min-max theorem (cf.[24], Theorem 4.2.2),where μ A is the smaller and λ A the larger eigenvalue of A. Upon inserting this into the inequality for the Rayleigh products, we obtain

196from which it follows that the largest eigenvalue of A is greater or equal to the largest eigenvalue of B. If λ A > λ B , ϕ(B) ϕ( A) is already established.

197If this is not the case, we need to consider the minor eigenvalues of A and B. By choosing w = v A as the unit eigenvector corresponding to the smallest eigenvalue μ A of A, the Rayleigh product of A will equal the smallest eigenvalue according to R A (v A ) = μ A .If we also consider the Rayleigh product with B, we again obtain with the min-max theorem a value β ∈ [μ B , λ B ], where μ B is the smallest eigenvalue of B, for this and by inserting it into the inequality mentioned at the beginning, we obtain

198Consequently, we can guarantee that the smallest eigenvalue of B is less than or equal to the smallest eigenvalue of A, and thus, ϕ(B) ϕ( A) holds.

199(ii) We want to prove here that ϕ is convex on U(X ) according to Definition 3.For this, we consider the two vector spaces Sym(2) and R 2 and the convex set U(X ) ⊂ Sym(2).We have already seen the convexity of the last set in Section 2.2.Further, we need an order cone on the R 2 equipped with the lexicographic order, which we denote simply as

200That is, the only thing we still need to check is the validity of (9).For this, we consider for all Y 1 , Y 2 ∈ U(X ) and α ∈ [0, 1]:

201Let us assume without loss of generality that Z is a diagonal matrix.Further, let λ i ≥ μ i be the eigenvalues of Y i with the corresponding eigenvectors (c i , s i ) T , (−s i , c i ) T for i = 1, 2 according to (13).Then, we have

202and

203Note that the two eigenvalues λ * , μ * do not necessarily have to be ordered in this way.If we substitute this into our inequality (35), we obtain

204To prove this inequality, we first show that both eigenvalues λ * , μ * are less than or equal to αλ 1 + (1 − α)λ 2 :

205If strict inequality applies to both inequalities, we would have proven the statement.Otherwise, one of the two diagonal entries is equal to αλ 1 +(1−α)λ 2 , without loss of generality, let this be λ * .Then it follows

206whereby we have exploited in the last line that the trace of a matrix can be understood as the sum of its eigenvalues.This means that in this case the smaller eigenvalue of Z is just the convex combination of the smaller eigenvalues of Y 1 and Y 2 or, in other words, satisfies the second line of inequality (36) with equality.

207(iii) For this, we use the argumentation from the proof of Lemma 7 for (S ) p and X p instead of S and X to obtain a necessary condition for (S ) p ≥ L X p , using the representation from the proof of Lemma 8 for X p .Since in both cases the exponentiation by p does not change the eigenvectors but only the eigenvalues, we can take our conclusion (30) from the proof of Lemma 7 by exponentiating the eigenvalues all by p:

208As in the proof of Lemma 7, we have again that the fraction on the right-hand side of (37) is non-negative for all μ ≤ λ < 1 and p > 0.

209In the proof of Lemma 7 we had shown that the righthand side of the inequality (30) analogous to (37) was always smaller than λ 2 .Thus, we could guarantee that an ε > 0 exists, so that a similar matrix to the LES S exists whose second eigenvalue according to λ 2 − ε < λ 2 is strictly smaller than that of the LES S, which showed that the LES was not the unique minimiser.So all we have to prove here is that no such ε exists for given λ, μ, c, s and p → ∞.

210Let us assume that ε > 0 exists so that (37) is satisfied for q = λ − ε and arbitrarily large p > 0. In particular, we can also assume without restriction of generality that our eigenvalues can be mapped bijectively to the interval [0, 1] or more precisely to

211, 1 , where λ old 1 is the original largest eigenvalue of X , so that λ 1 = 1 and μ 1 , λ i , μ i ∈ [0, 1) for i = 2, . . ., n, see the following remark.This would mean that

212holds.We rewrite the right-hand side of the inequality (38) into

213If we consider the last [ • ] 1 p term in the equation (39), we can estimate as follows

214and by using the limes for p → ∞ we obtain for the upper and lower limit lim (43)

215For the last step, we substitute (39) in (38), let p approach infinity and use the equation (43):

216which is a contradiction to ε > 0. This means that S / ∈ U * (X ).

217Remark 5 Let X ∈ X be arbitrary and X = λuu T + μvv T as in (13), where λ, μ are the eigenvalues of X and u, v the associated normalised eigenvectors.Since the greatest element in the HCL bi-cone is the colour white with the eigenvalues 1 .This means that the transformation

218has the eigenvalues λ, μ ∈ [0, 1].It follows from the fact that

219where the lower and upper bound are derived from λ ∈ − 1 √ 2

220, λ 1 .Consequently, the addition of the scaled unit matrix affects only the eigenvalues but not the eigenvectors.As a result, this can also be applied directly to the LES:

Relaxation of the LES

221Now that we have seen several favourable properties of the LES, we want to address a disadvantage of our approach that we have not considered further so far.It is one of the reasons why this approach was not pursued further in favour of the trace supremum Sup tr in the work [12].This is due to the fact that the LES does not depend continuously on the input data.In this section, we will first look at the cases where this problem occurs and then see that it can be solved using a straightforward relaxation.

222To visualise this problem, let us consider the following scenario: We have a multi-set X = {X 1 , . . ., X n }, n ≥ 3, of symmetric 2 × 2 matrices in which the three largest eigenvalues λ 1 > λ 2 > λ 3 with the associated eigenvectors u 1 , u 2 , u 3 belong to three different matrices X 1 , X 2 , X 3 ∈ X .In addition, the eigenvectors have the relationship u 1 = u 2 and u 3 = ±u 1 to each other.According to Theorem 1, we obtain for the LES

Conclusion and Future Work

223Building on the work of Burgeth and his co-authors, see [7,12,18], we have investigated a characterisation for a previously unexplored application of the log-exp-supremum, which was introduced by Maslov [9] as an approximation of the maximum in convex optimisation, for colour morphology.

224To do this, we used Burgeth's and Kleefeld's [18] bijective mapping to assign each colour from the RGB colour space a colour in the form of a symmetric real 2×2 matrix in the HCL bi-cone and used the spectral decomposition of these matrices, the Loewner order and properties of the Rayleigh product to calculate the approximation.In particular, we were able to show that the LES is transitive according to equation (23) and, in combination with the dilation, makes it associative in colour morphology.The latter is a property that is otherwise only known from binary and grey value morphology and, to our knowledge, the only multidimensional dilation in colour morphology with this property.

225Moreover, our findings indicate that while the LES is not uniquely minimal with respect to the set of upper bounds of the input data derived from the Loewner ordering, it does, however, exhibit unique minimality when considered in conjunction with the intersection of all p-power upper bounds, as defined in Definition 6.To achieve this, the eigenvalues and the Rayleigh product of the exponentiated matrices were employed to eliminate the problematic cases through the limit as p → ∞.

226Finally, we have also addressed one of the biggest downsides of the LES, namely the fact that it does not depend continuously on the input data.However, among other things, this only applied to non-generic configurations of the orthonormal bases of the input data, which allowed us to remove these by means of a relaxation of the LES, the RLES.The input data was changed slightly so that these cases no longer occurred.This change also meant that not only these discontinuities were removed, but all discontinuities were removed without losing the favourable properties of the LES shown above.Since the duality relationship between dilation and erosion is also intact in our method, all the properties of dilation shown here can be transferred to the corresponding properties of erosion.

227In light of these findings, there are several avenues for further investigation of this method in the future.The most notable aspect is the significant increase in brightness of the image.One could compare whether the behaviour is similar to that of the paper by Kahra, Sridhar and BreuSS, see [10].In addition, given the paper [25] by Kahra and BreuSS, it seems possible to find parameters so that these supposed artefacts disappear from [10].However, this would likely be a challenging undertaking.Alternatively, one could also consider the differences in supremum formation with respect to other suprema employed in colour morphology, such as the onedimensional case or other multidimensional cases, including the trace supremum [23] or other suprema [8], and compare them with each other.It should be noted that our method is not an optimal case and could be replaced by selecting a colour space other than the HCL bi-cone, such as Lab, in order to potentially offer additional advantages.The choice of this space was influenced by its graphically clear geometric properties.

Fig. 1

228Fig. 1 Application of different morphological operators on a 256 × 256 greyscale image with a 5 × 5 SE.From left to right: Downscaled original image from TAMPERE17 noise-free image database [14], dilation, erosion, opening and closing

Sup 2 (X|| 2 1Fig. 2

229Fig.2HCL bi-cone according to[18]

Fig. 4

230Fig. 4 Dilation of an 90 × 90 image based on the colours of example 1 with a centred 1 × 41 SE using the LES.From left to right: original image and dilated image

Fig. 5 Fig. 6

231Fig. 5 Dilation of a bivariate image consisting of blue and green from example 2 with a centred quadratic SE using the LES.From left to right: original image and dilated image

Fig. 7

232Fig. 7 Comparison of the associativity of dilation using the LES based on example 1.From left to right: LES dilation δ 1 of the 90 × 90 image from example 1 with the same 1 × 41 SE, LES dilation δ 2 of δ 1 with a

Theorem 4

233Let the conditions of Lemma 8 be satisfied and let the function ϕ : U(X ) → R 2 be explained as ϕ(Y ) = (λ, μ), where λ > μ are the eigenvalues of Y ∈ U(X ).Further, let R 2 be endowed with the lexicographic order (a, b) ≺ (a , b ) :⇐⇒ (a < a ∨ (a = a ∧ b ≤ b )), a, b, a , b ∈ R.

λ p c 2 − μ p s 2 = exp lim p→∞ 1 p log 1 − 1 1 −≤ lim p→∞ 1 − 1 − μ p λ p ( 1 −( 1 −

234λ p c 2 − μ p s 2 = e 0 = 1.(42)By combining (40) with (41) and (42), we achieve1 λ p ) 1 − λ p c 2 − μ p s λ p ) 1 − λ p c 2 − μ p s 2 1 p = 1.

√ 2 and 1 √ 2 , 1 √ 2 , 1 √ 2

235the smallest element is the colour black with the eigenvalues − see[8], we have λ, μ ∈ −

236s 2 i e mμ i c i s i e mλ i − e mμ i c i s i e mλ i − e mμ i s 2 = e m 11 e m 12 e m 21 e m 22 with e m 11 = e mλ 1 +

237i e mλ i + c 2 i e mμ i and the summation over all i = 1, . .., n leads toE m := n i=1 exp(m X i ) i e mλ i − e mμ i = e m 21 and

238(e m i j ) i, j=1,2 would have the entries e m 11 = 2e mλ 1 + e mλ i − e mμ i = e m 21 and e m 22 = e mμ 1 + e mμ 2 +

239), we see that the only nontrivial condition remaining is α ≥ μ 1 .If now u 1 = ±u 2 would hold, the matrix E m = i

참고문헌 25건

  1. Convex Analysis on Symmetric Matrices International series in management science/operations research/International series in operations research & management science · Springer Science+Business Media · 2000 10.1007/978-1-4615-4381-7_2
  2. The Ordering of Multivariate Data Journal of the Royal Statistical Society Series A (General) · Wiley · 1976 10.2307/2344839
  3. Convex Analysis and Nonlinear Optimization CMS books in mathematics · Springer International Publishing · 2006 10.1007/978-0-387-31256-9
  4. PDE-Based Color Morphology Using Matrix Fields Lecture notes in computer science · Springer Science+Business Media · 2015 10.1007/978-3-319-18461-6_37
  5. Mathematical Morphology Wiley eBooks · Wiley · 2013 10.1002/9781118600788
  6. Mathematical Morphology and Its Applications to Image Processing Computational imaging and vision · Springer Nature (Netherlands) · 1994 10.1007/978-94-011-1040-2
  7. Digital Color Imaging Handbook CRC Press eBooks · Informa · 2011 10.1201/9781420041484
  8. Morphological Operations on Matrix-Valued Images Lecture notes in computer science · Springer Science+Business Media · 2004 10.1007/978-3-540-24673-2_13
  9. Morphology for Color Images via Loewner Order for Matrix Fields Lecture notes in computer science · Springer Science+Business Media · 2013 10.1007/978-3-642-38294-9_21
  10. �ber monotone Matrixfunktionen Mathematische Zeitschrift · Springer Science+Business Media · 1934 10.1007/bf01170633
  11. On a new principle of superposition for optimization problems Russian Mathematical Surveys · IOP Publishing · 1987 10.1070/rm1987v042n03abeh001439
  12. An approach to color-morphology based on Einstein addition and Loewner order Pattern Recognition Letters · Elsevier BV · 2014 10.1016/j.patrec.2014.01.018
  13. A comparative study on multivariate mathematical morphology Pattern Recognition · Elsevier BV · 2007 10.1016/j.patcog.2007.02.004
  14. Mathematical Morphology in Computer Graphics, Scientific Visualization and Visual Exploration Lecture notes in computer science · Springer Science+Business Media · 2011 10.1007/978-3-642-21569-8_32
  15. Mathematical Morphology on Tensor Data Using the Loewner Ordering Mathematics and visualization · Springer Nature · 2006 10.1007/3-540-31272-2_22
  16. Image Analysis Using Mathematical Morphology IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 1987 10.1109/tpami.1987.4767941
  17. Hierarchical Matrices: Algorithms and Analysis Springer series in computational mathematics · Springer Nature · 2015 10.1007/978-3-662-47324-5
  18. Quantile Filtering of Colour Images via Symmetric Matrices Mathematical Morphology - Theory and Applications · De Gruyter · 2016 10.1515/mathm-2016-0008
  19. Morphological Image Analysis Springer eBooks · Springer Nature · 1999 10.1007/978-3-662-03939-7
  20. Fast Morphological Dilation and Erosion for Grey Scale Images Using the Fourier Transform Lecture notes in computer science · Springer Science+Business Media · 2021 10.1007/978-3-030-75549-2_6
  21. Fast Approximation of Color Morphology Lecture notes in computer science · Springer Science+Business Media · 2021 10.1007/978-3-030-90436-4_39
  22. Matrix Analysis Cambridge University Press eBooks · Cambridge University Press · 2012 10.1017/cbo9781139020411
  23. Blind estimation of white Gaussian noise variance in highly textured\n images arXiv (Cornell University) · Cornell University · 2017 10.48550/arxiv.1711.10792
  24. Properties of Morphological Dilation in Max-Plus and Plus-Prod Algebra in Connection with the Fourier Transformation Journal of Mathematical Imaging and Vision · Springer Science+Business Media · 2023 10.1007/s10851-022-01138-3
  25. An Approach to Colour Morphological Supremum Formation Using the LogSumExp Approximation Lecture notes in computer science · Springer Science+Business Media · 2024 10.1007/978-3-031-57793-2_25