hypercomplex mathematical morphology

23
J Math Imaging Vis (2011) 41:86–108 DOI 10.1007/s10851-011-0266-2 Hypercomplex Mathematical Morphology Jesús Angulo Published online: 23 February 2011 © Springer Science+Business Media, LLC 2011 Abstract The natural ordering of grey levels is used in clas- sical mathematical morphology for scalar images to define the erosion/dilation and the evolved operators. Various op- erators can be sequentially applied to the resulting images always using the same ordering. In this paper we propose to consider the result of a prior transformation to define the imaginary part of a complex image, where the real part is the initial image. Then, total orderings between complex numbers allow defining subsequent morphological opera- tions between complex pixels. More precisely, the total or- derings are lexicographic cascades with the local modulus and phase values of these complex images. In this case, the operators take into account simultaneously the information of the initial image and the processed image. In addition, the approach can be generalized to the hypercomplex repre- sentation (i.e., real quaternion) by associating to each image three different operations, for instance directional filters. To- tal orderings initially introduced for colour quaternions are used to define the evolved morphological transformations. Effects of these new operators are illustrated with different examples of filtering. Keywords Nonlinear image filtering · Mathematical morphology · Adjunction · Complex images · Complex ordering · Hypercomplex ordering · Quaternion J. Angulo ( ) CMM-Centre de Morphologie Mathématique, Mathématiques et Systèmes, MINES ParisTech, 35, rue Saint-Honoré, 77305 Fontainebleau cedex, France e-mail: [email protected] 1 Introduction Let f(x) = t be a scalar image, f : E T . In general t T Z or R, but for the sake of simplicity of our study, we consider that T ={1, 2,...,t max } (e.g., t max = 255 for 8 bits images) is an ordered set of positive grey-levels. Typically, for digital 2D images x = (x,y) E where E Z 2 is the support of the image. For 3D images x = (x,y,z) E Z 3 . According to the natural scalar partial ordering , T is a complete lattice, and then F (E, T ) is a complete lattice too. Mathematical morphology is a nonlinear image process- ing approach based on the application of lattice theory to spatial structures [20, 42]. In particular, morphological op- erators are naturally defined in the framework of functions F (E, T ). Various operators can be sequentially applied to the resulting images always using the same ordering . The methodological corpus of mathematical morphology is composed of several families of operators which address many applications, including denoising, multi-scale image decomposition, feature extraction, segmentation, etc. [50]. Furthermore, besides the algebraic definitions, most of mor- phological operators have associated a geometric interpreta- tion. Aim of the Paper. The objective of this study is to con- struct (hyper)-complex image representations which will be endowed with total orderings and consequently, which will lead to complete lattices. More precisely, it is proposed to use the result of a prior morphological transformation to de- fine the imaginary part of a complex image, where the real part is the initial scalar image. Then, total orderings between complex numbers allow defining subsequent morphological operations between complex pixels. In this case, the opera- tors take into account simultaneously the scalar intensities of both the initial and the transformed images. The complex

Upload: jesus-angulo

Post on 14-Jul-2016

213 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Hypercomplex Mathematical Morphology

J Math Imaging Vis (2011) 41:86–108DOI 10.1007/s10851-011-0266-2

Hypercomplex Mathematical Morphology

Jesús Angulo

Published online: 23 February 2011© Springer Science+Business Media, LLC 2011

Abstract The natural ordering of grey levels is used in clas-sical mathematical morphology for scalar images to definethe erosion/dilation and the evolved operators. Various op-erators can be sequentially applied to the resulting imagesalways using the same ordering. In this paper we proposeto consider the result of a prior transformation to define theimaginary part of a complex image, where the real part isthe initial image. Then, total orderings between complexnumbers allow defining subsequent morphological opera-tions between complex pixels. More precisely, the total or-derings are lexicographic cascades with the local modulusand phase values of these complex images. In this case, theoperators take into account simultaneously the informationof the initial image and the processed image. In addition,the approach can be generalized to the hypercomplex repre-sentation (i.e., real quaternion) by associating to each imagethree different operations, for instance directional filters. To-tal orderings initially introduced for colour quaternions areused to define the evolved morphological transformations.Effects of these new operators are illustrated with differentexamples of filtering.

Keywords Nonlinear image filtering · Mathematicalmorphology · Adjunction · Complex images · Complexordering · Hypercomplex ordering · Quaternion

J. Angulo (�)CMM-Centre de Morphologie Mathématique, Mathématiques etSystèmes, MINES ParisTech, 35, rue Saint-Honoré,77305 Fontainebleau cedex, Francee-mail: [email protected]

1 Introduction

Let f (x) = t be a scalar image, f : E → T . In general t ∈T ⊂ Z or R, but for the sake of simplicity of our study, weconsider that T = {1,2, . . . , tmax} (e.g., tmax = 255 for 8 bitsimages) is an ordered set of positive grey-levels. Typically,for digital 2D images x = (x, y) ∈ E where E ⊂ Z

2 is thesupport of the image. For 3D images x = (x, y, z) ∈ E ⊂ Z

3.According to the natural scalar partial ordering ≤, T is acomplete lattice, and then F (E, T ) is a complete lattice too.

Mathematical morphology is a nonlinear image process-ing approach based on the application of lattice theory tospatial structures [20, 42]. In particular, morphological op-erators are naturally defined in the framework of functionsF (E, T ). Various operators can be sequentially applied tothe resulting images always using the same ordering ≤.

The methodological corpus of mathematical morphologyis composed of several families of operators which addressmany applications, including denoising, multi-scale imagedecomposition, feature extraction, segmentation, etc. [50].Furthermore, besides the algebraic definitions, most of mor-phological operators have associated a geometric interpreta-tion.

Aim of the Paper. The objective of this study is to con-struct (hyper)-complex image representations which will beendowed with total orderings and consequently, which willlead to complete lattices. More precisely, it is proposed touse the result of a prior morphological transformation to de-fine the imaginary part of a complex image, where the realpart is the initial scalar image. Then, total orderings betweencomplex numbers allow defining subsequent morphologicaloperations between complex pixels. In this case, the opera-tors take into account simultaneously the scalar intensitiesof both the initial and the transformed images. The complex

Page 2: Hypercomplex Mathematical Morphology

J Math Imaging Vis (2011) 41:86–108 87

scalar value brings information about the invariance of in-tensities with respect to a particular size and shape structure(i.e., using openings, closings or alternate filters) as well asinformation about the local contrast of intensities in the im-age structures (i.e., by means of top-hat transformations).Hence, the interpretation of the local amplitude and phase inthe proposed complex representations is basically a geomet-rical one, useful for image processing, but without a physicalcounterpart. More precisely, the choice of the imaginary partis determined by the required properties of the morpholog-ical complex operator (dilation or erosion) as well as themathematical rationale of defining morphological adjunc-tions. In addition, the approach is also generalized to thehypercomplex representation (i.e., real quaternion) by asso-ciating to each image three different operations, for instancea series of directional filters.

The motivation of these methodological developments isto obtain “regularized” morphological operators. That is, di-lations and erosions whose result depends not only on thesupremum and infimum of the grey values, locally computedin the structuring element, but also on differential informa-tion or on more regional information.

The theoretical results of the paper are illustrated withvarious comparative examples based on the applicationof well-known morphological operators, defined in their(hyper)-complex versions, such as top-hat, morphologicalcenter, morphological laplacian, opening by reconstruction,leveling, etc. In particular, the potential interest of the pro-posed operators for real applications in medical imaging isalso considered.

Previous Works on Regularized Mathematical Morphol-ogy. The objective of regularized erosion/dilation has beenpreviously considered, under different viewpoints, in thestate-of-the art of mathematical morphology.

Taking into account the historical formulation of mathe-matical morphology from Boolean algebra, the frameworkof fuzzy logic is an appropriate alternative, with several ap-proaches of fuzzy morphology [6, 7, 10] as well as softmorphology [25]. Physics-based statistical morphology hasbeen also explored in [56] within a formulation using ther-modynamics concepts. The approach is based on construct-ing a Gibbs probability distribution where the energy statedepends on the intensity values of the neighborhood anda temperature parameter. Morphological operations are in-terpreted as the minimal variance estimators of this proba-bilistic model, using the notion of mean field approximationfor the computation of the estimated values. More precisely,erosion and dilation are limit cases when the temperatureof the system tends to zero, with respectively positive andnegative sign of the energy.

More recently, two other families of approaches have tobe cited. On the one hand, adaptive operators based on local

size density estimation have been used for robust filtering ofbinary and grey level images [58]. On the other hand, severalworks have studied the way to introduce a kind of viscos-ity on morphological operators. The morphological viscos-ity involves typically an unit dilation obtained after an open-ing of the space, leading to the viscous lattice [45], whichis neither distributive, nor complemented, but is interestingfor defining viscous geodesic propagations. In fact, the uni-tary step of the geodesic viscous dilation (erosion), whichincludes a prior unit opening (closing), has been also consid-ered on the construction of viscous levellings [32, 33]. Theidea of using a prior operator, a closing whose size dependson the intensity, to filter out the gradient before computingthe watershed, leads to the notion of viscous watershed [51].This kind of viscous closing, an adaptive operator where itssize depends at each point on the value of intensity has beenalso used for reconnecting several edge portions [52]. In ad-dition, another approach to the viscosity in morphology hasbeen addressed under the notion of microviscous effect bysecond-order operators [34, 35]. The rationale is to include anonlinear micro-operation embedded in the main nonlinearoperation; this framework has shown a good performancefor regularized filtering.

More generally, the theory and algorithms of self-dualmorphology, by defining activity-decreasing modificationsof the median filter [21] as well as by considering an adap-tive reference image [22, 24], leads to robust operators ap-propriate to deal with noisy and strong structured images.

Previous Works on the Application of Geometric Al-gebra to Image Processing. Geometric algebraic repre-sentations have been previously used for image modellingand processing. Classically, in one-dimensional (1D) sig-nal processing, the analytic signal is a powerful complex-model which provides access to local amplitude and phase.The complex signal is built from a real signal by adding itsHilbert transform—which is a phase-shifted version of thesignal—as an imaginary part to the signal. The approachwas extended to 2D signals and images in [8] by means ofthe quaternionic Fourier transform. In parallel, another the-ory introduced in [17] to extend the analytic model in 2D isbased on the application of the Riesz transform as general-ized Hilbert transform, leading to the notion of monogenicsignal which delivers an orthogonal decomposition into am-plitude, phase and orientation. Later, the monogenic signalwas studied in the framework of scale-spaces [18]. More re-cently, in [57], the 2D scalar-valued images are embeddedinto the geometric algebra of the Euclidean 4D space andthen the image structures are decomposed using monogeniccurvature tensor.

We are dealing here with grey-level images, however, thegeometric algebra representations have been mainly usedfor modelling colour images. Therefore, let us consider the

