Abstract
Asplünd’s metric, which is useful for pattern matching, consists in a double-sided probing, i.e. the over-graph and the sub-graph of a function are probed jointly. This paper extends the Asplünd’s metric we previously defined for colour and multivariate images using a marginal approach (i.e. component by component) to the first spatio-colour Asplünd’s metric based on the vectorial colour LIP model (LIPC). LIPC is a non-linear model with operations between colour images which are consistent with the human visual system. The defined colour metric is insensitive to lighting variations and a variant which is robust to noise is used for colour pattern matching.
You have full access to this open access chapter, Download conference paper PDF
Similar content being viewed by others
Keywords
- Asplünd’s metric
- Spatio-colour metric
- Colour Logarithmic Image Processing
- Double-sided probing
- Colour pattern recognition
1 Introduction
The Asplünd’s metric initially defined for binary shapes [1, 4] has been extended to grey-scale images by Jourlin et al. [6, 7] and to colour and multivariate images in the LIP framework by Noyel and Jourlin [13]. It consists in probing a function by two homothetic template functions, i.e. the probes which are computed by the LIP multiplication.
The Logarithmic Image Processing (LIP) model initially defined for grey level images by Jourlin and Pinoli [8, 9] is perfectly suited for images acquired by transmitted light (i.e. when the observed object is located between the source and the sensor) and by reflected light because of its consistency with the Human Vision [3]. The necessity to analyse together the channels of the colour images (i.e. by a vectorial analysis) has led to the introduction of the Logarithmic Image Processing for Colour images (LIPC) by Jourlin et al. [5].
The LIP Asplünd’s metric was defined in [13] in a marginal way (i.e. channel by channel). In this paper, our contribution is to extend this metric by using the spatio-colour properties [11, 12] of the colour LIPC framework.
After some prerequisites about the colour LIPC model and about the marginal LIP Asplünd’s metric, we will define a spatio-colour Asplünd’s metric in the LIPC framework. Then we will perform spatio-colour pattern matching which is robust to noise. Examples will illustrate the definitions.
2 Prerequisites
2.1 LIPC Model
A colour image \(\mathbf {f}\), defined on a domain \(D \subset \mathbb {R}^{N}\), with values in \(\mathcal {T}^3 = [0,M[^3\), \(M \in \mathbb R\), is written:
\(f_R\), \(f_G\), \(f_B\) are the red, green and blue channels (i.e. components) of \(\mathbf {f}\), \(\mathbf {f}(x)\) is a vector-pixel and x is the spatial coordinate of the vector-pixel. The real value M is equal to \(2^8=256\) for 8 bits images. Given P the number of pixels, the matrix \(\mathbf {F}\) of \(E \rightarrow \mathcal {T}\), \(E = 3 \times P\), associated to the image \(\mathbf {f}\) is written:
To make the comments easier, the word “image” designates both the matrix \(\mathbf {F}\) and the image \(\mathbf {f}\). The image space for 24-bits images \(\mathbf {F}\) is written \(\mathcal {I}^3\).
A colour image is a particular case of a multivariate image defined as \(\mathbf {f}_{\lambda } : D \rightarrow \mathcal {T}^L\), where \(L \in \mathbb {N}\) is the number of channels [11, 12].
As for the grey-level LIP, the colour LIPC framework is based on colour transmittance [5]. It is valid for transmitted and reflected images [3]. It models the human perceptual system approach by taking into account: (i) the sensitivity of the human eye in the visible domain characterised by colour matching functions of Stiles and Burch [14] and (ii) the spectral distribution of light with the D65 illuminant [15].
In the LIPC framework, the transmittance of the sum of two images is equal to the product of their transmittances \(\mathbf {T}_{\mathbf {F}}\) and \(\mathbf {T}_{\mathbf {G}}\):
. The symbol of the LIPC addition is
and \(*\) represents the element-wise multiplication [5]. The addition of two images \(\mathbf {F}, \mathbf {G}\in \mathcal {I}^3\) is:

\(\mathbf {\acute{K}}\) and \(\mathbf {\acute{U}}\) are real matrices of size \(3 \times 3\) corresponding to the LIPC mixing modelFootnote 1. From the LIPC addition, a multiplication by a scalar \(\alpha \in \mathbb R\) has been defined:

The space is the positive cone of a vector space with robust mathematical properties.
Physical interpretation [5]: the LIPC addition corresponds to the superposition of two semi-transparent layers. A LIPC multiplication by a scalar \(\alpha \in \, ]0,1[\) brightens the result by suppressing layers, while a scalar \(\alpha \in \, ]1,+\infty [\) darkens the result by superimposing \(\alpha \) times the image on itself.
2.2 Marginal Asplünd’s Metric for Colour and Multivariate Images
In [13], an Asplünd’s metric between colour images was defined with the LIP model by using a marginal approach (i.e. channel by channel) [11, 12].
Definition 1
The Asplünd’s metric (with LIP multiplication) between two colour images \(\mathbf {f}\) and \(\mathbf {g}\) on a region \(Z \subset D\) is

with and
.
In particular, by the property of the distance .
3 Asplünd’s Metric Defined in the Logarithmic Image Processing Colour (LIPC) Framework
Given two colours \(C_1=(r_1,g_1,b_1)\), \(C_2=(r_2,g_2,b_2) \in \mathcal {T}^3\), as we are only looking for lower and upper bounds, a marginal order [2] is used: \(C_1 \ge C_2 \Leftrightarrow \{r_1\ge r_2\) and \(g_1\ge g_2\) and \(b_1\ge b_2 \}\).
Definition 2
Given two colours \(C_1\), \(C_2 \in \mathcal {T}^3\), their Asplünd’s distance (with LIPC multiplication) is equal to:

and
.
Strictly speaking, is a metric if the colours \(C_n\) are replaced by their equivalence classes
.
Comment: in Eq. 7 contrary to the Asplünd’s distance (with LIP multiplication) defined in [13] (Eq. 6), we have \(\lambda \le \mu \) because, by definition of the colour LIPC model the scales are inverted as compared to the grey LIP model [5].
Colour metrics (with LIPC multiplication) between two colour images \(\mathbf {f}\) and \(\mathbf {g}\) may be defined as the sum (\(d_1\) metric) or the supremum (\(d_{\infty }\)) of on the region of interest \(Z \subset D\) of cardinal \(\#Z\)

The Asplünd’s metric can be extended to colour functions.
Definition 3
The colour Asplünd’s metric (with LIPC multiplication) between two colour images \(\mathbf {f}\) and \(\mathbf {g}\) on a region \(Z \subset D\) is

and
.
In Fig. 1, the Asplünd’s metric has been computed between the colour probe \(\mathbf {g}\) and the colour function \(\mathbf {f}\) on their definition domain D.
Comment: the lower (resp. upper) bound (resp.
) may not be equal to any point of the function \(\mathbf {f}\) but strictly less (or greater) than the function. Indeed, one can demonstrate that the following assertion is verified: “given
”.
The metric can be adapted to local processing with a colour template image (i.e. the probe) \(\mathbf {t}\) defined on a spatial support \(D_t \subset D\). For each point \(x \in D\), the distance
is computed on the neighbourhood \(D_t(x)\) centred in x where \(\mathbf {f}_{\left| D_t(x)\right. }\) is the restriction of \(\mathbf {f}\) to \(D_t(x)\).
Definition 4
Given a colour image \(\mathbf {f}\) defined on D with values in \(\mathcal {T}^3\), \(\left( \mathcal {T}^{3}\right) ^{D}\), a colour probe \(\mathbf {t}\) defined on \(D_t\) with values in \(\mathcal {T}^{3}\), \(\left( \mathcal {T}^{3}\right) ^{D_{t}}\), and \(D_t(x)\) the neighbourhood \(D_t\) centred in \(x \in D\), the map of Asplünd’s distances (with ) is:

In Fig. 2, the map of Asplünd’s distances is computed between a colour function and a colour probe. The minima of the map corresponds to the location of a pattern which is similar to the probe.
Asplünd’s distance is sensitive to noise because the probe lays on regional extrema that may be caused by noise (Fig. 1). In [7, 13], definitions of Asplünd’s distance with a tolerance on the extrema have been introduced. In this paper, we extend this definition for colour images with LIPC model.
To reduce the sensitivity of Asplünd’s distance to the noise, the “Measure metric” or “M-metric” has been defined in the context of “Measure Theory”. The image being digitized, the number of pixels of D is finite and the “measure” of a subset of D is linked to the cardinal of this subset, e.g. the percentage P of its elements with respect to D. We are looking for a subset \(D'\) of D, such that \(\mathbf {f}_{\left| D'\right. }\) and \(\mathbf {g}_{\left| D'\right. }\) are neighbours for Asplünd’s metric and the complementary set \(D\setminus D'\) of \(D'\) into D is of small size when compared to D. This last condition is written as: \(P(D \setminus D') = \frac{\#(D \setminus D')}{\#D} \le p\), where p is an acceptable percentage and \(\#D\) is the number of elements in D.
Given \(\epsilon \) a small positive real number, the neighbourhood of function \(\mathbf {f}\) is

The closest points of the probe to the function are discarded as in [5, 13].
Definition 5
Given two constant vector-pixels \(\mathbf {c}_{\mu }, \mathbf {c}_{\lambda } \in \mathcal {T}^3\), a percentage p of points to be discarded. The colour Asplünd’s metric (with LIPC multiplication) with tolerance between two colour images \(\mathbf {f}\) and \(\mathbf {g}\) on a region \(Z \subset D\) is

and
and \(\mathbf {c}_{\lambda }\) are increased such as a percentage p of points is discarded.
In Fig. 3, a tolerance of \(p = 20\%\) is used to discard two points. The Asplünd’s distance decreases from 0.43 to 0.21.
A map of Asplünd’s distances (with ) can now be defined.
Definition 6
Given a colour image \(\mathbf {f}\) of \(\left( \mathcal {T}^{3}\right) ^{D}\), a colour probe \(\mathbf {t}\) of \(\left( \mathcal {T}^{3}\right) ^{D_{t}}\) and a tolerance \(p\in [0,1]\), the map of Asplünd’s distances with a tolerance is:

\(D_t(x)\) is the neighbourhood \(D_t\) centred in \(x \in D\).
4 Examples
In Fig. 4, we look for the bricks of a wall, similar to a colour probe. A blue brick has been added to the wall. In the image without noise \(\mathbf {f}\), the regional minima of the map (dark points in Fig. 4b) correspond to the centre of the bricks similar to the probe (according to the Asplünd’s distance). The white rectangle corresponds to the maxima of the distances between the blue brick and the probe. Therefore, the distance is sensitive to colour (i.e. the hue). In the image with noise \(\tilde{\mathbf {f}}\), the map without tolerance
is more sensitive to noise (Fig. 4e) than the map with tolerance
(Fig. 4c). Indeed, the minima are preserved into the map with tolerance (Fig. 4c) compared to the map without (Fig. 4e). The minima can be extracted using mathematical morphology [10, 16]. Importantly, all the maps of Asplünd’s distances are insensitive to the vertical lighting drift. Moreover, a correlation map is useless to find the location of the bricks (Fig. 4f).
In Fig. 5, two images of the same scene, a bright image \(\mathbf {f}\) and a dark image \(\tilde{\mathbf {f}}\), are acquired with two different exposure times. The probe \(\mathbf {t}\) is extracted in the bright image and used to compute the map of Asplünd’s distance in the darker image. By finding the minima of the map, all the balls are detected and their contours are added to the image in Fig. 5(b). One can notice that the Asplünd’s distance is very robust to the lighting variations.
5 Conclusion and Perspectives
A new spatio-colour Asplünd’s distance based on colour LIPC model has been defined. It is a true colour (i.e. vectorial) metric based on a colour model consistent with the human visual system. It is also consistent with the previous properties given in [7, 13]. An extension of this metric robust to noise has been presented and illustrated on pattern recognition examples. This double-sided probing distance is efficient for colour pattern matching and performs better than traditional correlation methods. In future work, we will evaluate in details the properties of this colour distance on practical applications (e.g. in medical, remote sensing or industrial images). We will compare it to the marginal colour Asplünd’s distance and we will study the links between Asplünd’s probing and mathematical morphology.
Notes
- 1.
With colour matching functions of Stiles and Burch (1959) and D65 illuminant [5], matrices \(\mathbf {\acute{K}}\) and \(\mathbf {\acute{U}}\) equal to:
(4).
References
Asplünd, E.: Comparison between plane symmetric convex bodies and parallelograms. Math. Scand. 8, 171–180 (1960)
Barnett, V.: The ordering of multivariate data. J. R. Stat. Soc. Ser. A (Gen.) 139(3), 318–355 (1976)
Brailean, J., Sullivan, B., Chen, C., Giger, M.: Evaluating the EM algorithm for image processing using a human visual fidelity criterion. In: 1991 International Conference on Acoustics, Speech, and Signal Processing, ICASSP 1991, vol. 4, pp. 2957–2960, April 1991
Grünbaum, B.: Measures of symmetry for convex sets. In: Proceedings of Symposia in Pure Mathematics, vol. 7, pp. 233–270 (1963)
Jourlin, M., Breugnot, J., Itthirad, F., Bouabdellah, M., Closs, B.: Chapter 2 - Logarithmic image processing for color images. In: Hawkes, P.W. (ed.) Advances in Imaging and Electron Physics, vol. 168, pp. 65–107. Elsevier, Amsterdam (2011)
Jourlin, M., Carré, M., Breugnot, J., Bouabdellah, M.: Chapter 7 - Logarithmic image processing: additive contrast, multiplicative contrast, and associated metrics. In: Hawkes, P.W. (ed.) Advances in Imaging and Electron Physics, vol. 171, pp. 357–406. Elsevier, Amsterdam (2012)
Jourlin, M., Couka, E., Abdallah, B., Corvo, J., Breugnot, J.: Asplünd’s metric defined in the logarithmic image processing (LIP) framework: a new way to perform double-sided image probing for non-linear grayscale pattern matching. Pattern Recogn. 47(9), 2908–2924 (2014)
Jourlin, M., Pinoli, J.: A model for logarithmic image processing. J. Microsc. 149(1), 21–35 (1988)
Jourlin, M., Pinoli, J.: Logarithmic image processing: the mathematical and physical framework for the representation and processing of transmitted images. In: Hawkes, P.W. (ed.) Advances in Imaging and Electron Physics, vol. 115, pp. 129–196. Elsevier, Amsterdam (2001)
Matheron, G.: Eléments pour une théorie des milieux poreux. Masson, Paris (1967)
Noyel, G., Angulo, J., Jeulin, D.: Morphological segmentation of hyperspectral images. Image Anal. Stereol. 26(3), 101–109 (2007)
Noyel, G., Angulo, J., Jeulin, D., Balvay, D., Cuenod, C.A.: Multivariate mathematical morphology for DCE-MRI image analysis in angiogenesis studies. Image Anal. Stereol. 34(1), 1–25 (2014)
Noyel, G., Jourlin, M.: Asplünd’s metric defined in the logarithmic image processing (LIP) framework for colour and multivariate images. In: 2015 IEEE International Conference on Image Processing (ICIP), pp. 3921–3925, September 2015
Stiles, W.S., Burch, J.M.: N.P.L. Colour-matching investigation: final report (1958). Optica Acta: Int. J. Opt. 6(1), 1–26 (1959). doi:10.1080/713826267
Schanda, J.: Colorimetry: Understanding the CIE System. Wiley, New York (2007)
Serra, J., Cressie, N.: Image Analysis and Mathematical Morphology, vol. 1. Academic Press, London (1982)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2017 Springer International Publishing AG
About this paper
Cite this paper
Noyel, G., Jourlin, M. (2017). Spatio-Colour Asplünd’s Metric and Logarithmic Image Processing for Colour Images (LIPC). In: Beltrán-Castañón, C., Nyström, I., Famili, F. (eds) Progress in Pattern Recognition, Image Analysis, Computer Vision, and Applications. CIARP 2016. Lecture Notes in Computer Science(), vol 10125. Springer, Cham. https://doi.org/10.1007/978-3-319-52277-7_5
Download citation
DOI: https://doi.org/10.1007/978-3-319-52277-7_5
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-52276-0
Online ISBN: 978-3-319-52277-7
eBook Packages: Computer ScienceComputer Science (R0)