The Color Logarithmic Image Processing (CoLIP) antagonist space and chromaticity diagram

Similar documents
A new simple recursive algorithm for finding prime numbers using Rosser s theorem

b-chromatic number of cacti

Case report on the article Water nanoelectrolysis: A simple model, Journal of Applied Physics (2017) 122,

Widely Linear Estimation with Complex Data

Comparison of Harmonic, Geometric and Arithmetic means for change detection in SAR time series

Can we reduce health inequalities? An analysis of the English strategy ( )

Easter bracelets for years

Smart Bolometer: Toward Monolithic Bolometer with Smart Functions

Methylation-associated PHOX2B gene silencing is a rare event in human neuroblastoma.

Vibro-acoustic simulation of a car window

Cutwidth and degeneracy of graphs

The FLRW cosmological model revisited: relation of the local time with th e local curvature and consequences on the Heisenberg uncertainty principle

Axiom of infinity and construction of N

Entropies and fractal dimensions

Dispersion relation results for VCS at JLab

Hook lengths and shifted parts of partitions

Full-order observers for linear systems with unknown inputs

A Study of the Regular Pentagon with a Classic Geometric Approach

Solubility prediction of weak electrolyte mixtures

Completeness of the Tree System for Propositional Classical Logic

On the longest path in a recursively partitionable graph

Exact Comparison of Quadratic Irrationals

Computation and Experimental Measurements of the Magnetic Fields between Filamentary Circular Coils

On Newton-Raphson iteration for multiplicative inverses modulo prime powers

Fast Computation of Moore-Penrose Inverse Matrices

Nel s category theory based differential and integral Calculus, or Did Newton know category theory?

Influence of network metrics in urban simulation: introducing accessibility in graph-cellular automata.

Eddy-Current Effects in Circuit Breakers During Arc Displacement Phase

Passerelle entre les arts : la sculpture sonore

A Simple Model for Cavitation with Non-condensable Gases

On Poincare-Wirtinger inequalities in spaces of functions of bounded variation

Particle-in-cell simulations of high energy electron production by intense laser pulses in underdense plasmas

Nodal and divergence-conforming boundary-element methods applied to electromagnetic scattering problems

On Symmetric Norm Inequalities And Hermitian Block-Matrices

A Simple Proof of P versus NP

On the link between finite differences and derivatives of polynomials

Influence of a Rough Thin Layer on the Potential

A Slice Based 3-D Schur-Cohn Stability Criterion

The Accelerated Euclidean Algorithm

Low frequency resolvent estimates for long range perturbations of the Euclidean Laplacian

L institution sportive : rêve et illusion

A new approach of the concept of prime number

A non-commutative algorithm for multiplying (7 7) matrices using 250 multiplications

New estimates for the div-curl-grad operators and elliptic problems with L1-data in the half-space

A note on the computation of the fraction of smallest denominator in between two irreducible fractions

Soundness of the System of Semantic Trees for Classical Logic based on Fitting and Smullyan

Evolution of the cooperation and consequences of a decrease in plant diversity on the root symbiont diversity

Finite element computation of leaky modes in straight and helical elastic waveguides

From Unstructured 3D Point Clouds to Structured Knowledge - A Semantics Approach

Thomas Lugand. To cite this version: HAL Id: tel

Gaia astrometric accuracy in the past

FORMAL TREATMENT OF RADIATION FIELD FLUCTUATIONS IN VACUUM

Sound intensity as a function of sound insulation partition

Multiple sensor fault detection in heat exchanger system

Weighted Radon transforms for which the Chang approximate inversion formula is precise

A remark on a theorem of A. E. Ingham.

Some tight polynomial-exponential lower bounds for an exponential function

Electromagnetic characterization of magnetic steel alloys with respect to the temperature

Impulse response measurement of ultrasonic transducers

Towards an active anechoic room

Numerical Modeling of Eddy Current Nondestructive Evaluation of Ferromagnetic Tubes via an Integral. Equation Approach

STATISTICAL ENERGY ANALYSIS: CORRELATION BETWEEN DIFFUSE FIELD AND ENERGY EQUIPARTITION

On infinite permutations

On Symmetric Norm Inequalities And Hermitian Block-Matrices

Spatial representativeness of an air quality monitoring station. Application to NO2 in urban areas