Page 3: Hypercomplex Mathematical Morphology

88 J Math Imaging Vis (2011) 41:86–108

particular state-of-the art of colour geometric algebra. DiZenzo [12] proposed in his pioneer work a tensor represen-tation of colour derivatives in order to compute the colourgradient by considering the colour image as a surface in R

3.Later, Sochen and Zeevi [47] and Sochen et al. [48] con-sidered a colour image as a two-dimensional manifold em-bedded in the five-dimensional non-Euclidean space, whosecoordinates are (x, y,R,G,B) ∈ R

5, which is described byBeltrami colour metric tensor. But all these studies con-sider only the differential representation of the colour triplet,which is useful for differential geometric colour process-ing, e.g., colour image enhancement and smoothing usingPDE. Another algebraic tool used to represent and to per-form colour transformations by taking into account the 3Dvector nature of colour triplets is the quaternion. The firstapplication of quaternion colour processing was reportedby Sangwine [39] for computing a Fourier colour trans-form. Other quaternionic colour transformations were thenexplored by Sangwine and Ell such as colour image correla-tion [15], colour convolution for linear filtering [41] and forvector edge-detecting [40] as well as new results on quater-nion Fourier transforms of colour images [16]. Ell [13] in-troduced recently the application of quaternion linear trans-formations of colour images (e.g., rotation and reflections ofcolours). Other works by Denis et al. [11] and Carré and De-nis [9] have also explored new approaches for colour spec-tral analysis, edge detection and colour wavelet transform.Quaternion representations have been also used to definecolour statistical moments and derived applications by Peiand Cheng [36] and to build colour Principal ComponentAnalysis [29, 37, 46]. Quaternion algebra can be general-ized in terms of Clifford algebra. In this last framework,Labunets et al. have studied Fourier colour transform [28],including colour wavelets for compression and edge detec-tion, as well as computation of invariants of nD colour im-ages [26, 27]. Ell [14] has also started to study this represen-tations for colour convolution and Fourier transform. Morerecently, Batard et al. [4, 5] have also studied the applicationof Clifford algebras to analyse (edge detection and FourierTransform) colour images.

Finally, we have recently explored also the interest ofcolour quaternions for extending mathematical morphologyto colour images [3], with two main contributions. On theone hand, we have studied different alternatives to intro-duce the scalar part in order to obtain full colour quater-nions. On the other hand, several lexicographic total order-ings for quaternions based on their various decompositionshave been defined.

Paper Organization. The paper’s body is organized intofour major sections. Section 2 introduces the notion of mor-phological complex image and two total orderings for com-plex images. Once a total ordering is defined, a pair of dila-tion/erosion can be defined; the fundamental properties that

any complex dilation/erosion should verify are also consid-ered in this section. The next step, in Sect. 3, is to studythe most useful complex dilations and erosions, accordingto the operator chosen to define the complex part of the im-age. The geometric interpretation of the corresponding op-erators as well as their mathematical properties are consid-ered in detail. Section 4 deals with the multi-operator caseby means of real quaternions. The proposed hypercomplexmathematical morphology framework is a generalization ofthe complex formulation; but the specificity of quaternionrepresentations allows us to introduce other useful total or-derings. The examples and applications discussed in Sect. 5will justify the interest of the present operators and their per-formance in comparison with the standard ones. Finally, theconclusion and perspectives of Sect. 6 close the paper.

A short version of this paper has been published in [2].

2 Complex Representation and Associated TotalOrderings

The aim of this section is to introduce the notion of mor-phological complex image as well as two total orderings forcomplex spaces. The properties of the general complex dila-tion/erosion using these total orderings are also discussed.

2.1 Morphological Complex Image

Let ψ : T → T be a morphological operator for scalar im-ages. We need to recall a few notions which characterizethe properties of morphological operators. ψ is increasingif ∀f,g ∈ F (E, T ), f ≤ g ⇒ ψ(f ) ≤ ψ(g). It is anti-extensive if ψ(f ) ≤ f and it is extensive if f ≤ ψ(f ). Anoperator is idempotent if ψ(ψ(f )) = ψ(f ).

The transformation ψ is applied to f (x) ∈ F (E, T ) ac-cording to the shape and size associated to the structuringelement B and it is denoted as ψB(f )(x). We may nowdefine the following mapping from the scalar image to theψ -complex image:

f (x) �→ fC(x) = f (x) + iψB(f )(x), (1)

with fC ∈ F (E, T × iT ). The data of the bivalued image arediscrete complex numbers: fC(x) = cn = an +bni, where an

and bn are respectively the real and the imaginary part ofthe complex of index n in the finite space T × iT ⊂ C. Letus consider the polar representation, i.e., cn = ρn exp(iθn),where the modulus is given by

ρn = |cn| =√

a2n + b2

n

and the phase is computed as

θn = arg(cn) = atan 2(bn, an) = sign(bn) atan(|bn|/an),

Page 4: Hypercomplex Mathematical Morphology

J Math Imaging Vis (2011) 41:86–108 89

with atan 2(·) ∈ (−π,π]. The phase can be mapped to[0,2π) by adding 2π to negative values. We notice thatatan 2(a, a) = π/4 for a = 0 but atan 2(0,0) = 0. To avoidthis discontinuity, we have excluded the grey-level t = 0.

2.2 Total Orderings for Complex Images

Working in the polar representation, two alternative total or-derings based on lexicographic cascades can be defined forcomplex numbers:

cn ≤�

θ01

