기본 정보
- 저자
- DOI
- 10.1109/msp.2024.3349460
- 저널
- –
- 발행년도
- 2023
- 발행기관
- –
- 피인용수
- 1
- 라이선스
- other-oa
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://hal.science/hal-04149289
- 토픽
- Color Science and Applications
- OpenAlex ID
- W4392874607
평가 내용
- 관련도
- 사업분야
- 필름·전자재료 · (15) 디스플레이 패널재료
- 부 분야
- –
- R&D 측면
- –
- 확신도
- –
- 근거 용어
- –
- 판단 근거
- 임베딩 유사도 기반 평가로 '필름·전자재료 > 디스플레이 패널재료' 분야에 선정된 논문입니다.
- R&D 활용 포인트
- –
- 평가 입력
- –
초록
본문 35,555자
본문 펼치기
섹션 본문 95문단 · 32,232자
(제목 없음)
1We propose a perceptual chromatic adaptation transform for white balance that makes use of split-quaternions.The novelty of the present work, which is motivated by a recently developed quantum-like model of color perception, consists at stressing the link between the algebraic structures appearing in this model and a certain sub-algebra of the split-quaternions.We show the potentiality of this approach for color image processing applications by proposing a chromatic adaptation transform, implemented via an appropriate use of the split-quaternion multiplication.Moreover, quantitative comparisons with the widely used state-of-the art von Kries chromatic adaptation transform are provided.
Introduction
2The main objective of this work is to describe a new white balance algorithm that is implemented by means of split-quaternions.The peculiarity of this algorithm is the fact that it is designed to fit coherently with a recently developed mathematical model of color perception [8,5].This model provides an alternative to the CIE (Commission Internationale de l' Éclairage) description of colors by means of three coordinates in a colorimetric space, e.g.RGB, HSV, CIELab and so on.It also emphasizes the fact that a perceived color should be described as the result of a (perceptual) measurement procedure.The measurement equation, that is the cornerstone of the proposed algorithm, uses tools from quantum information and expresses the result of a so-called Lüders operation.
3A complete mathematical description of this new paradigm about color perception is out of the scope of this work.For the sake of self-consistency, the essential concepts of this model will be recalled in section 2, the reader interested in more details can consult the following papers [8,5,3,6,7,4].We deem worthwhile to mention that that this model permits to: intrinsically reconcile trichromacy with Hering's opponency [3,6]; formalize Newton's chromatic disk [3]; single out the Hilbert-Klein hyperbolic metric as a natural perceptual chromatic distance [4]; solve the long-lasting problem of bounding the infinite perceptual color cone to a convex finite-volume solid of perceived colors [3,8]; predict uncertainty relations for chromatic opposition [7] and give coherent mathematical definitions of perceived color perceptual attributes [5].
4As we will underline with more detail in section 2, the color measurement equation takes place in the algebra H(2, R) of 2 × 2 symmetric matrices with real entries.To obtain a meaningful description of the measurement process, this algebra should not be considered as the associative, non-commutative algebra w.r.t. the matrix product, but rather as a non-associative, commutative algebra w.r.t. the product given by the symmetrized matrix product.Such a non-associative, commutative algebra is called a Jordan algebra, see e.g.[2] for more details.
5As we will see in the following, three distinct incarnations of a certain suitable Jordan algebra A give rise to three different perspectives on color measurements:
61.A viewed as H(2, R), gives a quantum information point of view, where color measurements are expressed via the so-called Lüders operations;
72. A viewed as the direct sum R ⊕ R 2 provides a geometric and relativistic interpretation, where color measurements are expressed via normalized Lorentz boosts in the 3-dimensional Minkowski space;
83. A viewed as a sub-algebra S 0 of the split-quaternion algebra S brings a purely algebraic point of view, in which simple algebraic operations on split-quaternions allow us to encode color measurements.
9The three representations of A are linked by explicit Jordan algebra isomorphisms, which allow us to pass from one to another and to obtain a simple formula for the measurement process by means of split-quaternions.It is precisely this formula that can be efficiently implemented in the white balance algorithm.Although understanding all these mathematical arguments is not necessary in practice to perform experiments, and maybe readers more interested in the computational aspects would prefer to skip them and to focus on Sec. 3 and 4, we deem important to underline that the proposed algorithm relies on a rigorous mathematical modeling of color perception.
10The outline of the paper is the following: in Sec. 2 we start by introducing the basic definitions and notations necessary to formulate the measurement equation that defines a color perceived by an observer from a visual scene.We also explain how color measurements can be interpreted geometrically by means of Lorentz boosts.Sec. 3 is devoted to the split-quaternion point of view.After recalling some preliminary notions, we show how to encode the measurement equation by a so-called 'sandwich formula'.We also make explicit the geometric operations in R 4 corresponding to this last formula to explain the difference with the usual sandwich formula involving the splitquaternion conjugacy.Experiments with the white balance algorithm are presented in Sec. 4. The practical implementation is detailed through appropriate approximations of a suitable subset of S 0 used in the measurement equation.Comparisons with the well-known von Kries algorithm are also presented.
Color perception and color measurements
11As said in the introduction, the proposed algorithm for white balance relies on a measurement equation that describes, from a quantum information point of view, the color perceived by an observer from a visual scene.The purpose of this section is to introduce the basic definitions and notations that permit to describe this equation.For additional information the interested reader may consult the references mentioned in the introduction.
Color measurements and quantum information
12H(2, R), endowed with the Jordan product A • B = (AB + BA)/2, is a commutative, but not associative, Jordan algebra with domain of positivity H + (2, R), given by the set of real positive semi-definite 2 × 2 matrices.As usual in quantum information, mesurements are described by the duality between states and effects.In the context of color perception, the state space is that of a rebit, the real analog of a qubit, with the complex vector space C 2 replaced by the real vector space R 2 .In [8,5] it is explained why this quantum structure, that emerges from the sole axiomatic approach, is perfectly adapted to translate mathematically Hering's color opponency.A so-called chromatic state s is represented by a density matrix ρ s :
13such that 0 ≤ η e ≤ Id 2 , or equivalently by a chromatic vector v e = (e 1 /e 0 , e 2 /e 0 ) with ||v e || ≤ 1 and 0 ≤ e 0 ≤ 1.Given an effect e, associated to a human observer, and a chromatic state s, associated to the preparation of a visual scene, we have that the color perceived, or measured, by e from s is encoded in the outcome of the so-called Lüders operation parametrized by e and acting on s, explicitly [9]:
14This last formula is the main topic of interest of this work.It is shown in [5] how it naturally permits to derive a coherent system of mathematical definitions of the CIE perceptual attributes, such as lightness, brightness, saturation and hue, using quantum information tools such as relative entropy.
Color measurements and Lorentz boosts
15The commutative Jordan product of the so-called spin factor R ⊕ R 2 is given by (α, v)
16, which is the closure of the future lightcone in M.
17The two Jordan algebras H(2, R) and R ⊕ R 2 are isomorphic, as Jordan algebras, via the following map:
18Clearly χ(H + (2, R)) = L + .Using the isomorphism χ, we can interpret eq. ( 3) of color measurements as the action of a geometric transformation on M. Given a chromatic state s and an effect e parameterized by the vectors v s = (s 1 , s 2 ) and v e = (e 1 /e 0 , e 2 /e 0 ), respectively, it is shown in [8] that, whenever ||v e || < 1 we have
19where
20and the matrix representation of B(v e ) is given by
21which can be recognized to be the Lorentz boost of M parameterized by the vector v e .According to Minkowski geometry, this boost leaves the future lightcone invariant.The righthand side of eq. ( 5) is the vector of L + that represents the outcome of the measurement given by eq. ( 3).Besides emphasizing the relativistic aspect of color perception, see also [8,4], this geometric description is very useful to analyze transformations between perceived color and to design white balance algorithms, as it will be discussed in the sequel.
22The isomorphism χ provides a bridge between the two different perspectives on color measurements given by quantum information and Minkowski geometry.We underline here that eq. ( 3) expresses precisely the way in which an observer, represented by an effect, perceives a color of a visual scene prepared for a measurement in a given state.This description is radically different from the usual CIE color description because it relies on the very act of perceiving, and the geometric transformation in eq. ( 5) corresponds actually to perceived color measurements.
Color measurements and split-quaternions
23We describe now the last Jordan algebra S 0 which is a sub-algebra of the split-quaternion algebra, and how to encode with simple algebraic equations the previous color measurement formulas by means of the so-called 'sandwich formulas'.
The algebra of split-quaternions
24The non-commutative, associative algebra of split-quaternions S is generally introduced in a similar way as the usual algebra of Hamilton's quaternions H, see e.g.[11,12,18] for more details.There are four basis elements, denoted by 1, i, j, k, however, differently from classic quaternions, i and j are such that i 2 = j 2 = 1, furthermore ij = −ji.The element k is defined as k = ij, this implies that k 2 = −1.Moreover, the following multiplication rules hold: kj = −jk = i and ik = −ki = j.Every split-quaternion q can be written as q = q 0 + q 1 i + q 2 j + q 3 k,
25with q i ∈ R, i ∈ {0, . . ., 3}.The real constant q 0 is called the scalar part of q, while v q := q 1 i + q 2 j + q 3 k is its vector part.The multiplication of two generic split-quaternions q, r ∈ S can be easily computed by writing them in the form of eq. ( 8) and then using the multiplication rules described above, obtaining the following explicit expression: qr = q 0 r 0 + q 1 r 1 + q 2 r 2 − q 3 r 3 + (q 0 r 1 + q 1 r 0 − q 2 r 3 + q 3 r 2 )i +(q 0 r 2 + q 2 r 0 + q 1 r 3 − q 3 r 1 )j + (q 0 r 3 + q 3 r 0 + q 1 r 2 − q 2 r 1 )k.
26In the same way as in the usual quaternion algebra H, the conjugate q * of a split-quaternion q is obtained by changing the sign of its vector part.The squared norm of a split-quaternion is given by N 2 (q) = qq * = q 2 0 − q 2 1 − q 2 2 + q 2 3 .Differently from H, N 2 is not positive-definite and the split-quaternions are classified according to the sign of N 2 (q): if N 2 (q) < 0, q is space-like; if N 2 (q) = 0, q is light-like and if N 2 (q) > 0, q is time-like.
27We denote with S s , S l and S t the subsets of S containing space-like, light-like and time-like split quaternions, respectively.If q ∈ S t , then v q can belong to both S s and S t .However, if q ∈ S s , then v q can only belong to S s .The first statement follows from the fact that, if q ∈ S t , then q 2 0 + q 2 3 > q 2 1 + q 2 2 , so both the cases q 2 1 + q 2 2 < q 2 3 or q 2 3 < q 2 1 + q 2 2 are possible, implying
283 < 0, i.e. v q ∈ S t or v q ∈ S s , respectively.To verify the last statement, consider q ∈ S s , then q 2 0 + q 2 3 < q 2 1 + q 2 2 , which implies q 2 3 < q 2 1 + q 2 2 , thus N 2 (v q ) = −q 2 1 − q 2 2 + q 2 3 < 0 and so v q ∈ S s .Contrary to H, S is not a division ring.In fact, it is easy to show that light-like split-quaternions do not admit a multiplicative inverse.The non-commutative, associative algebra S is isomorphic to the algebra of 2 × 2 matrices with real entries via the following map
29The split-quaternion multiplication corresponds to the matrix multiplication via ζ, hence ζ(qr) = ζ(q)ζ(r), for all q, r ∈ S.
The sub-algebra S 0 of the split-quaternion algebra
30Let us denote S 0 the set of split-quaternions such that q 3 = 0, so every q ∈ S 0 has the following form q = q 0 + q 1 i + q 2 j. S 0 becomes a commutative but not associative Jordan algebra when it is equipped with the Jordan product q • r = (qr + rq)/2.The restriction of ζ to S 0 , still denoted with ζ for simplicity, induces the following isomorphism of Jordan algebras:
31As a consequence, if S + 0 indicates the domain of positivity of S 0 , then ζ(S + 0 ) = H + (2, R).If σ 1 and σ 2 denote the Pauli matrices with real entries, i.e.
32The real Pauli matrices play a fundamental role in the quantum interpretation of color perception since they encode Hering's opponent mechanism, see e.g.[3,8].
33The spin factor R ⊕ R 2 is isomorphic, as a Jordan algebra, to the commutative and nonassociative sub-algebra of the Clifford algebra CL(2, Q), where Q is the positive definite quadratic form on R 2 , linearly generated by the unit 1 and a spin system of CL(2, Q).Let us recall that the Clifford algebra CL(2, Q) is the quotient of the tensor algebra
34by the two-sided ideal I(R 2 , Q) generated by the elements of the form u ⊗ u − Q(u), for u in R 2 .
35For further details the interested reader can consult e.g.[19].Since CL(2, Q) is isomorphic to S, this means that the map ω :
36is an isomorphism of Jordan algebras.This completes the description of the three perspectives on color measurements listed in the introduction.The following commutative diagram of isomorphisms gives a concise mathematical representation of the relations between these perspectives:
37According to what has been discussed before, this means that transformations corresponding to perceived color measurements can be computed in the split-quaternion framework.
The sandwich formula for color measurements
38Our aim here is to express the original measurement equation (3), which was written in the setting of the Jordan algebra H(2, R) and its geometric counterpart expressed by eq. ( 5), which exploited the isomorphism with the spin-factor R ⊕ R 2 , in terms of split-quaternions by making use of the Jordan algebra S 0 .
39To do so, we use the isomorphism ζ defined in eq. ( 11) and the definitions (1) and ( 2) of density and effect matrix, respectively.It is clear that, if we define the two split quaternions p e , q s ∈ S + 0 as follows p e = e 0 + e 1 i + e 2 j, q s = (1 +
40then
41which, since χ • ζ = ω, simplifies to
42Thus, in the Jordan algebra S 0 the color measurement is expressed as a sandwich of splitquaternions with the same split-quaternion p 1/2 e on both sides.We must stress that this is different than the conjugation action q → αqα * , in which, figuratively speaking, one of the bread slices appears as conjugated.The consequences of this particular sandwich formula will be explained in detail in the following section.
43Given e, it is of course useful to know how to obtain an explicit expression for p 1/2
44e .Let us recall, see [11], that every time-like split-quaternion p = p 0 + p 1 i + p 2 j ∈ S 0 with a space-like vector part can be written as:
45where cosh ϑ = p0 N (p) and sinh ϑ =
46N (p) , u p being the following unit space-like split-quaternion:
47Using this polar form it is easy to check that such a split-quaternion p admits a unique square root, see [17], given by p 1/2 = N (p)(cosh(ϑ/2) + u p sinh(ϑ/2)).
A sandwich without conjugate
48In this paragraph we are going to provide an explanation of the lack of conjugation in the splitquaternion sandwich formula of eq. ( 18).To do so we start by recalling the geometric interpretation of the classic quaternion and split-quaternion conjugation formula used to obtain respectively classic rotations and Lorentz boosts.
49It is well known that in classic quaternions the action of conjugation by a unit quaternion α, i.e. q → αqα * for any q ∈ H, is an efficient way of encoding rotations of R 3 , [14].Let us start by recalling that any rotation R in R 3 is fully determined by a rotation angle ϑ and a rotation axis v ∈ R 3 .Moreover, when written with respect to the orthogonal splitting of R 3 given by v, v ⊥ , its matrix is
50Let us now identify H with R 4 as follows:
51ι : H −→ R 4 q 0 + q 1 i + q 2 j + q 3 k −→ (q 0 , q 1 , q 2 , q 3 ) t .
52(24)
53Any unit quaternion α can be written in the following form:
54with u being a unit quaternion in span(i, j, k), [11].We want to show that the conjugation action by α of a quaternion q, i.e. q → αqα * , corresponds, to a rotation of axis v = ι(u) and angle ϑ in the three-dimensional vector subspace V = ι(span(i, j, k)) of R 4 .
55Writing the elements of H w.r.t. the basis 1, u, u ⊥ , after straightforward computations, one can see that the left multiplication by α of a quaternion q in R 4 corresponds to:
56where O 2 refers to the 2 × 2 null matrix.Analogously, the right multiplication of q by its conjugate α * = α −1 , gives:
57Combining eq. ( 26) and ( 27), one obtains the following matrix:
58Comparing the latter expression with eq. ( 23) it is clear that ι(αqα * )| V = Rι(q), hence we can conclude that the conjugation action corresponds to a rotation in V .
59Let us consider now the case of split-quaternions and Lorentz boosts.Let us interpret R 3 as the three-dimensional Minkowski space-time and express it using the basis x, y, t, in which the first two elements are the spatial dimensions and the latter represents the temporal one.A Lorentz boost H in R 3 is determined by an axis of fixed points v ∈ span(x, y) and an angle of hyperbolic rotation ϑ, called boost rapidity.Let us indicate with z the orthogonal vector to v in span(x, y), sometimes in the literature z is called boost direction.Expressing the boost matrix w.r.t. the basis v, z, t, one obtains the following analogue of eq. ( 23), with a hyperbolic rotation instead of a rotation:
60Notice that the hyperbolic rotation H ϑ occurs on the vector subspace span(z, t) involving the boost direction and the time axis.Moreover H −1 ϑ = H −ϑ and H ϑ1 H ϑ2 = H ϑ1+ϑ2 .Now let us identify the split-quaternion algebra S with R 4 via the function ι of eq. ( 24), ι : S −→ R 4 .As before, we define the vector subspace V = ι(span(i, j, k)).Our aim is to show that the conjugation action by α corresponds to a Lorentz boost in V .Notice that, in this identification, ι(k) = t plays the role of the time axis, while ι(span(i, j)) = span(x, y) represents the 2-dimensional space.
61Let us consider a unit time-like split-quaternion α with space-like vector part.By eq. ( 19), α can be written as follows:
62with u = u 1 i + u 2 j, being a unit split-quaternion.Let w = −u 2 i + u 1 j be the vector orthogonal to u in span(i, j).As before, expressing the split-quaternions of S w.r.t. the basis 1, u, w, k and recalling the split-quaternion multiplication of eq. ( 9), we obtain that the left and right multiplication, respectively, of any q ∈ S by α in R 4 are given by:
63Since α is not a light-like split-quaternion, it admits a multiplicative inverse, and since we have supposed it to be a unit split quaternion, α −1 = α * , see e.g.[11].Thus the left multiplication by α * is given by:
64Similarly to what was done in eq. ( 28), we can combine eqs.( 31) and (32) obtaining:
65Comparing the last equation with eq. ( 29) one can see that ι(α * qα)| V = Hι(q), thus the conjugation action q → α * qα corresponds to a Lorentz boost in V of axis ι(u), direction ι(w) and rapidity ϑ.We must stress that the most commonly used formula (e.g. for the change of reference frames in relativity), is actually the inverse of the previous one, i.e. q → αqα * obtained changing the sign of the rapidity.
66We have just seen how the conjugation action α → α * qα corresponds to a boost in the vector subspace V = ι(span(i, j, k)) = ι(span(u, w, k)), in which the time coordinate is associated to the split-quaternion k via ι.However, as discussed in the previous paragraphs, we are interested in the sub-algebra S 0 of split-quaternions having q 3 = 0 in which, recalling the isomorphism ω of eq. ( 14), time is associated to 1 instead of k.
67It is convenient to introduce the vector subspace W = ι(S 0 ) = ι(span(1, i, j)).For coherence with the relativistic interpretation of the model, we would like a split-quaternion sandwich formula corresponding to a Lorentz boost in W , instead of V .
68Let us finally analyze the sandwich formula q → αqα, which is the one that will be used to implement the colorimetric transformations that will be discussed in the following section.Using the expressions in eq. ( 18) one obtains that this sandwich without conjugate, in R 4 , corresponds to:
69where the matrix above is written w.r.t. the basis ι(1), ι(u), ι(w), ι(k), hence it represents a boost in W of axis ι(w), direction ι(u) and rapidity ϑ.
70Notice that this is different from the case of eq. ( 33), in which ι(u) was the boost axis and ι(w) its direction.Nevertheless, in both cases α is parameterized by u, thus we must stress that when using eq.( 34) we pass as parameters, contained in α, the information associated to the boost direction and rapidity.This will be useful in the following section, since we associate the information of the illuminant vector to the boost direction and rapidity, that will be given directly as input parameters contained in α.
71Note that ι(αqα)| W corresponds to the matrix in eq. ( 7) after a suitable change of basis.Finally, let us recall that p 1/2 e in eq. ( 18) is not a unit split-quaternion, hence, to use eq.( 34), one must identify α = U (p 1/2 e ), and multiply eq. ( 34) by N (p e ).
Application to white balance
72In this section we use the color measurements modeled in the context of split-quaternions to implement a novel chromatic adaptation transform (CAT) for the automatic white balance (AWB) of digital images.AWB is a classic color processing meant to let the camera mimic the adaptation of the human visual system to the chromaticity of the illumination condition, often called illuminant.It consists of two steps: an illuminant estimation part which identifies the illuminant(s) present in the visual scene, associating to them a 3-dimensional vector L, and a CAT, parametrized by L, returning an image representing how the scene would appear to an observer fully adapted to the illuminant.Several CATs have been proposed in the literature, see e.g.[1] for an overview, the most widely used for applications is the von Kries CAT, see [21].We propose a perceptual CAT, called split-CAT from now on, based on color measurements expressed using split-quaternions.A preliminary version of the algorithm, using simple Lorentz boosts, has been proposed in [13], a more complete version, using normalized Lorentz boosts, can be found in chap.7 of [20].
73Let us start by representing the input image in the split-quaternion domain S + 0 .We consider an input image I with spatial domain denoted with I, represented in the HCV color solid, thus I(x) = (H(x), C(x), V (x)), ∀x ∈ I. To every pixel x ∈ I, we associate the following splitquaternion q(x) of S + 0 :
74Given the output L of an illuminant estimation algorithm, expressed in HCV color coordinates (H L , C L , V L ), we associate to it the effect e = (e 0 , e 1 , e 2 ) = (V L , C L cos H L , C L sin H L ).Then, the white balanced image q ′ represented in S + 0 is obtained using the split-quaternion multiplication as follows:
75in which p −1/2 e is given by
76where N (p e ), ϑ e and u pe are calculated from e using eq.( 22).Finally, we convert the image from S + 0 back to the HCV color space.Some examples of outputs, obtained by processing images from the NUS Indoor Dataset [10], are depicted in Figure 1.
77Figure 1: Left: input images.Center : output images after white balance using the von Kries CAT.Right: output images after white balance using the split-CAT.The white balanced images have been obtained using the same illuminant estimation.The illuminant vector is extracted automatically from the white patch of the color checker present in each image.
78The results of the von Kries CAT and those of the split-CAT look very similar at first glance.This is already quite remarkable, because it gives a first concrete proof of the fact that a transformation predicted solely by the rigorous mathematical interpretation of quantum measurement within the quantum information model of color perception leads to a color transformation that produces results that are very similar to those of the most standard CAT.However, some hue shifts1 can be seen in the output of the split-CAT, as shown by the hat in the third picture, first row, of Figure 1.In the following subsection we will stress that this is not an intrinsic feature of the split-CAT, but it depends on the choice of the HCV color space and we will propose how to reduce the hue shifts by modifying this color space.
Modification of HCV to encode Hering's opponency
79The classic HCV color solid seemed to be a convenient approximation of the closed cone S + 0 because of its conical shape.Nevertheless, HCV lacks of Hering's opponency, which instead is an intrinsic feature of the quantum information-based model of color perception.In fact, while blue and yellow are diametrically opposed in its hue configuration, it is not the case for red and green2 , as it can be seen in the first picture from the left of Figure 2.Moreover, we were noticing that red objects were slightly turning pinkish after applying the split-CAT in HCV.For these reasons, we propose two modified versions of the HCV color domain, denoted with H 1 CV and H 2 CV, obtained from HCV by modifying its H coordinate only.The objective is to modify the hue configuration on the circle in order to approximately recover the, non necessarily orthogonal, Hering's opponent axes.We must stress that a more general open issue in colorimetry is to understand which are the exact opponent unique hues and whether the opponent axes are orthogonal.Inter-observer variability and dependence on the viewing conditions clearly contribute to make the problem highly nontrivial.
80The split-CAT implemented in H 1 CV or H 2 CV gives overall better qualitative and quantitative, as we will see in the next paragraph, results.Figure 3 shows an example3 obtained processing images from [10].
81Let us explain a bit more in detail how the color solids H 1 CV and H 2 CV have been constructed.We modified the H coordinate trying several functions, obtained using simple interpolation techniques in 1-dimension and selected the two best performing ones on the images in the rendering of the red hue, let us call them f 1 , f 2 .Both f 1 , f 2 : [0, 2π] → [0, 2π] are 2π-periodic and invertible.The coordinates H i are obtained from H by H i = f −1 i (H), i = 1, 2. In particular: 1. f 1 is obtained requiring the red to stay fixed, and the green to be diametrically opposed to the red, hence it is obtained by quadratic interpolation of the points (0, 0), (2π/3, π), (2π, 2π).It can be explicitly written as a parabola f 1 (x) = 1 4 7x − 3 2π x 2 .As depicted in Figure 2 (Center ), red and green are now opponent, but the blue is diametrically opposed to an orangish yellow.Furthermore these opponent axes are not orthogonal, but separated by an angle of 30 • .
822. f 2 is obtained by fixing again the red and moving the green to be diametrically opposed to it, then moving the yellow and the blue in order to have an angle of 60 • between the two opponent axes, as in Figure 2 (Right).f 2 was obtained via quadratic piece-wise interpolation of the points (0, 0), (π/3, 2π/3), (2π/3, π), (4π/3, 5π/3), (2π, 2π).
Quantitative evaluation of the color checker rendering
83We evaluated four CATs: the von Kries CAT, the split-CAT implemented in HCV, H 1 CV and H 2 CV.We started by generating linear PNG images applying linear demosaicing on the RAW RGB images provided with the NUS Indoor dataset (Canon 1Ds Mark III, 105 images), [10].We automatically detected the color checker present in each image and extracted the nineteenth patch (the white one) as ground truth illuminant vector.Using the extracted ground truths we corrected the mentioned PNG images using the four different CATs.
84Clipping cases were managed by dividing the image by its maximum.Then we detected all the color checkers (a RGB vector corresponding to each patch) in the output images, still using the automatic color checker detection functions.
85For each CAT we considered the set of detected color checkers and calculated the distance between each of them and the standard benchmark color checker, enlightened by the D65 illuminant.As distance we used seven state-of-the art color metrics listed in table 1.This distance was obtained by calculating, for each patch, its distance from the corresponding one in the benchmark color checker and then averaging over the 24 patches.For each CAT we averaged the distances of the color checkers over the 105 images of the dataset, obtaining the values reported by table 1.Both the algorithm for the automatic detection of the color checker and the different color metrics were used as implemented in the open-source Python package Colour Lower values in this table mean that the color checker rendering of a certain CAT is closer to the benchmark color checker.We can see that H 1 CV is better performing than H 2 CV.Furthermore, according to this evaluation, it is slightly better to use the implementation in H 1 CV than in HCV.The value in bold highlights the smallest among the four values in the line in which it belongs, it can be seen that the three slip-CATs perform better than the von Kries CAT w.r.t.this criterion.
Conclusions and future perspectives
86In this paper we have proposed and tested the first concrete application of a recently developed quantum-like framework for color perception.This application consists at defining a theoreticallybased chromatic adaptation transform, the split-CAT, to perform the classic color processing task of automatic white balance.To do so, we started by enriching the algebraic structure of the quantum-like model by providing an alternative, isomorphic representation of the Jordan algebra A, i.e. the sub-algebra S 0 of the split-quaternion algebra S, with S + 0 as domain of positivity.
87In terms of split-quaternions, the fundamental measurement equation, eq. ( 3), used in [8,5] to define a perceived color as the outcome of a measurement procedure, is expressed by a so-called sandwich formula, see eq. ( 18).This sandwich formula is different from the one usually used classically, since none of the terms appears conjugated.We better clarified this peculiarity by writing explicitly the action of the sandwich formula in R 4 .
88Finally, we defined the split-CAT as the action of a sandwich, parametrized by the effect associated to the illuminant.To do so, we associated the pixels of a digital image represented in the HCV color solid to elements of S + 0 .Qualitative considerations about the color rendering of the output images led to the definitions of two modified versions of the HCV color solid, H 1 CV and H 2 CV, obtained via simple interpolation techniques meant to modify the hue configuration, making it approximately closer to having Hering-like opponent axes.Then, we provided a quantitative evaluation of the performance of the classic von Kries CAT, the split-CAT in HCV, H 1 CV and H 2 CV in the overall rendering of the color checker patches.The results show that H 1 CV provides the best score.
89Further evaluations of the performance of the proposed algorithm are clearly possible, e.g. one could perform systematic comparisons with other state-of-the art CATs, using as a reference the corresponding colors datasets, as in [1].
90An important open question concerns the domain for the implementation.A possible approach is to continuing fine-tuning the HCV color domain, or use other existing color spaces, like CIELab or IPT, keeping in mind that the algorithm is designed to preserve a conic shaped solid, hence color solids having more irregular shapes will probably produce artifacts that should be treated separately.
91A different, interesting, perspective concerns the idea of studying alternative ways of integrating Hering's opponent mechanism in a color solid, which are more related to psychophysical data, see e.g.[15,16], rather than performing a purely engineering-oriented a posteriori manipulation of existing color solids.
( 21 ) 1 i + e 2 j e 2 1 + e 2 2 .
92In our case, since p e = ζ −1 (η e ) = e 0 + e 1 i + e 2 j, p 1/2 e can be easily calculated knowing the coordinates of e, in fact:N (p e ) = 4 e 2 0 − e 2 1 − e 2 2, ϑ e = arctanh||v e ||, u pe = e
Figure 2 :
93Figure 2: Red, yellow, green and blue hue positions in the hue-chroma planes of the HCV, H 1 CV and H 2 CV color spaces.
Figure 3 :
94Figure 3: Left: output of the split-CAT in HCV.Center : output of the split-CAT in H 1 CV.Right: output of the split-CAT in H 2 CV.
Table 1 :
954. Comparison between the von Kries CAT algorithm and split-CAT implemented in different HCV spaces.
참고문헌 18건
- Quantum measurement and colour perception: theory and applications Proceedings of the Royal Society A Mathematical Physical and Engineering Sciences · Royal Society · 2022 10.1098/rspa.2021.0508
- A Quantum Information-Based Refoundation of Color Perception Concepts SIAM Journal on Imaging Sciences · Society for Industrial and Applied Mathematics · 2022 10.1137/22m1476071
- Geometry of color perception. Part 2: perceived colors from real quantum states and Hering’s rebit The Journal of Mathematical Neuroscience · Springer Nature · 2020 10.1186/s13408-020-00092-x
- From Riemannian Trichromacy to Quantum Color Opponency via Hyperbolicity Journal of Mathematical Imaging and Vision · Springer Science+Business Media · 2021 10.1007/s10851-021-01023-5
- The Quantum Nature of Color Perception: Uncertainty Relations for Chromatic Opposition Journal of Imaging · Multidisciplinary Digital Publishing Institute · 2021 10.3390/jimaging7020040
- The relativity of color perception Journal of Mathematical Psychology · Elsevier BV · 2021 10.1016/j.jmp.2021.102562
- Division Algebras and Quantum Theory Foundations of Physics · Springer Science+Business Media · 2011 10.1007/s10701-011-9566-z
- Split quaternions and particles in (2+1)-space The European Physical Journal C · Springer Science+Business Media · 2014 10.1140/epjc/s10052-014-3200-0
- (2 + 1)-Maxwell Equations in Split Quaternions Physics · Multidisciplinary Digital Publishing Institute · 2022 10.3390/physics4010023
- Rotations with unit timelike quaternions in Minkowski 3-space Journal of Geometry and Physics · Elsevier BV · 2005 10.1016/j.geomphys.2005.02.004
- The roots of a split quaternion Applied Mathematics Letters · Elsevier BV · 2008 10.1016/j.aml.2008.03.020
- A review of chromatic adaptation transforms Review of Progress in Coloration and Related Topics · Wiley · 2000 10.1111/j.1478-4408.2000.tb03784.x
- Effects of iron stress on chromatic adaptation by natural phytoplankton communities in the Southern Ocean Marine Ecology Progress Series · Inter-Research · 1998 10.3354/meps166043
- Color Correction with Lorentz Boosts 2021 10.1145/3447587.3447611
- The Lorentz Group Using Conformal Geometric Algebra and Split Quaternions for Color Image Processing: Theory and Practice IEEE Access · Institute of Electrical and Electronics Engineers · 2023 10.1109/access.2023.3279765
- Beyond White: Ground Truth Colors for Color Constancy Correction 2015 10.1109/iccv.2015.42
- Some Quantitative Aspects of an Opponent-Colors Theory II Brightness, Saturation, and Hue in Normal and Dichromatic Vision Journal of the Optical Society of America · Optica Publishing Group · 1955 10.1364/josa.45.000602
- Some Quantitative Aspects of an Opponent-Colors Theory III Changes in Brightness, Saturation, and Hue with Chromatic Adaptation Journal of the Optical Society of America · Optica Publishing Group · 1956 10.1364/josa.46.000405