A note on the acyclic 3-choosability of some planar graphs

Analysis of Boyer and Moore s MJRTY algorithm

A Context free language associated with interval maps

Characterization of the local Electrical Properties of Electrical Machine Parts with non-trivial Geometry

Sensitivity of hybrid filter banks A/D converters to analog realization errors and finite word length

Quantum efficiency and metastable lifetime measurements in ruby ( Cr 3+ : Al2O3) via lock-in rate-window photothermal radiometry

There are infinitely many twin primes 30n+11 and 30n+13, 30n+17 and 30n+19, 30n+29 and 30n+31

RHEOLOGICAL INTERPRETATION OF RAYLEIGH DAMPING

Question order experimental constraints on quantum-like models of judgement

Linear Quadratic Zero-Sum Two-Person Differential Games

Negative results on acyclic improper colorings

The magnetic field diffusion equation including dynamic, hysteresis: A linear formulation of the problem

Performance analysis of clouds with phase-type arrivals

The Mahler measure of trinomials of height 1

On a series of Ramanujan

The core of voting games: a partition approach

Sparse multivariate factorization by mean of a few bivariate factorizations

Some explanations about the IWLS algorithm to fit generalized linear models

Improvement of YBCO Superconductor Magnetic Shielding by Using Multiple Bulks

Trench IGBT failure mechanisms evolution with temperature and gate resistance under various short-circuit conditions

Computable priors sharpened into Occam s razors

A novel method for estimating the flicker level generated by a wave energy farm composed of devices operated in variable speed mode

BERGE VAISMAN AND NASH EQUILIBRIA: TRANSFORMATION OF GAMES

The beam-gas method for luminosity measurement at LHCb

MODal ENergy Analysis

LAWS OF CRYSTAL-FIELD DISORDERNESS OF Ln3+ IONS IN INSULATING LASER CRYSTALS

Numerical Exploration of the Compacted Associated Stirling Numbers

Tropical Graph Signal Processing

Self Field Effect Compensation in an HTS Tube

Optical component modelling and circuit simulation using SERENADE suite

DEM modeling of penetration test in static and dynamic conditions

Prompt Photon Production in p-a Collisions at LHC and the Extraction of Gluon Shadowing

Posterior Covariance vs. Analysis Error Covariance in Data Assimilation

Accelerating Effect of Attribute Variations: Accelerated Gradual Itemsets Extraction

Exogenous input estimation in Electronic Power Steering (EPS) systems

Transcription:

The Color Logarithmic Image Processing (CoLIP) antagonist space and chromaticity diagram Yann Gavet, Johan Debayle, Jean-Charles Pinoli To cite this version: Yann Gavet, Johan Debayle, Jean-Charles Pinoli. The Color Logarithmic Image Processing (CoLIP) antagonist space and chromaticity diagram. CCIW 2015 (The Fifth Computational Color Imaging Workshop), Mar 2015, SAINT ETIENNE, France. Springer International Publishing, Computational Color Imaging, pp.131-138, 2015, Lecture Notes in Computer Science. <http://link.springer.com/chapter/10.1007/978-3-319-15979-9_13>. <10.1007/978-3-319-15979-9_13>. <hal-01121694> HAL Id: hal-01121694 https://hal.archives-ouvertes.fr/hal-01121694 Submitted on 9 May 2016 HAL is a multi-disciplinary open access archive for the deposit and dissemination of scientific research documents, whether they are published or not. The documents may come from teaching and research institutions in France or abroad, or from public or private research centers. L archive ouverte pluridisciplinaire HAL, est destinée au dépôt et à la diffusion de documents scientifiques de niveau recherche, publiés ou non, émanant des établissements d enseignement et de recherche français ou étrangers, des laboratoires publics ou privés.