cm ⇔{

ρn < ρm or

ρn = ρm and θn �θ0 θm(2)

and

cn ≤�

θ02

cm ⇔{

θn ≺θ0 θm or

θn =θ0 θm and ρn ≤ ρm

(3)

where �θ0 depends on the angular difference to a referenceangle θ0 on the unit circle, i.e.,

θn �θ0 θm ⇔{

(θn ÷ θ0) > (θm ÷ θ0) or

(θn ÷ θ0) = (θm ÷ θ0) and θn ≤ θm

(4)

such that

θp ÷ θq ={ |θp − θq | if |θp − θq | ≤ π

2π − |θp − θq | if |θp − θq | > π .(5)

These total orderings can be easily interpreted. In ≤�

θ01

,

priority is given to the modulus, in the sense that a complexis greater than another if its modulus is greater, and if bothhave the same modulus the greater value is the one whosephase is closer to the reference θ0. In case of equal phaseangular distances, the last condition for a total ordering isbased on the absolute distance to the phase origin θ0. Theordering ≤

�θ02

uses the same priority conditions, but they

are reversed. Furthermore, by the equivalence of norms, wecan state that ρn ≤ ρm ⇔ |an| + |bn| ≤ |am| + |bm|.

Given now a set Z ⊂ E of pixels of the initial image[f (z)]z∈Z , the basic idea behind our approach is to use, forinstance ≤

�θ01

, for ordering the set Z of initial pixels. For-

mally, we have

fC(y) ≤�

θ01

fC(z) ⇒ f (y) ��

θ01

f (z),

where the indirect total ordering ��

θ01

allows to compute

the supremum∨

�θ01

and the infimum∧

�θ01

in the original

scalar-valued image, i.e.,

fC(y) =∨

�θ01 ,z∈Z

[fC(z)

] ⇒ f (y) =∨

�θ01 ,z∈Z

[f (z)

].

We notice that the complex total orderings are only de-fined once the transformation ψB is totally defined. In addi-tion, we remark that if ψB ≡ Id, both total orderings ≤

�θ01

and ≤�

θ02

bring on the standard grey level morphology,

where Id denoted the identity operator mapping and imagef onto itself.

The next question to be studied is what kind of morpho-logical operators are useful to build basic operators such asdilations and erosions. But before that, let us study the basicproperties of the complex orderings.

2.3 Properties

Adjunction and Duality by Complementation. The theoryof adjunctions on complete lattices has played an importantrole in mathematical morphology [20, 43]. More precisely,the notion of adjunction links two operators (ε, δ), in such away that for any given dilation δ, there is a unique erosionε such that (ε, δ) is an adjunction [23]. Moreover, the twoproducts of the dilation and its adjunct erosion leads to apair of morphological closing and opening [38]. The notionof adjunction will be enlightened below, by its use for thecomplex operators introduced in this paper.

Given the total ordering ≤�, the operator ε between thecomplete lattice T and itself is an erosion if

ε

( ∧�,k∈I

[f (xk)

])=∧

�,k∈I

ε([

f (xk)])

, ∀f ∈ F (E, T ).

A similar dual definition holds for dilation δ (i.e., commuta-tion with the supremum):

δ

( ∨�,k∈I

[f (xk)

])=∨

�,k∈I

δ([

f (xk)])

, ∀f ∈ F (E, T ).

The pair (ε, δ) is called an adjunction between T → T iff

δ(f )(x) ≤� g(x) ⇔ f (x) ≤� ε(g)(x).

Refer to [43] or [23] for general proofs. If we have an ad-junction for the ordering ≤�, the products of (ε, δ) such asthe opening γ = δε and the closing ϕ = εδ can be definedin a standard way. Hence, it is important from a theoreti-cal viewpoint that the proposed complex erosions/dilationsverifies the property of adjunction.

One of the most interesting properties of standard grey-level morphological operators is the duality by the com-plementation �. The complement image (or negative im-age) �f is defined as the reflection of f with respect to(tmin + tmax)/2 (in our case tmin = 1); i.e.,

�f (x) = tmax − f (x) + 1 = f c(x), ∀x ∈ E.

Page 5: Hypercomplex Mathematical Morphology

90 J Math Imaging Vis (2011) 41:86–108

Let the pair (ε, δ) be an adjunction, the property of dualityholds that [42]:

ε(f c)= (δ(f )

)c ⇒ ε(f ) = (δ(f c))c

,

and this is verified for any other pair of dual operators, suchas the opening/closing. In practice, this property allows usto implement exclusively the dilation, and using the com-plement, to be able to obtain the corresponding erosion. Inour case, we have the following mapping:

f �→ �f ⇒ fC �→ fC = �f + iψB(�f )

= �f + i�ξB(f )

where ξB(f ) = �ψB(�f ) is the dual operator of ψB . Notethat this result is different from the complement of the ψ -complex image, i.e., �fC = �f + i�ψB(f ).

Ordering Invariance and Commutation Under Anamor-phosis. The concepts of ordering invariance and commuta-tion of sup and inf operators under intensity image trans-formations is also important in the theory of complete lat-tices [30, 44]. More precisely, in mathematical morphologya mapping A : T → T which satisfies the criterion

t ≤� s ⇔ A(t) ≤� A(s), ∀t, s ∈ T ,

is called an anamorphosis for ≤�. Then, we say that the totalordering ≤� is invariant under A. Any increasing morpho-logical operator ψ commutes with any anamorphosis, i.e.,ψ(A(f )) = A(ψ(f )). It is well known for the grey-tonecase that any strictly increasing mapping A is an anamor-phosis.

A typical example is the following truncated linear trans-formation:

A(t) =⎧⎨⎩

K(t) if 1 ≤ K(t) ≤ tmax

1 if K(t) < 1

tmax if K(t) > tmax

where K(t) = αt +β , with α ≥ 0. We notice that the intervalof variation of intensities should be preserved in order toremain in the corresponding complex plane quadrant.

In our case, we have for the ψ -complex image:

f �→ f ′ = A(f ) ⇒ fC �→ f′C = A(f ) + iψB

(A(f )

)

= A(f ) + iA(ψB(f )

),

i.e., both axes of complex plane are equivariant modifiedaccording to the same mapping (scaled and shifted for theexample of the linear transformation). Obviously, the par-tial ordering according to the modulus is invariant under A.The partial ordering with respect to the phase is also invari-ant if θ is defined in the first quadrant. Hence, the orderings≤

�θ01

and ≤�

θ02

commutes with anamorphosis applied on the

scalar function f .

3 Complex Dilations and Erosions

We study in this section the operators ψB which are usefulto define the complex part of morphological representationsand the corresponding complex operators.

3.1 γ -Complex Dilations and ϕ-Complex Erosions

Opening and Closing. A morphological filter is an increas-ing operator that is also idempotent (i.e., erosion and dilationare not idempotent). The two basic morphological filters,as products of erosions/dilations, are the opening γB(f ) =δB(εB(f )) and the closing ϕB(f ) = εB(δB(f )). Besides theidempotence, the opening (closing) is an anti-extensive (ex-tensive) operator; i.e., f ≥ γB(f ) and f ≤ ϕB(f ).

In order to grasp the nature of opening/closing-complexoperators, and to make preparations for later arguments aswell, let us review some fundamental expressions concern-ing the opening/closing. Let B(x) represent the structuringelement centered at point x, the opening and the closingfor binary (or set) images, i.e., fb : E → P (E) such thatfb(x) = ⋃{{x}|{x} ⊆ fb}, can be analytically formulatedas [43]:

γB(fb) =⋃{

B(x) | B(x) ⊆ fb

},

ϕB(fb) =⋃{

x | B(x) ⊆⋃[

B(x) | x ∈ fb

]}.

The geometrical meaning of the binary opening is clear:γB(fb) is the region of the space swept by all structuring setsB(x) that are included in fb . Or in other words, the union ofthe points of fb which are invariant to the structuring ele-ment B . The dual interpretation for the complement of fb isvalid for the closing ϕB(fb).

To extend this interpretation to grey-level images, let usintroduce the following pulse function ix,t of level t at pointx [23]:

ix,t (x) = t when y = x;ix,t (y) = 0 when y = x.

Image f can be decomposed into the supremum of itspulses, i.e., f = ∨{ix,f (x), x ∈ E}. Dilating it,x by thestructuring element B results in the cylinder CB(x),t of baseB(x) and height t . Now, it is possible to write the openingfor a grey-level image as follows [54]:

γB(f ) =∨

{CB(x),t ≤ f, x ∈ E}.In the product space E × T the subgraph of the open-ing γB(f ) is generated by the zone swept by all cylindersCB(x),t smaller than f . Since, the opening is an operatorwhich removes bright structures and peaks of intensity thatare thinner than the structuring element B , the structures

Page 6: Hypercomplex Mathematical Morphology

J Math Imaging Vis (2011) 41:86–108 91

Fig. 1 Complex plane for points ∈ f (x)+ iψB(f )(x) (see the text forthe various cases)

larger than B preserve their intensity values. In the stan-dard case of translation invariance, the closing is obtainedas ϕB(f ) = (γB(f c))c , and a dual analysis is valid, i.e., theclosing removes the dark structures and valleys of intensity.

Preliminary Geometrical Analysis. Therefore, by theirsimplicity and easy interpretation, the opening and closingseem particularly appropriate to build the ψ -complex image.

Let us use the diagram depicted in Fig. 1 for illustrat-ing how the complex values are ordered. If we consider forinstance ψB ≡ γB and �

θ01 , the pixels in structures invari-

ant according to B have module values which are greaterthan pixels having the same initial grey value but belong-ing to structures that do not match B . In the diagram, c1

is greater than c3, but for c1 and c2 which have the samemodulus, a reference θ0 is needed. By the anti-extensivity,we have f (x) ≥ γB(f )(x) and hence 0 ≤ θ ≤ π/4. By tak-ing θ0 = π/2, we consider that, with equal modulus, a pointis greater than another if the intensities before and afterthe opening are more similar (i.e., more invariant). In otherwords, when the ratio γB(f )(x)/f (x) is closer to 1 or θ iscloser to π/4, and consequently to π/2 (the last choice isjustified by the needed symmetry with the closing, see be-low). This implies that the opening is an appropriate trans-formation to define a dilation which propagate the bright in-tensities associated in priority to B-invariant structures. Ifwe choose �

θ02 , with θ0 = π/2, the same conditions of or-

dering are used, but starting with the pre-order associated tothe angular distance to π/2, and considering the value of in-tensity represented by the modulus only where the angulardistances are equal.

The same analysis leads to justify the choice of ψB ≡ϕB and �

π/21,2 for the complex erosion. Note that now

ϕB(f )(x)/f (x) ≥ 1 ⇒ π/4 ≤ θ ≤ π/2. A pixel is lesserthan another is its modulus is lesser; by taking the referenceθ0 = π/2, the idea of intensities invariance before and afterthe closing is again used, in the ordering by θ , for consider-ing now that a point is lesser than another if both have thesame modulus and the first is farther from θ0 = π/2 (closerto π/4) than the second (in the example of Fig. 1, c5 is lesserthan c4). Figure 2 depicts a full example of γ , ϕ-complexrepresentation of a noisy grey-scale image.

Formal Definitions. The previous analysis motivates us todefine mathematically the basic complex operators as fol-lows.

Definition 1 The (�π/21 , γ )-complex dilation is defined by

⎧⎪⎨⎪⎩

fC(x) = f (x) + iγBC(f )(x),

δ〈1,γBC,B〉(f )(x)

= {f (y) : fC(y) =∨�

π/21

[fC(z)], z ∈ B(x))}(6)

and the dual (�π/21 , ϕ)-complex erosion is formulated as fol-

lows:⎧⎪⎨⎪⎩

fC(x) = f (x) + iϕBC(f )(x),

ε〈1,ϕBC,B〉(f )(x)

= {f (y) : fC(y) =∧�

π/21

[fC(z)], z ∈ B(x))}.(7)

Definition 2 The equivalent (�π/22 , γ )-complex dilation

and (�π/22 , ϕ)-complex erosion are respectively

δ〈2,γBC,B〉(f )(x)

={f (y) : fC(y) =

�π/22

[fC(z)

], z ∈ B(x)

}, (8)

and

ε〈2,ϕBC,B〉(f )(x)

={f (y) : fC(y) =

�π/22

[fC(z)

], z ∈ B(x)

}, (9)

where the complex part of the image fC(x) is again an open-ing for the dilation and a closing for the erosion.

Hence, complex operators requires two independentstructuring elements:

• BC associated to the transformation of the imaginary part;• B which is properly the structuring element of the com-

plex transformation.

Obviously, BC and B can have different size and shape.

Page 7: Hypercomplex Mathematical Morphology

92 J Math Imaging Vis (2011) 41:86–108

Fig. 2 γ , ϕ-complex representation of a noisy grey-scale image:(a) original image f (x), (b) opening γB(f )(x), (c) closing ϕB(f )(x),(d) modulus image ρ(x) from complex image f (x) + iγB(f )(x),(e) phase image θ(x) from complex image f (x)+ iγB(f )(x), (f) angu-lar distance image θ(x)÷π/2 from complex image f (x)+ iγB(f )(x),

(g) modulus image ρ(x) from complex image f (x) + iϕB(f )(x),(h) phase image θ(x) from complex image f (x)+ iϕB(f )(x), (i) angu-lar distance image θ(x)÷π/2 from complex image f (x)+ iϕB(f )(x).For the opening and closing B is a square of size 3 pixels

Properties We can now study the properties of these opera-tors.

Proposition 3 The pair (δ〈1,γBC,B〉, ε〈1,ϕBC

,B〉) is an ad-junction, i.e.,

δ〈1,γBC,B〉(f )(x) �

�π/21

g(x)

⇔ f (x) ��

π/21

ε〈1,ϕBC,B〉(g)(x),

∀f,g ∈ F (E, T ). Similarly, the pair (δ〈2,γBC,B〉, ε〈2,ϕBC

,B〉)is also an adjunction.

Proof We consider the values of points z ∈ B(x), andwe have

∨�

π/21

[fC(z)] ≤�

π/21

gC(x) ⇔ ∨�

π/21

[f (z) +iγBC

(f )(z)] ≤�

π/21

g(x)+iγBC(g)(x) ⇔ f (x)+iγBC

(f )(x)

≤�

π/21

g(x) + iγBC(g)(x). This is true because if the in-

equality is true for the biggest point, it is also true forany point z, including the center x. In addition, due tothe fact that ϕBC

(f )(x) ≥ f (x) ≥ γBC(f )(x), we have

g(x) + iγBC(g)(x) ≤

�π/21

g(x) + iϕBC(g)(x), and hence,

f (x) + iγBC(f )(x) ≤

�π/21

g(x) + iϕBC(g)(x).

Note that when the equality holds, ϕBC(f )(x) = f (x) =

γBC(f )(x), the complex values are in the main diagonal,

Page 8: Hypercomplex Mathematical Morphology

J Math Imaging Vis (2011) 41:86–108 93

and consequently the phase θ is equal to π/4 for f (x) +iγBC

(f )(x) and f (x) + iϕBC(f )(x), having also the same

distance to π/2 and hence we obtain

g(x) + iγBC(g)(x) = g(x) + iϕBC

(g)(x).

On the other hand, we have f (x) + iϕBC(f )(x) ≤

�π/21∧

�π/21

[g(z) + iϕBC(g)(z)] ⇔ f (x) + iγBC

(f )(x) ≤�

π/21

f (x)+ iϕBC(f )(x) ≤

�π/21

g(x)+ iϕBC(g)(x). So the two in-

equalities are equivalent and consequently, we establish that

�π/21

[fC(z)

]≤�

π/21

gC(x)

⇔ fC(x) ≤�

π/21

�π/21

[gC(z)

].

Because

ϕBC(f )(x)

f (x)≥ 1 ≥ γBC

(f )(x)

f (x),

we have

atan 2(ϕBC

(f )(x), f (x)) ≥ π/4

≥ atan 2(γBC

(f )(x), f (x))

and as we fixed θ0 = π/2, the angular distance for theclosing is always closer to π/2 than for the opening,hence is also verified that f (x) + iγBC

(f )(x) <�

π/22

f (x) +iϕBC

(g)(x).

Consequently, as well as for the previous case of �π/21 ,

we establish that∨

�π/22

[fC(z)

]≤�

π/22

gC(x)

⇔ fC(x) ≤�

π/22

�π/22

[gC(z)

].

Proposition 4 The two pairs of γ -complex dilation andϕ-complex erosion are dual operators, i.e.,

δ〈1,γBC,B〉(f ) = [ε〈1,ϕBC

,B〉(f c)]c;

δ〈2,γBC,B〉(f ) = [ε〈2,ϕBC

,B〉(f c)]c

.

Proof If we apply the dilation to the complemented originalimage, we have

�π/21

[f c(z) + iγBC

(f c)(z)]

=∨

�π/21

[f c(z) + iϕc

BC(f )(z)

]

=[ ∧

�π/21

[f c(z) + iϕc

BC(f )(z)

]c]c

=[ ∧

�π/21

[f (z) + iϕBC

(f )(z)]]c

, z ∈ B(x).

The proof is also valid for �π/22 . �

It should be remarked that the dilation is extensive ac-cording to the orderings �

π/21:2 :

f (x) ��

π/21:2

δ〈1:2,γBC,B〉(f )(x),

but not necessarily according to the standard ordering:f (x) � δ〈γ1:2,BC

,B〉(f )(x). If this last property is requiredfor any reason, we can define the γ -complex upper dilationas:

δ〈1:2,γBC,B〉(f )(x) = δ〈1:2,γBC

,B〉(f )(x) ∨ f (x).

Using the standard infimum ∧, the dual definition leads tothe ϕ-complex lower erosion ε〈φBC

,B〉(f )(x), which is anti-extensive according to the grey level ordering.

Products of Complex Dilation and Erosion. Because theyconstitute an adjunction, the pairs of γ -complex dilationand the ϕ-complex erosion can be combined to constructevolved complex operators such as the γ , ϕ-complex open-ings

γ〈1:2,{ϕBC,γBC

},B〉(f ) = δ〈1:2,γBC,B〉(ε〈1:2,ϕBC

,B〉(f )); (10)

and the γ,ϕ-complex closings

ϕ〈1:2,{γBC,ϕBC

},B〉(f ) = ε〈1:2,ϕBC,B〉(δ〈1:2,γBC

,B〉(f )); (11)

as well as complex gradients and even complex geodesicoperators (e.g., opening by reconstruction, leveling, etc.)by replacing the standard dilation/erosion by the complexcounterparts. Figure 3 gives a comparative example of the(�

π/21:2 , γ ), (�

π/21:2 , ϕ)-complex dilation, erosion, opening

and closing with respect to the standard operators. Moreadvanced examples and applications are given in Sect. 5.

Instead of a morphological opening/closing for theγ -complex dilation and the ϕ-complex erosion, any otherpair of anti-extensive/extensive dual transformations canplay a similar role, as it is illustrated just below. In ongoingresearch it should be also studied the interest of self-dualoperators, as the Gaussian filters, for defining Gaussian-complex dilation/erosion. We can also suppose that theγφγ -complex dilation and φγφ-complex erosion can haveinteresting regularization properties (note that these opera-tors are ordered between then, i.e., φγφ(f ) ≥ γφγ (f ), butnot with respect to the scalar part f and in addition there arenot dual).

Page 9: Hypercomplex Mathematical Morphology

94 J Math Imaging Vis (2011) 41:86–108

Fig. 3 Comparison of γ , ϕ-complex basic morphological operators:(a) original image f (x), (b0) standard dilation δB(f ), (c0) standarderosion εB(f ), (d0) standard closing ϕB(f ), (e0) standard openingγB(f ), (b1) �

π/21 -complex dilation δ〈1,γBC

,B〉(f ), (c1) �π/21 -complex

erosion ε〈1,γBC,B〉(f ), (d1) �

π/21 -complex closing ϕ〈1,{γBC

,ϕBC},B〉(f ),

(e1) �π/21 -complex opening γ〈1,{ϕBC

,γBC},B〉(f ), (b2) δ〈2,γBC

,B〉(f ),(c2) ε〈2,γBC

,B〉(f ), (d2) ϕ〈2,{γBC,ϕBC

},B〉(f ), (e2) γ〈2,{ϕBC,γBC

},B〉(f ).The structuring element of the main operation B is a square of size 5whereas the structuring element of the complex part operation BC is asquare of size 3

3.2 τ+-Complex Dilations and [τ−]c-Complex Erosions

Let us consider another family of complex dilation/erosionusing now the residues of the opening/closing. We remindthat the white top-hat τ+ and the black top-hat τ− are re-spectively the residue of the opening and the closing [31],i.e.,

τ+B (f )(x) = f (x) − γB(f )(x) and

τ−B (f )(x) = ϕB(f )(x) − f (x).

The top-hat transformations yield positive grey-level imagesand are used to extract contrasted components (i.e., struc-tures smaller than the structuring element used for the open-ing/closing) with respect to the background and removingthe slow trends. The top-hat is an idempotent transforma-tion and if f (x) ≥ 0 then τ+(f )(x) is anti-extensive and[τ−(f )(x)]c = (tmax + 1) − ϕB(f )(x) + f (x) is extensive,and in addition (τ+(f ), [τ−(f )]c) are dual operators, i.e.,[τ−(f )]c = [τ+(f c)]c .

This last property of anti-extensivity of top-hat and ex-tensivity of complemented dual top-hat motivates us to pro-pose the following two alternative complex dilations anderosions.

Definition 5 The (�π/21:2 , τ+)-complex dilations (of type 1

and type 2) are defined as

⎧⎪⎪⎨⎪⎪⎩

fC(x) = f (x) + iτ+BC

(f )(x),

δ〈1:2,τ+BC

,B〉(f )(x)

= {f (y) : fC(y) =∨�

π/21:2

[fC(z)], z ∈ B(x))}(12)

and the associated (�−π/21:2 , [τ−]c)-complex erosion are

given by

⎧⎪⎪⎨⎪⎪⎩

fC(x) = f (x) − i[τ−BC

(f )(x)]c,ε〈1:2,[τ−

BC]c,B〉(f )(x)

= {f (y) : fC(y) =∧�

−π/21:2

[fC(z)], z ∈ B(x))}.(13)

We must remark that for the [τ−]c-erosion fC ∈ F (E, T ×−iT ). We can use again the diagram of Fig. 1 to interpretthese operators.

By using the ordering �θ02 , the supremum in the

τ+BC

-dilation favours the complex points closer to π/2 (infact, to π/4, and by the extensivity, also to π/2) whichcorrespond to those where the initial intensity is moresimilar to the intensity of the top-hat (the point c1 isgreater than the points c2 and c3); or in other words,

Page 10: Hypercomplex Mathematical Morphology

J Math Imaging Vis (2011) 41:86–108 95

Fig. 4 τ+, [τ−]c-complex representation of a grey-scale image:(a) original image f (x), (b) white top-hat τ+

B (f )(x), (c) blacktop-hat τ−

B (f )(x), (d) modulus image ρ(x) from complex imagef (x) + iτ+

B (f )(x), (e) phase image θ(x) from complex image f (x) +iτ+

B (f )(x), (f) angular distance image θ(x) ÷ π/2 from complex im-

age f (x) + iτ+B (f )(x), (g) modulus image ρ(x) from complex im-

age f (x) − i[τ−]c(f )(x), (h) phase image θ(x) from complex imagef (x) − i[τ−]cB(f )(x), (i) angular distance image θ(x) ÷ −π/2 fromcomplex image f (x) + i[τ−]cB(f )(x). For the white top-hat and blacktop-hat B is a square of size 3 pixels

the points belonging to structures well contrasted with re-spect to BC . The interpretation of the modulus is simi-lar, and consequently �

θ01 involves that in the supremum

the contrasted structured are reinforced. In the case ofthe erosion, a point is lesser than another if the θ of thefirst is farthest from −π/2 (closer to −π/4) than the θ

of the second. Using �θ02 , in the diagram, c7 is lesser

than c6, and c8 is the lowest between the three (even ifc8 presents the biggest initial intensity). In summary, bymeans of the τ+-complex dilation and [τ−]c-complex ero-sion, a mechanism of filtering based on the local contrast

of structures is obtained. The complete example given inFig. 4, which corresponds to an aerial image with wellcontrasted bright/dark structures, allows to easily interpretthe modulus and phase of the complex dilation and ero-sion.

In fact, it is obvious to see that the proposed �−π/21:2 ero-

sions with fC(x) = f (x) − i[τ−BC

(f )(x)]c is equivalent to an

erosion with fC(x) = f (x)+ i[τ−BC

(f )(x)]c but changing the

complex orderings to �+π/21:2 . As a result, the following prop-

erties holds (their proofs are similar to the those of the γ ,ϕ-complex operators).

Page 11: Hypercomplex Mathematical Morphology

96 J Math Imaging Vis (2011) 41:86–108

Fig. 5 Comparison of τ+, [τ−]c-complex openings andclosings: (a) original image f (x), (b0) standard clos-ing ϕB(f ), (c0) standard opening γB(f ), (b1) �

π/2,−π/21 -

complex closing ϕ〈1,{τ+BC

,[τ−]cBC},B〉(f ), (c1) �

π/2,−π/21 -complex

opening γ〈1,{[τ−]cBC,τ+

BC},B〉(f ), (b2) ϕ〈2,{τ+

BC,[τ−]cBC

},B〉(f ),

(c2) γ〈2,{[τ−]cBC,τ+

BC},B〉(f ). The structuring element of the main op-

eration B is a square of size 7 whereas the structuring element of thecomplex part operation BC is a square of size 10

Proposition 6 The pair of (δ〈1,τ+BC

,B〉, ε〈1,[τ−BC

]c,B〉) is an ad-

junction, i.e.,

δ〈1,τ+BC

,B〉(f )(x) ��

π/21

g(x)

⇔ f (x) ��

−π/21

ε〈1,[τ−BC

]c,B〉(g)(x),

∀f,g ∈ F (E, T ). Similarly, the pair (δ〈2,τ+BC

,B〉, ε〈2,[τ−BC

]c,B〉)is also an adjunction.

Proposition 7 The two pairs of τ+-complex dilation and[τ−]c-complex erosion are dual operators, i.e.,

δ〈1,τ+BC

,B〉(f ) = [ε〈1,[τ−BC

]c,B〉(f c)]c;

δ〈2,τ+BC

,B〉(f ) = [ε〈2,[τ−BC

]c,B〉(f c)]c

.

Figure 5 provides a comparative example on the aerialimage of the complex openings and closings associated tothese top-hat-based dilations/erosions.

4 Generalization to Multi-operator Cases Using RealQuaternions