The Color Logarithmic Image Processing (CoLIP) antagonist space and chromaticity diagram. Yann Gavet, Johan Debayle, and Jean-Charles Pinoli École des Mines, Saint-Étienne, France, and LGF, UMR CNRS 5307 yann.gavet@mines-stetienne.fr Abstract. The CoLIP framework defines a vectorial space for color images. It is in accordance with the theories of visual perception (Weber, Fechner) as well as Hering s trichromacy theory. It is mathematically well defined and computationally usable. This article recalls the fundamentals of the LIP framework for graytone images, and introduces the elementary operations of the vectorial structure for color images. It illutrates the representation of the chromaticity diagram with color modification application, namely white balance correction and color transfer. The results show that the hull of the diagram are not modified, but the colors are. Keywords: Color logarithmic image processing, chromaticity diagram, image processing. 1 Introduction Regarding the fact that the current color spaces (e.g., RGB, CIE XYZ, CIE L a b, CIECAM02) do not follow an additive law, and therefore fail to obey the linear concept that is of a very high theoretical and practical interest in mathematics and their applications, the Color Logarithmic Image Processing (CoLIP) framework was developped, in accordance with the main laws and characteristics of the human color visual perception. The trichromacy theory[13] states that humans have three different receptors sensitive to color stimuli. Indeed, the color photoreceptors in the retina, namely the cones, are sensitive to 3 different wavelength ranges: long, medium and short wavelengths, and thus classified into 3 types of cones: L, M and S, respectively. The CoLIP theory is based on the Logarithmic Image Processing (LIP) theory that was developed for the representation and processing of images valued in a bounded intensity range [6]. As for the LIP theory [8], the CoLIP theory is physically and psychophysically well justified since it is consistent with the multiplicative image formation model and is consistent with several laws and characteristics of human brightness perception (e.g., Weber s law, Fechner s law, saturation effect, brightness range inversion). The Weber s law [12], and its generalization with Fechner s law [2], are translated into a logarithmic relationship