We generalize in this section the ideas introduced above bythe extension to image representations based on hypercom-plex numbers or real quaternions [19]. Before that, let usremind the foundations of quaternions.

4.1 Remind on Quaternionic Representations

Hypercomplex Representation. A quaternion qn ∈ H maybe represented in hypercomplex form as

qn = an + bni + cnj + dnk, (14)

where an, bn, cn and dn are real. A quaternion has a realpart or scalar part, S(qn) = an, and an imaginary part orvector part, V (qn) = bni + cnj + dnk, such that the wholequaternion may be represented by the sum of its scalar andvector parts as qn = S(qn) + V (qn). A quaternion with azero real/scalar part is called a pure quaternion.

The addition of two quaternions, qn,qm ∈ H, is de-fined as follows qn + qm = (an + am) + (bn + bm)i +(cn + cm)j + (dn + dm)j . The addition is commutativeand associative. The quaternion result of the product oftwo quaternions, ql = qnqm = S(ql) + V (ql ), can be writ-ten in terms of dot product · and cross product × of vec-tors as S(ql ) = S(qn)S(qm) − V (qn) · V (qm) and V (ql) =S(qn)V (qm) + S(qm)V (qn) + V (qn) × V (qm). The mul-tiplication of quaternions is not commutative, i.e., qnqm =qmqn; but it is associative.

Polar Representation. Any quaternion may be representedin polar form as

qn = ρeξnθn , (15)

with

ρn =√

a2n + b2

n + c2n + d2

n, (16)

ξn = bni + cnj + dnk√b2n + c2

n + d2n

= bni + cnj + dnk, (17)

θn = arctan

(√b2n + c2

n + d2n

an

). (18)

A quaternion can be then rewritten in a trigonometric ver-sion as qn = ρn(cos θn + ξn sin θn). In the polar formulation,

Page 12: Hypercomplex Mathematical Morphology

J Math Imaging Vis (2011) 41:86–108 97

ρn = |qn| is the modulus of qn; ξn is the pure unitary quater-nion associated to qn (by the normalization, the pure unitaryquaternion discards “intensity” information, but retains ori-entation information), sometimes called eigenaxis; and θn

is the angle or argument, sometimes called eigenangle, be-tween the real part and the 3D imaginary part.

Parallel/Perpendicular Decomposition. It is possible todescribe vector decompositions using the product of quater-nions. A full quaternion qn may be decomposed about a pureunit quaternion, named here “reference” quaternion, p0 [15,16]:

qn = q⊥n + q‖n,

the parallel part of qn according to p0, also called the pro-jection part, is given by q‖n = S(qn) + V‖(qn), and the per-pendicular part, also named the rejection part, is obtainedas q⊥n = V⊥(qn) where

V‖(qn) = 1

2

(V (qn) − p0V (qn)p0

)(19)

and

V⊥(qn) = 1

2

(V (qn) + p0V (qn)p0

). (20)

It should be remarked that the rejection part is a pure quater-nion, independent from the scalar part of qn, but of course, itdepends on the reference quaternion p0 used for the decom-position. Hence, the moduli of two terms of a decomposedquaternion are given by

|q‖n| =√

a2n + ∣∣V‖(qn)

∣∣2; |q⊥ n| =∣∣V⊥(qn)

∣∣.

Let us precise the main term of the decomposition ac-cording to a pure reference quaternion p0 = x0i +y0j +z0k,with the unitary counterpart p0 = x0i + y0j + z0k such that(x2

0 + y20 + z2

0) = 1. By developing the triple product forquaternions, it is obtained

p0V (qn)p0 = (bn − 2bnx20 − 2cnx0y0 − 2dnx0z0

)i

+ (cn − 2cny20 − 2bnx0y0 − 2dny0z0

)j

+ (dn − 2dnz20 − 2bnx0z0 − 2cny0z0

)k.

(21)

4.2 Total Orderings for Quaternions

Total orderings introduced initially for colour quaternionsin [3] can be used also to define the derived morphologicaltransformations in quaternionic image representations.

Hence, we can generalize the polar-based total order-ings, proposed above for complex, to hypercomplex num-bers. The ordering ≤

�q01

imposes the priority to the modu-

lus, i.e.,

qn ≤�

q01

qm ⇔⎧⎨⎩

ρn < ρm or

ρn = ρm and θn ≺θ0 θm or

ρn = ρm and θn =θ0 θm and ‖ξn − ξ0‖ ≥ ‖ξm − ξ0‖(22)

where θ0 is the phase of reference quaternion q0, the angularordering �θ0 is given in expression 4 and

‖ξk − ξ0‖

=√(

bk√μk

− b0√μ0

)2

+(

ck√μk

− c0√μ0

)2

+(

dk√μk

− d0√μ0

)2

with μk = b 2k + c 2

k + d 2k . In this ordering, for two quater-

nions having the same module, the quaternion with lowerangular distance between its phase and the phase of refer-ence quaternion is greater or, if phases distances are equal,with the lower eigenaxis distance to the reference quater-nion. Two other orderings can be defined, giving respec-tively the priority to the distance of phases or to the distancebetween the eigenaxis, i.e.,

qn ≤�

q02

qm ⇔⎧⎪⎨⎪⎩

θn ≺θ0 θm or

θn =θ0 θm and ρn < ρm or

θn =θ0 θm and ρn = ρm and ‖ξn − ξ0‖ ≥ ‖ξm − ξ0‖(23)

and

qn ≤�

q03

qm ⇔⎧⎪⎨⎪⎩

‖ξn − ξ0‖ > ‖ξm − ξ0‖ or

‖ξn − ξ0‖ = ‖ξm − ξ0‖ and ρn < ρm or

‖ξn − ξ0‖ = ‖ξm − ξ0‖ and ρn = ρm and θn ≺θ0 θm.

(24)

However these ones are only partial orderings or pre-orderings, i.e., two distinct quaternions, qn = qm, can ver-ify the equality of the ordering because even if ξn = ξm

their corresponding distances to the reference can be equal,‖ξn − ξ0‖ = ‖ξm − ξ0‖. In order to have total orderings wepropose to complete the proposed cascades with an addi-tional lexicographical cascade of the hypercomplex values;see below how is completed a pre-ordering for the case ofparallel/perpendicular ordering.

But we can also introduce another family of total order-ings based on the ‖ / ⊥ decomposition. We consider in par-

Page 13: Hypercomplex Mathematical Morphology

98 J Math Imaging Vis (2011) 41:86–108

Fig. 6 Ordering of quaternionsui according to theirdecomposition ui‖ + ui⊥ aboutthe pure quaternion v:(a) |u3‖| > |u1‖| > |u2‖| ⇒u3 > u1 > u2, (b) |u1‖| = |u2‖|and |u1⊥| > |u2⊥| ⇒ u1 < u2.But quaternions u2 and u3which have equal modulus ofboth parallel and perpendicularparts cannot be ordered withoutan additional condition

ticular the two following cases:

qn ≤�

q04

qm ⇔⎧⎪⎪⎪⎪⎪⎪⎪⎪⎨⎪⎪⎪⎪⎪⎪⎪⎪⎩

|q‖n| < |q‖m| or

|q‖n| = |q‖m| and |q⊥n| > |q⊥m| or

|q‖n| = |q‖m| and |q⊥n| = |q⊥m| and⎧⎨⎩

bn < bm or

bn = bm and cn < cm or

bn = bm and cn = cm and dn ≤ dm

(25)

and

qn ≤�

q05

qm ⇔⎧⎪⎪⎪⎪⎪⎨⎪⎪⎪⎪⎪⎩

|q‖n| < |q‖m| or

|q‖n| = |q‖m| and⎧⎨⎩

bn < bm or

bn = bm and cn < cm or

bn = bm and cn = cm and dn ≤ dm.

(26)

The pure unitary quaternion required for the ‖ / ⊥ decom-position is just the corresponding to the reference quater-nion q0. The ordering ≤

�q04

is achieved by considering that

a quaternion is greater than another one with respect to q0 ifthe modulus of the parallel part is greater or if the length ofparallel parts are equal and the modulus of the perpendicularpart is lesser, see the examples depicted in Fig. 6. The inter-est of the simplified version ≤

�q05

is considered below. We

do not consider in the last ordering the fact that the perpen-dicular parts follows the same ordering as the parallel partsbecause that will be equivalent to an ordering starting fromthe modulus.

Obviously, other orderings are possible by consideringa different priority in the choice of the polar and paral-lel/perpendicular component or even taking the same com-ponents but selecting a different sense in the inequalities.For the sake of coherence we limit here our discussion tothe above introduced orderings.

4.3 ( ��+,�q0+ )-Hypercomplex Dilation and

( ��−,�q0− )-Hypercomplex Erosion

We generalize the construction of morphological compleximage representations to the hypercomplex ones as follows.

Definition 8 Given the four-variate transformation

�� = (ψ0B0

,ψIBI

,ψJBJ

,ψKBK

)

applied to the scalar image f (x) ∈ F (E, T ), the ��-hyper-complex image is defined by the mapping

f (x) �→ fH (x) = ψ0B0

(f )(x) + iψIBI

(f )(x)

+ jψJBJ

(f )(x) + kψKBK

(f )(x), (27)

where fH (x) : E → H and the four transformations arescalar operators, i.e., ψB : T → T .

We notice that in this definition the scalar part of the ��-hypercomplex image is also the result of a morphologicaltransformation of the original grey-scale image.

After choosing a particular ��-hypercomplex representa-tion as well as a particular quaternionic total ordering �

q0∗ ,we have the following operators.

Definition 9 A generic pair of ( ��+,�q0+ )-hypercomplex di-

lation and ( ��−,�q0− )-hypercomplex erosion is given respec-

tively by the expressions

⎧⎪⎪⎨⎪⎪⎩

��+ = (ψ0+B0

,ψI+BI

,ψJ+BJ

,ψK+BK

) : f (x) �→ fH (x),

δ〈�+,�q0+ ,B〉(f )(x)

= {f (y) : fH (y) =∨�

q0+[fH (z)], z ∈ B(x))}

(28)

and⎧⎪⎪⎨⎪⎪⎩

��− = (ψ0−B0

,ψI−BI

,ψJ−BJ

,ψK−BK

) : f (x) �→ fH (x),

ε〈�−,�q0− ,B〉(f )(x)

= {f (y) : fH (y) =∧�

q0−[fH (z)], z ∈ B(x))}.

(29)

Page 14: Hypercomplex Mathematical Morphology

J Math Imaging Vis (2011) 41:86–108 99

Therefore two kinds of degrees of freedom must be setup to have totally stated the operator:

• the hypercomplex transformation, which includes the setof structuring elements

{B0,BI ,BJ ,BK },

• the quaternionic ordering, which includes the choice ofthe reference quaternion q0.

We should notice that this framework generalize the com-plex operators introduced in previous section; e.g., the di-lation δ〈�+,�

q0+ ,B〉, with ��+ = (Id, γBC,0,0), �

q0+ ≡ �q01

and with q0 = 1 + i is equivalent to the γ -complex dilationδ〈1,γBC

,B〉.As discussed in previous section, openings/closings and

white/black top-hats are useful for the transformations ψ∗B ,

but also the gradients, which favour the dilation/erosion ofpoints close to the object contours, can be considered. In ad-dition, the four-variate hypercomplex transformation can beused for instance to introduce directional effects accordingto the main grid directions in 3D images:

fH (x) = ψ0B0

(f )(x) + iψILx

(f )(x)

+ jψJLy

(f )(x) + kψKLz

(f )(x)

where B0 is an isotropic (disk) structuring element of size s

(which can be s = 0 so the transformation is the identity) andwhere Lx is an linear structuring element of size x accordingthe direction x. This particular case will be considered in theexamples of next section.

Any of the quaternionic orderings could be applied; butas we have studied in detail for the complex case, the choiceof the pair of transformations ( ��+, ��−) as well as the ref-erence quaternion in the orderings �

q0+ and �q0− should be

coherent in order to have, if possible, a pair of hypercom-plex dilation and erosion which are an adjunction.

Instead of developing an analysis for the adjunctions as-sociated to polar orderings, let us focus now specificallyon an example of orderings �

q04 and �

q05 , associated to the

‖ / ⊥ decomposition according to a reference quaternion.

Proposition 10 Given �γ = (γ 0B0

, γ IBI

, γ JBJ

, γ KBK

) and �ϕ =(ϕ0

B0, ϕI

BI, ϕJ

BJ, ϕK

BK), and the reference quaternion q0 =

x0i + y0j + z0k with x0, y0, z0 ≥ 0, the pair

(δ〈 �γ ,�q05 ,B〉, ε〈 �ϕ,�

q05 ,B〉)

is an adjunction; however, the pair (δ〈 �γ ,�q04 ,B〉, ε〈 �ϕ,�

q04 ,B〉) is

not an adjunction.

Proof We must study under which conditions it is verifiedthat:{∨

�q04:5

[fH (z)

], z ∈ B(x)

}≤

�q04:5

gH (x)

⇔ fH (x) ≤�

q04:5

{∧

�q04:5

[gH (z)

], z ∈ B(x)

}.

From proofs given in Sect. 3, we know that, after simplemanipulations, we must check under which conditions wehave

�γ (g)(x) = γ 0B0

(f )(x) + iγ IBI

(g)(x)

+ jγ JBJ

(g)(x) + kγ kBK

(g)(x) ≤�

q04:5

�ϕ(g)(x) = ϕ0B0

(g)(x) + iϕIBI

(g)(x)

+ jϕJBJ

(g)(x) + kϕkBK

(g)(x).

We notice that by definition we always have γ 0B0

(g) ≤ϕ0

B0(g), γ I

BI(g) ≤ ϕI

BI(g), . . . . On the other hand, in the or-

derings ≤�

q04:5

, we have to consider the following decompo-

sition:

�γ (g)(x) = �γ (g)(x)‖ + �γ (g)(x)⊥ and

�ϕ(g)(x) = �ϕ(g)(x)‖ + �ϕ(g)(x)⊥,

according to reference quaternion q0. Then, for ≤�

q04

the

two fundamental conditions of ordering are:

�γ (g)(x) ≤�

q04