2 between the perceived brightness versus the stimulus. For each channel LMS, a Weber s fraction does exist, yielding a LMS Fechner s law, respectively [9]. Another important theory is called opponent-process theory. Hering [5], and later Svaetichin[10] noticed that particular colors like reddish-green or yellowishblue would never be observed. Schematically, the color informations are coded in opponent red-green (denoted rg) and yellow-blue (denoted yb) channels to improve the efficiency of the transmission (reducing the noise) and to decorrelate the LMS channels [1]. 2 LIP theory The LIP theory (Logarithmic Image processing) has been introduced in the middle of the 1980s [8]. It defines an algebraic framework that allows operations on images in a bounded range [6]. This model is mathematically well defined as well as physically consistent with the transmitted light imaging process. 2.1 Gray tone functions In the LIP theory, a graytone function f is associated to an intensity image F. f is defined on a spatial support D R 2 and has its values in the real-number range [0;M 0 [, with M 0 being a strictly positive real number. In the context of transmitted light imaging, the value 0 corresponds to the total transparency and M 0 to the total opacity. Thus, the gray tone function f is defined, for F max being the saturating light intensity level (glare limit), by: ( f = M 0 1 F ). (1) F max 2.2 The vectorial structure The vectorial space S of gray tone functions is algebraically and topologically isomorphic to the classical vector space of real-valued functions, defined through the following isomorphism ϕ and the inverse isomorphism ϕ 1 : ) ( ϕ(f) = M 0 ln (1 fm0,f = ϕ 1 (ϕ(f)) = M 0 (1 exp ϕ(f) )) M 0 (2) This isomorphism ϕ allows the introduction of notions and structures outcoming from Functional Analysis, like the Euclidean norm: f S, f = ϕ(f) R, with R being the usual absolute value. Then, the following operations of addition, scalar multiplication, opposite and subtraction are defined:

3 f,g S, f g = f +g fg M 0, (3) f S, λ R, λ f = M 0 M 0 (1 f M 0 ) λ, (4) f S, f = M 0f M 0 f, (5) f,g S, f g = M 0 f g M 0 g. (6) The definition of the opposite operation f extends the gray tone range to the unbounded real-number range ] ;M 0 [. 3 CoLIP theory The previous section has introduced the LIP theory for graytone images. This section presents the color space CoLIP, previously defined in [4, 3]. It models the different stages of the human color vision, and also defines a vector space for color images. The starting point for all CoLIP operations is the LMS color space [1]. The numerical applications (conversions from the different color spaces) are performed using the OptProp toolbox 1. 3.1 From cone intensities to achromatic and chromatic tones In the CoLIP framework, the chromatic tones are defined from the cone intensities L, M and S, as: ( c {l,m,s},c {L,M,S},c = M 0 1 C ), (7) C 0 with C 0 is the maximal transmitted intensity level. M 0 is arbitrarily chosen at normalized value 100. Notice that C ]0;C 0 ] and c [0;M 0 [. The logarithmic response of the cones, as in the LIP theory, is modeled through the isomorphism ϕ. ( For c {l,m,s}, c = ϕ(c) = M 0 ln 1 c ) (8) M 0 ( l, m, s) are called the logarithmic chromatic tones. To follow the opponent-process theory of Hering, the three logarithmic color channels ( l, m, s) are represented by a logarithmic achromatic tone ã, and two logarithmic chromatic tones, rg and ỹb, where rg opposes red and green, and ỹb 1 by Jerker Wågberg, More Research and DPC, www.more.se.

4 opposes yellow and blue. The conversion is obtained by the Eq. 9. The antagonist transformation matrix P is defined as follows according to the CIECAM02 specifications [1]. The achromatic channel is computed considering a ratio 40:20:1 in red, green and blue sensibility of the eye [11]. ã l rg = P m, with P = ỹb s 40/61 20/61 1/61 1 12/11 1/11 1/9 1/9 2/9 3.2 The trichromatic antagonist vectorial structure. (9) A color tone function, denoted f, is defined on a compact set D, with values in ] ;M 0 [ 3, by: L(x) a f (x) x D, F(x) = M(x) f(x) = rg f (x). (10) S(x) yb f (x) Thus, the operations of addition, scalar multiplication and subtraction can be defined in Eq. 11, and 12. a f a g λ a f f g = rg f rg g, λ f = λ rg f, (11) yb f yb g λ yb f g = a g rg g, f g = a f rg f yb g yb f a g rg g. (12) yb g The set I of color tone functions defined on D and valued in ] ;M 0 [ 3, with the operations of multiplication and internal addition is a real vector space. With the logarithmic color tone functions, f = ϕ(f), the classical operations are used (+,, ). 3.3 Bounded vector space The vector space I defines a framework for manipulating color tone functions with values in ] ;M 0 [ 3. The opponent channels rg and yb are thus not symmetric, which can cause problems for computational manipulation and storage, or for representation. To handle this, it is proposed to introduce the three channels ˆf = (â, rg,ŷb) ˆ defined by: â = a (13) { rg if rg 0 rg ˆ = (14) rg if rg < 0 { yb if yb 0 ŷb = (15) yb if yb < 0

5 This representation is illustrated in the next sections. 3.4 Summary The different conversion operations are presented in the following diagram: tones ϕ (L,M,S) (l,m,s) ( l, m, s) M HPE (X,Y,Z) (a,rg,yb) P P ϕ 1 (ã, rg,ỹb) E/2 srgb: (R,G,B) (â, rg,ŷb) ˆ LIP operations:,,,, Classical operations Now that the formal definitions are introduced, the next section will show the connections with the psychophysical theories. 4 Applications The chromaticity diagram is the representation of colors in a given space, for example (x,y), and in the case of the CoLIP space, (ˆ rg,ŷb). The purple line is a virtual straight line that links extreme values of the spectrum in (x,y). The Maxwell triangle is the representation of all RGB colors in this space (it has a shape of a triangle in (x,y)). The following applications will focus on the effect on the chromaticity diagram. 4.1 White balance correction The proposed white balance correction method derives from the Von Kries adaptationmodel[7,1].ifl,m ands representtheconeresponses,andl,m ands represent the adapted cone responses, this model can be written as L = L L White, M = M M White, S = S S White. The Figure 1 presents the effects of the correction in the chromaticity diagram. The new white appears at coordinates (0,0), all colors appear more blue and brighter. This operation is not a translation in the (ˆ rg,ŷb) subspace. 4.2 Color transfer Color transfer is another application of white balance correction. Let us consider two images f 1 and f 2. The following notation is introduced, for a given collection

6 (a) MacBeth colorchecker. The chosen color is delineated with a red square. (b) White balance correction for one color. The red square designates the white after correction. (c) Chromaticity diagram of the MacBeth colorchecker. All achromatic tones (gray values from white to black) appear at coordinates (0,0). (d) Chromaticity diagram of the MacBeth colorchecker after white balance correction. Fig.1: White balance correction with a manual selection of the White, with rg ˆ in absissa and ŷb). in ordinates of values c: µ(c) is the mean of c, and σ(c) is the standard deviation of c. For a color image in the CoLIP space, µ(f) = µ(a) µ(rg) and σ(f) = σ(a) σ(rg) (16) µ(yb) σ(yb) The transfer of colors of image f 1 into image f 2 corresponds to the Eq. 17, that gives the resulting image f new. This formula centers and normalizes the distribution of colors in the original image f 1, and applies the same distribution as in image f 2 to the new image f new. ( ) σ(f1 ) f new = (f 2 µ(f 2 )) µ(f 1 ) (17) σ(f 2 ) The Figure 2 shows the results of the transfer of the colors of two paintings (from VanGogh and Monet) into the painting of Guillaumin. The hull of the

color diagrams in (ˆ rg,ŷb) are similar to the original one, but the colors are now similar to the transfered paintings ones. 7 (a) Guillaumin painting. (b) Vangogh painting. (c) Monet painting. (d) Chromaticity diagram of 2a. (e) Chromaticity diagram of 2b. (f) Chromaticity diagram of 2c. (g) Transfer of color of 2b into 2a. (h) Transfer of color of 2c into 2a. (i) Chromaticity diagram of 2g. (j) Chromaticity diagram of 2h. Fig. 2: Color transfer of different paintings and the representation of the colors in the (ˆ rg,ŷb) space.

8 5 Concluding discussion and perspectives This article has introduced the CoLIP framework and the representation of the colors of images in the form of a chromaticity diagram in the (ˆ rg,ŷb) space. The effects of basic operations like white balance correction or color transfer are proposed and illustrated, showing that the hull of the diagram is conserved, and the new colors are applied. The CoLIP framework presents two connections with the human visual perception system: it follows the Weber/Fechner law with its logarithmic model, and it also takes into account the opponent-process theory from Hering. Some other color spaces try have psychophysical justifications. For example, the L a b space represents the opponent process with a (reg-green opposition) and b (yellow-blue opposition), and the non linearity follows more or less the Stevens law (power law). In the case of the YC b C r color space, the non linearity coming from the gamma correction can be seen as a Stevens law, but the opponent-process theory is not included in this model. The perspectives in the field of the CoLIP framework are to define color attributes like hue, saturation, and more mathematically, develop a distance between colors and define CoLIP mathematical morphology operators. References 1. Fairchild, M.D.: Color appearance models. John Wiley & Sons (2013) 2. Fechner, G.T.: Elemente der Psychophysik. Leipzig : Breitkopf und Härtel (1860) 3. Gouinaud, H., Gavet, Y., Debayle, J., Pinoli, J.C.: Color correction in the framework of color logarithmic image processing. In: Proceedings of the 7th IEEE International Symposium on Image and Signal Processing and Analysis (ISISPA). pp. 129 133. Dubrovnik, Croatia (2011) 4. Gouinaud, H.: Traitement logarithmique d images couleur. Ph.D. thesis, École Nationale Supérieure des Mines de Saint-Etienne (2013) 5. Hering, E.: Outlines of a theory of the light sense. Harvard University Press (1964), trans. L. M. Hurvich and D. Jameson 6. Jourlin, M., Pinoli, J.C.: Logarithmic image processing. Acta Stereologica 6, 651 656 (1987) 7. von Kries, J.: Die gesichtsempfindungen. Handbuch der physiologie des menschen 3, 109 282 (1905) 8. Pinoli, J.C.: The logarithmic image processing model: Connections with human brightness perception and contrast estimators. Journal of Mathematical Imaging and Vision 7(4), 341 358 (Oct 1997) 9. Stockman, A., Mollon, J.: The spectral sensitivities of the middle-and longwavelength cones: an extension of the two-colour threshold technique of ws stiles. Perception 15, 729 754 (1986) 10. Svaetichin, G.: Spectral response curves from single cones. Acta Physiol Scand Suppl. 39(134), 17 46 (1956) 11. Vos, J., Walraven, P.: On the derivation of the foveal receptor primaries. Vision Research 11(8), 799 818 (1971) 12. Weber, E.: Der Tastsinn und das Gemeingefühl. Handwörterbuch der Physiologie 3(2), 481 588 (1846) 13. Young, T.: The bakerian lecture: On the theory of light and colours. Philosophical transactions of the Royal Society of London pp. 12 48 (1802)