�ϕ(g)(x) ⇔{ | �γ (g)(x)‖| < | �ϕ(g)(x)‖| or

| �γ (g)(x)‖| = | �ϕ(g)(x)‖| and | �γ (g)(x)⊥| ≥ | �ϕ(g)(x)⊥|.To fix the ideas, we can for instance choose as referencequaternion q0 = i + j . A straightforward calculation from(21), applied on expressions (19) and (20) leads to

�γ (g)(x)‖ = γ 0B0

(f )(x) + i

2

[γ IBI

(f )(x) + γ JBJ

(f )(x)]

+ j

2

[γ IBI

(f )(x) + γ JBJ

(f )(x)],

�γ (g)(x)⊥ = i

2

[γ IBI

(f )(x) − γ JBJ

(f )(x)]

+ j

2

[γ JBJ

(f )(x) − γ IBI

(f )(x)]+ kγ K

BK(f )(x),

and similar expressions for �ϕ(g)(x)‖ and �ϕ(g)(x)⊥ byputting, mutatis mutandis, ϕ instead of γ . In fact, by choos-ing another q0 = x0i + y0j + z0k with x0, y0, z0 ≥ 0, theimaginary components of the ‖ images are positive linearcombinations of the imaginary components of the initial hy-

Page 15: Hypercomplex Mathematical Morphology

100 J Math Imaging Vis (2011) 41:86–108

Fig. 7 Comparative example of structure extraction using bright top-

hat τ+B (for all the transformations B is a square of 25 pixels): (a) orig-

inal image f , (b) standard transformation, (c) (�π/21 , γBC

)-complex

dilation, (�π/21 , ϕBC

)-complex erosion, BC = D10, (d) (�π/22 , γBC

)

-complex dilation, (�π/22 , ϕBC

)-complex erosion, BC = D10,(e) ��+/− = (Id/Id, �Lx

10/ − �Lx

10, �L

y10

/ − �Ly10

,0), �q04 , q0 = i + j

percomplex image; and of course, the weights of the lin-ear combination are the same for �γ (g)(x)‖ and �ϕ(g)(x)‖.Hence, | �γ (g)(x)‖| is always ≤ that | �ϕ(g)(x)‖|. But, for theexample q0 = i + j , we see that | �γ (g)(x)⊥| is not always≥ that | �ϕ(g)(x)⊥|, which is contradiction with for ≤

�q04

.

More generally, independently of the choice of q0, we can-not guarantee the second condition of the ordering cascadeof ≤

�q04

. Consequently, only if we skip the second con-

dition the adjunction is verified, such as it is the case for≤

�q05

. �

However, independently of the previous result, in our ex-perimental tests, we have observed for instance that the re-sults obtained for dilations/erosions with the ordering ≤

�q04

are visually more reliable than those obtained for ≤�

q05

. As

a matter of fact, as we illustrate in the next Section, it isimportant to remark that even if a pair of dilation/erosion(δ〈 �γ ,�

q04 ,B〉, ε〈 �ϕ,�

q04 ,B〉) is not an adjunction, the practical be-

havior of evolved operators (openings/closings and other)can lead to interesting empirical filtering properties.

5 Examples and Applications

The (hyper-)complex dilations/erosions introduced in thepaper can be used to build any of the advanced opera-tors considered in the literature of mathematical morphol-ogy. The principle of generalization entails using always ahomogeneous (hyper-)complex pair of dilation/erosion andthen applying the standard definitions for construction theevolved (hyper-)complex operators. Our purpose in this sec-tion is to illustrate empirically the potential interest of theintroduced (hyper-)complex filters, by comparing them withthe standard scalar filters in typical tasks solved by mathe-matical morphology.

We start with the example given in Fig. 7. The aim is toextract the most bright contrasted structures from the unevenbackground this aerial image. This objective can be achievedby a white top-hat [42]

th+B(f )(x) = f (x) − γB(f )(x),

Page 16: Hypercomplex Mathematical Morphology

J Math Imaging Vis (2011) 41:86–108 101

Fig. 8 Comparative example of image filtering using morpho-

logical center ζB (for all the transformations B is a square

of 3 pixels): (a) original image f , (b) standard transforma-

tion, (c) (�π/21 , γBC

)-complex dilation, (�π/21 , ϕBC

)-complex erosion,BC = D5, (d) ��+/− = (γD5/ϕD5 , γLx

5/ϕLx

5, γL

y5/ϕL

y5,0), �

q04 , q0 =

i + j , (e) ��+/− = (γD5/ϕD5 , γLx5/ϕLx

5, γL

y5/ϕL

y5,0), �

q04 , q0 = i

where the structuring element B determines the maximalsize/shape of the structures to be extracted, here a squareof 25 × 25 pixels. As it is observed in this example, the typ-ical drawback of standard top-hat is that background irreg-ularities lesser than B are also extracted independently oftheir relative contrast. It is shown here that the use of γ andφ-complex operators, with the ordering (�

π/22 , γBC

/ϕBC)

which gives the priority to the phase, allows to introducea selection exclusively of most contrasted structures (ac-cording to an opening/closing by a square 10 × 10 pix-els), compare Fig. 7(c) and (d). It is given also in Fig. 7(e)an example of hypercomplex operators using the x andy directional gradients for the imaginary component, i.e.,�Lx

10(f ) = δLx

10(f ) − εLx

10(f ), where Lx

10 is an horizontalsegment of 10 pixels; and the identity transformation forthe scalar component. By choosing the reference quaternionq0 = i + j , and the positive sign of the gradient for the di-lation and negative sign for the erosion, the correspondinghypercomplex top-hat favours the extraction of bright struc-tures with strong gradients.

Figure 8 depicts an example of image filtering using themorphological center, an operator having more robust prop-erties for denoising than the standard median. More pre-cisely, the center can be defined as [43]

ζB(f )(x) = [f (x) ∨ (γBϕBγB(f )(x) ∧ ϕBγBϕB(f )(x))]

∧ (γ ϕγ (f )(x) ∨ ϕγϕ(f )(x)),

where the two operators γBϕBγB(f ) ϕBγBϕB(f ) pre-filterout in priority respectively the bright and dark noisy struc-tures, with B an unit centered structuring element (squareof 3 × 3 pixels). It is observed that the complex opera-tors (�

π/21 , γBC

/ϕBC), with BC a square 5 × 5 pixels, see

Fig. 8(c), lead to more strong simplification than the stan-dard operator (b). Note that if we choose for B a squareof 5 × 5 pixels the results obtained for the standard opera-tor are almost the same than for 3 × 3 pixels. This exam-ple allows us to observe also how directional filtering effectcan be introduced by the reference quaternion used in thehypercomplex ‖ / ⊥ ordering. We use directional x and y

Page 17: Hypercomplex Mathematical Morphology

102 J Math Imaging Vis (2011) 41:86–108

Fig. 9 Comparative example of morphological edge detection ((∗-1)corresponds to the gradient and (∗-2) to the thresholded zero-crossing of laplacian, see the text for details): (a) original imagef , (b-∗) standard transformation, (c-∗) (�

π/22 , τ+

BC)-complex dila-

tion, (�−π/22 ,−[τ−

BC]c)-complex erosion, BC = D5, (d-∗) ��+/− =

(γD5/ϕD5 , γLx5/ϕLx

5, γL

y5/ϕL

y5,0), �

q04 , q0 = i + j , (e-∗) ��+/− =

(Id/Id, �Lx5/ − �Lx

5, �L

y10

/ − �Ly10

,0), �q04 , q0 = i + j

openings/closings for the imaginary part and isotropic open-

ing/closing for the scalar part. By fixing q0 = i + j , similar

importance is given to x and y directions, but by choosing

q0 = i, it is focused on simplifying structures according to

direction x.

A simple edge detector can be implemented using onlymorphological erosion and dilation. The idea was introducedin [53] and consists in defining the nonlinear laplace filter as

lpB(f )(x) = (δB(f )(x) − f (x))− (f (x) − εB(f )(x)

),

Page 18: Hypercomplex Mathematical Morphology

J Math Imaging Vis (2011) 41:86–108 103

Fig. 10 (Color online) Comparative example of opening by re-

construction: (a) original image f and marker m (red zone),

(b) standard transformation, (c) (�π/21 , γBC

)-complex dilation,

(�π/21 , ϕBC

)-complex erosion, BC = D5, (d) (�π/22 , τ+

BC)-complex di-

lation, (�−π/22 ,−[τ−

BC]c)-complex erosion, BC = D5, (e) ��+/− =

(γD5/ϕD5 , γLx5/ϕLx

5, γL

y5/ϕL

y5,0), �

q04 , q0 = i + j

and the zero crossings of lpB(f ), as in the classical Marr-Hildreth model, correspond to the edges of image f . In orderto select only the most prominent edges, the zero crossingdetector is “multiplied” with a threshold by hysteresis of themorphological gradient given by

�B(f )(x) = δB(f )(x) − εB(f )(x).

Hence, the single parameter of this edge detection modelis the pair of threshold values for the gradient. In Fig. 9 isgiven a comparison of edge detection using various (hyper-)complex operators, using the same threshold values. For thefour examples is shown the gradient �B(f ) and final de-tected edges. The original image is particulary textured andconsequently the standard transformations produce manysecondary contours. The visual comparison of the three il-lustrated alternatives yield to different degrees of selectivityof contours. In particular, the τ+ and [τ−]c complex repre-sentation, with ordering by phase, is the most selective butpresents some discontinuities.

Let us now consider an example of geodesic operators.We remind that the geodesic dilation is based on restrictingthe iterative dilation of an image marker m(x) by B to a

function reference f (x) [55], i.e.,

δn(m,f )(x) = δ1δn−1(m,f )(x),

where the unitary conditional dilation is given by δ1(m,f )(x)

= δB(m)(x) ∧ f (x). Typically, B is an isotropic structuringelement of size 1. The reconstruction by dilation, or openingby reconstruction, is then defined by

γ rec(m,f )(x) = δi(m,f )(x),

such that δi(m,f ) = δi+1(m,f ) (idempotence). The open-ing by reconstruction γ rec(m,f ) is aimed at efficiently andprecisely reconstructing the contours of the objects of f (x)

which are marked by the image m(x). In the example ofFig. 10, the marker m is a small rectangle in the center ofthe orchid and the opening by reconstruction should sim-plify strongly the image, preserving the main contours ofthe orchid. But usually, the standard operators reconstructmore texture and secondary contours than expected. It is ob-served that the three examples of (hyper-)complex opera-tors involves stronger image simplifications. In particular,τ+ and [τ−]c complex representation is especially strong;in addition, we see that the hypercomplex operators with the

Page 19: Hypercomplex Mathematical Morphology

104 J Math Imaging Vis (2011) 41:86–108

Fig. 11 Comparative example of morphological cartoon + tex-ture/noise decomposition ((∗-1) corresponds to the levelling and(∗-2) to the pointwise difference between the original image andthe levelling, see the text for details): (a) original image f ,(a’) marker image mrk = f ∗ Gσ , (b-∗) (�

π/21 , γBC

)-complex

dilation, (�π/21 , ϕBC

)-complex erosion, BC = D5, (c-∗) ��+/− =(Id/Id, γBI

/ϕBI, γBJ

/ϕBJ,0), �

q04 , q0 = i + j , B0 = D5, BI = Lx

5 ,BJ = L

y

5 , (d-∗) ��+/− = (γB0/ϕB0 , γBI/ϕBI

, γBJ/ϕBJ

,0), �q04 , q0 =

i + j , B0 = D5, BI = Lx5 , BJ = L

y

5

istropic/directional openings/closings and the ‖ / ⊥ decom-position leads to hard simplification than the γ and ϕ com-plex counterpart.

But the geodesic operators can be used to other applica-tions than the supervised structure simplification. The lev-elling λ(m,f ) of a reference image f and a marker imagem is a symmetric geodesic operator computed by means ofan iterative algorithm with geodesic dilations and geodesic

erosions until idempotence [32], i.e.,

λ(m,f )(x) = λi(m,f )(x)

= [f (x) ∧ δi(m,f )(x)]∨ εi(m,f )(x),

until λi(m,f ) = λi+1(m,f ). The levelling simplifies theimage f , removing the objects and textures which are notmarked by m and preserving the contours of the remaining

Page 20: Hypercomplex Mathematical Morphology

J Math Imaging Vis (2011) 41:86–108 105

Fig. 12 (Color online) Edgedetection in a single section of aCT scanner image: (a) originalimage, (b-∗) filtered image bythe morphological center,followed by a toggle mapping,(c-∗) detected edges bythresholding zerocrossing ofmorphological laplacian (in red)superimposed on the gradient.(∗-1) operators based on(�

π/21 , γBC

)-complex dilation,BC = D5, (∗-2) operators basedon (�

π/22 , τ+

BC)-complex

dilation,(�

−π/22 ,−[τ−

BC]c)-complex

erosion, BC = D5

objects. Moreover, it acts simultaneity on the bright and darkobjects. By imposing as marker a rough simplification ofthe image, given for instance by a Gaussian filter, the corre-sponding levelling produces a Cartoon-like image; and theresidue between the original and the levelled image is a rep-resentation of Texture/noise-like image [49], where the scaleof texture is given by the σ 2 used in the Gaussian marker.Figure 11 depicts an example of a textured and noisy imageand its Gaussian filtered version. We can compare the per-formances of the standard and (hyper-)complex levellingsfor this decomposition Cartoon + Texture/noise. In this case,it is compared particularly the hypercomplex operators, in‖ / ⊥ decomposition-based ordering, with directional open-ings/closings for the imaginary part and without vs. with anisotropic opening for the real part. The last case, as already

remarked for other examples, is particularly appropriate inorder to obtain good regularization effects.

5.1 Application to Medical Image Analysis

To conclude this section of results, we apply some of the(hyper)-complex operators illustrated above to the analysisof two concrete examples from medical imaging. The aim isnot to solve a particular medical problem, but at least to givean overview of the potential interest of these operators forsome typical images.

The first example given in Fig. 12 corresponds to a sin-gle section of a CT scanner acquisition. It is possible fromthese images to visualize the different organs and to detectanomalies, tumors, etc. In our case, we propose to detect

Page 21: Hypercomplex Mathematical Morphology

106 J Math Imaging Vis (2011) 41:86–108

Fig. 13 (Color online) Arteries extraction in a coronarography:(a) original image and marker (in red), (b-∗) vessel enhancementby top-hat, (c-∗) network extraction using marker-driven mor-phological opening. (∗-1) ��+/− = (Id/Id, γBI

/ϕBI, γBJ

/ϕBJ,0),

�q04 , q0 = i + j , B0 = D5, BI = Lx

5 , BJ = Ly

5 , (∗-2) ��+/− =(γB0/ϕB0 , γBI

/ϕBI, γBJ

/ϕBJ,0), �q0

4 , q0 = i +j , B0 = D5, BI = Lx5 ,

BJ = Ly

5

edges of the basic structures, which can be useful for sub-sequent measurements. The first step involves filtering outthe image, in order to denoise it and to enhance the con-trast of the structures. It is achieved by the application ofa morphological center, followed by a toggle-mapping [42,50]. The latter is a simple operator obtained by taking ateach pixel the closer value to the original intensity betweenand erosion and a dilation. Then, after computing the mor-phological gradient, the edges are obtained by thresholdingzerocrossing of morphological laplacian. In the example arecompared two families of complex operators. We observe,for instance, that operators based on τ+-complex dilationsand [τ−]c-complex erosions are more effective in the detec-tion of small but contrasted objects than operators based onγ -complex dilations and ϕ-complex erosions.

In the second example of Fig. 13, we deal with an x-raycontrast image of the heart (coronarography) used for the ex-amination of the coronary arteries. Our purpose is to cleanthe uneven background and then, using an interactive markeron the main artery, to extract the main vessels of the net-work. This problem is tackled by, first, using a top-hat and,second, by computing an opening by reconstruction with theinteractive marker. Two hypercomplex families of operatorsare again compared. As we can observe, by considering al-ternatively the original image or an opening/closing one, itis possible to include in the operators an additional size con-

straint which allows being more selective in the extractionof the vessels of a minimal size (i.e., diameter).

6 Conclusions and Perspectives

We have introduced morphological operators for grey-levelimages based on indirect total orderings. The orderings areassociated to hypercomplex image representations where theimaginary components of the hypercomplex function are ob-tained from a prior multi-valued transformation of the orig-inal image. The properties of the corresponding hypercom-plex adjunctions have been studied.

The practical motivation was to introduce in the basicerosion/dilation operators some information on size invari-ance or on relative contrast of structures. The results ob-tained from some illustrative examples showed their poten-tial applicative interest.

Other representations using upper dimensional CliffordAlgebras [1] can be foreseen in order to have a more genericframework not limited to four-variables image representa-tions. In addition, the approach can also be extended toalready natural multivariate images (i.e., multispectral im-ages) and, in this last case, it seems appropriate to envisagetensor representations and associated total orderings.

Page 22: Hypercomplex Mathematical Morphology

J Math Imaging Vis (2011) 41:86–108 107

References

1. Ablamowicz, R., Sobczyk, G.: Lectures on Clifford (Geometric)Algebras and Applications. Birkhäuser, Basel (2004)

2. Angulo, J.: From scalar-valued images to hypercomplex represen-tations and derived total orderings for morphological operators.In: Proc. of ISMM’09 (International Symposium on MathematicalMorphology), Groningen, The Netherlands, August 2009. LNCS,vol. 5720, pp. 238–249. Springer, Berlin (2009)

3. Angulo, J.: Geometric algebra colour image representations andderived total orderings for morphological operators—Part I:Colour quaternions. J. Vis. Commun. Image Represent. 21, 33–48 (2010)

4. Batard, T., Berthier, M., Saint-Jean, C.: Clifford Fourier transformfor color image processing. In: Proceedings of Applied GeometricAlgebras in Computer Science and Engineering. LNCS. Springer,Berlin (2008)

5. Batard, T., Saint-Jean, C., Berthier, M.: A metric approach to nDimages edge detection with Clifford algebras. J. Math. ImagingVis. 33(3), 296–312 (2009)

6. Bloch, I.: Duality vs. adjunction for fuzzy mathematical morphol-ogy and general form of fuzzy erosions and dilations. Fuzzy SetsSyst. 160, 1858–1867 (2009)

7. Bloch, I., Maitre, H.: Fuzzy mathematical morphologies: a com-parative study. Pattern Recognit. 28(9) (1995)

8. Bülow, T., Sommer, G.: Hypercomplex signals—a novel extensionof the analytic signal to the multidimensional case. IEEE Trans.Image Process. 49(11), 2844–2852 (2001)

9. Carré, Ph., Denis, P.: Quaternionic wavelet transform for colourimages. In: Wavelet Applications in Industrial Processing IV, vol.6383, Boston, USA (2006)

10. Deng, T.Q., Heijmans, H.J.A.M.: Gray-scale morphology basedon fuzzy logic. J. Math. Imaging Vis. 16(2), 155–171 (2002)

11. Denis, P., Carré, Ph., Fernandez-Maloigne, Ch.: Spatial and spec-tral quaternionic approaches for colour images. Comput. Vis. Im-age Underst. 107(2–3), 74–87 (2007)

12. Di Zenzo, S.: A note on the gradient of a multi-image. Comput.Vis. Graph. Image Process. 33(1), 116–125 (1986)

13. Ell, T.A.: Hypercomplex color affine filters. In: Proc. of IEEEConference on Image Processing (ICIP’07), vol. V, pp. 249–252(2007)

14. Ell, T.A.: Multi-vectors color-image filters. In: Proc. of IEEEConference on Image Processing (ICIP’07), vol. V, pp. 245–248(2007)

15. Ell, T.A., Sangwine, S.J.: Hypercomplex Wiener-Khintchine theo-rem with application to color image correlation. In: IEEE ICIP’00,vol. II, pp. 792–795 (2000)

16. Ell, T.A., Sangwine, S.J.: Hypercomplex Fourier transform ofcolor images. IEEE Trans. Image Process. 16(1), 22–35 (2007)

17. Felsberg, M., Sommer, G.: The monogenic signal. IEEE Trans.Image Process. 49(12), 3136–3144 (2001)

18. Felsberg, M., Sommer, G.: The monogenic scale-space: A uni-fying approach to phase-based image processing in scale-space.J. Math. Imaging Vis., 21, 5–26 (2004)

19. Hamilton, W.R.: In: Ingram, R.E., Halberstam, N. (eds.) TheMathematical Papers of Sir William Rowan Hamilton, vol. III,Cambridge University Press, Cambridge (1967)

20. Heijmans, H.J.A.M.: Morphological Image Operators. AcademicPress, Boston (1994)

21. Heijmans, H.J.A.M.: On the construction of morphological opera-tors which are selfdual and activity-extensive. Signal Process. 38,13–19 (1994)

22. Heijmans, H.J.A.M., Keshet, R.: Inf-semilattice approach to self-dual morphology. J. Math. Imaging Vis. 17(1), 55–80 (2002)

23. Heijmans, H.J.A.M., Ronse, C.: The algebraic basis of mathemat-ical morphology—Part I: Dilations and erosions. Comput. Vis.Graph. Image Process. 50, 245–295 (1990)

24. Kresch, R.: Extensions of morphological operations to completesemilattices and its applications to image and video processing.In: Mathematical Morphology and Its Application to Image andSignal Processing, Proc. of ISMM’98, pp. 35–42. Kluwer, Ams-terdam (1998)

25. Kuosmanen, P., Astola, J.: Soft morphological filtering. J. Math.Imaging Vis. 231–262 (1995)

26. Labunets, V.: Clifford algebras as unified language for imageprocessing and pattern recognition. In: Byrnes, J., Ostheimer, G.(eds.) Computational Noncommutative Algebra & Applications,NATO Sciences Series II Mathematics, Physics & Chemistry,vol. 136, Kluwer, Amsterdam (2003)

27. Labunets-Rundblad, E., Labunets, V.: Spatial-colour clifford alge-bras for invariant image recognition. In: Sommer, G. (ed.) Geo-metric Computing with Clifford Algebra, pp. 155–185. Springer,Berlin (2001)

28. Labunets-Rundblad, E., Maidan, A., Novak, P., Labunets, V.: Fastcolor wavelet transforms. In: Byrnes, J., Ostheimer, G. (eds.)Computational Noncommutative Algebra & Applications. NATOSciences Series II Mathematics, Physics & Chemistry, vol. 136,pp. 401–412. Kluwer, Amsterdam (2003)

29. Le Bihan, N., Sangwine, S.J.: Quaternion principal componentanalysis of color images. In: Proc. of International Conference onImage Processing (ICIP’03), vol. 1, pp. 809–812 (2003)

30. Matheron, G.: Les treillis compacts. Technical Report—ParisSchool of Mines, N-23/90/G, November (1990)

31. Meyer, F.: Constrast features extraction. In: Chermant (ed.) Quan-titative Analysis of Microstructures in Materials Science, Biologyand Medecine, pp. 374–380. Riederer, Dordrecht (1977)

32. Meyer, F.: The levelings. In: Heijmans, Roerdink (eds.) Math-ematical Morphology and Its Applications to Image and SignalProcessing, Proc. of ISMM’98, pp. 199–206. Kluwer, Amsterdam(1998)

33. Meyer, F.: Alpha-beta flat zones, levelings and flattenings. In: Tal-bot, H., Beare, R. (eds.) Proceedings of ISMM’02, pp. 47–68,CSIRO Publishing (2002)

34. Meyer, F., Angulo, J.: Micro-viscous morphological operators. In:Mathematical Morphology and Its Applications to Signal and Im-age Processing (ISMM’07), pp. 165–176 (2007)

35. Meyer, F., Angulo, J.: Microviscosity micromorphology. To ap-pear in Image Vis. Comput. (2010)

36. Pei, S.-C., Cheng, C.-M.: Color image processing by us-ing binary quaternion-moment-preserving thresholding technique.IEEE Trans. Image Process., 8(5), 614–628 (1999)

37. Pei, S.-C., Chang, J.-H., Ding, J.-J.: Quaternion matrix singularvalue decomposition and its applications for color image process-ing. In: Proc. of International Conference on Image Processing(ICIP’03), vol. 1, pp. 805–808 (2003)

38. Ronse, C., Heijmans, H.J.A.M.: The algebraic basis of mathemat-ical morphology—Part II: Openings and closings. CVGIP, ImageUnderst. 54, 74–97 (1991)

39. Sangwine, S.J.: Fourier transforms of colour images using quater-nion, or hypercomplex, numbers. Electron. Lett. 32(21), 1979–1980 (1996)

40. Sangwine, S.J.: Colour image edge detector based on quaternionconvolution. Electron. Lett. 34(10), 969–971 (1998)

41. Sangwine, S.J., Ell, T.A.: Mathematical approaches to linear vec-tor filtering of colour images. In: Proc. of European Conference onColour in Graphics, Imaging and Vision (CGIV’02), pp. 348–351(2002)

42. Serra, J.: Image Analysis and Mathematical Morphology, vol I.Academic Press, London (1982)

43. Serra, J.: Image Analysis and Mathematical Morphology, vol II:Theoretical Advances. Academic Press, London (1988)

44. Serra, J.: Anamorphoses function lattices (multivalued morphol-ogy). In: Dougherty (ed.) Mathematical Morphology in ImageProcessing, pp. 483–523. Dekker, New York (1992)

Page 23: Hypercomplex Mathematical Morphology

108 J Math Imaging Vis (2011) 41:86–108

45. Serra, J.: Viscous lattices. J. Math. Imaging Vis., 22(2–3), 269–282 (2005)

46. Shi, L., Funt, B.: Quaternion color texture segmentation. Comput.Vis. Image Underst. 107(1–2), 88–96 (2007)

47. Sochen, N., Zeevi, Y.Y.: Representation of colored images bymanifolds embedded in higher dimensional non-Euclidean space.In: Proc. of International Conference on Image Processing(ICIP’98), vol. 1, pp. 166–170 (1998)

48. Sochen, N., Kimmel, R., Malladi, R.: A general framework for lowlevel vision. IEEE Trans. Image Process. 7(3), 310–318 (1998)

49. Sofou, A., Evangelopoulos, G., Maragos, P.: Coupled geometricand texture PDE-based segmentation. In: Proc. of IEEE Interna-tional Conference on Image Processing (ICIP’05), vol. II, pp. 650–653 (2005)

50. Soille, P.: Morphological Image Analysis. Springer, Berlin (1999)51. Vachier, C., Meyer, F.: The viscous watershed transform. J. Math.

Imaging Vis. 22(2–3), 251–267 (2005)52. Vachier, C., Meyer, F.: News from viscousland. In: Proc. of Inter-

national Symposium on Mathematical Morphology (ISMM’07),pp. 189–200 (2007)

53. van Vliet, L.J., Young, I.T., Beckers, G.L.: A nonlinear operatoras edge detector in Noisy images. Comput. Vis. Graph. ImageProcess. 45, 167–195 (1989)

54. Verdu, R., Angulo, J., Serra, J.: Anisotropic morphological fil-ters with spatially-variant structuring elements based on image-dependent gradient fields. IEEE Trans. Image Process. 20(1), 200–212 (2011)

55. Vincent, L.: Morphological grayscale reconstruction in imageanalysis: applications and efficient algorithms. IEEE Trans. ImageProcess. 2(2), 176–201 (1993)

56. Yuille, A., Vincent, L., Geiger, D.: Statistical morphology. In:Proc. of SPIE Image Algebra and Morphological Image Process-ing II. SPIE, vol. 1568, pp. 271–282 (1991)

57. Zang, D., Sommer, G.: Signal modeling for two-dimensional im-age structures. J. Vis. Commun. Image Represent., 18, 81–99(2007)

58. Zingman, I., Meir, R., El-Yaniv, R.: Size-density spectra andtheir application to image classification. Pattern Recognit. 40(12),3336–3348 (2007)

Jesús Angulo received a degreein Telecommunications Engineer-ing from Polytechnical Universityof Valencia, Spain, in 1999, with aMaster Thesis on Image and VideoProcessing. He obtained his PhD inMathematical Morphology and Im-age Processing, from the Ecole desMines de Paris (France), in 2003,under the guidance of Prof. JeanSerra. He is currently a permanentresearcher (ChargT de Recherche)in the Center of Mathematical Mor-phology (Department of Mathemat-ics and Systems) at MINES Paris-

Tech. His research interests are in the areas of multivariate imageprocessing (colour, hyper/multi-spectral, temporal series, tensor imag-ing) and mathematical morphology (filtering, segmentation, shape andtexture analysis, stochastic approaches, geometry), and their applica-tion to the development of theoretically-sound and high-performancealgorithms and software in the Biomedicine/Biotechnology, RemoteSensing and Industrial Vision.