Most viable modern chromatic adaptation transforms (CATs), such as CAT16 and CAT02, can trace their roots both conceptually and mathematically to a simple model formulated from the hypotheses of Johannes von Kries in 1902, known as the von Kries transform/model. However, while the von Kries transform satisfies the properties of symmetry and transitivity, most modern CATs do not satisfy these two important properties. In this Letter, we propose a generalized von Kries transform, which satisfies the symmetry and transitivity properties in addition to improving the fit to most available experimental visual datasets on corresponding colors.
Our visual system attracts many researchers including medical, vision, optical, psychological, and color scientists. For clinical applications[1,2], medical, vision, and optical scientists investigated image formation by our eyes to correct dysfunctions such as astigmatism, presbyopia, and myopia. On a functional level, vision and color scientists try to understand how we generate color sensations from received images and try to model phenomena such as color difference[3], chromatic adaptation[4–6], and color appearance[7–9]. In this Letter, we model chromatic adaptation in order to predict corresponding colors when the predominant viewing environment is changed.
A chromatic adaptation transform (CAT) is capable of predicting corresponding colors. A pair of corresponding colors consists of a color observed under one illuminant (say, D65) and another color that has the same appearance when observed under a different illuminant (say, A). CATs are part of color appearance models (CAMs)[7–9], which are important for many industrial applications. These transforms have been extensively studied over several decades ever since Johannes von Kries[10] in 1902 laid down the foundation for modeling chromatic adaptation. Rather than giving a specific set of equations for the modeling, he instead simply outlined his hypothesis in words and described the potential impact of his ideas. Based on his hypothesis, chromatic adaptation in the visual system is considered the independent change in responsivity of the three types of cone photoreceptors. To present the von Kries hypothesis in terms of a chromatic adaptation model, we need a 3 by 3 matrix , which transforms the tristimulus values (TSVs) under an illuminant called into the cone-like or sharper sensor spaces ( or spaces). Here, we will use the notation. Thus, we have where the matrix can be the well-known HPE matrix[7], the CAT02 matrix[8], or the CAT16 matrix[9]. The entire chromatic adaptation is completed in the space. The signals are considered to be the initial cone responses. According to the von Kries proportionality law, the von Kries post-adaptation signals are given by where the subscript a signifies adaptation, represents the illuminant, and indicate different channels. The von Kries adaptation factors or coefficients are independent of each other and are given by where the subscript w signifies the sensor space signals transformed from the TSV of the illuminant white point, and are the TSVs of the illuminant white point. Thus, if two stimuli and are viewed under illuminants and , respectively, and they are perceived with the same appearance, then we must have
When Eq. (5) holds, the two stimuli are called corresponding colors.
Sign up for Chinese Optics Letters TOC Get the latest issue of Advanced Photonics delivered right to you!Sign up now
Note that when we say stimulus in the TSV space, we mean that is a column vector formed by TSVs . In this case, can be written as . When we say stimulus in the cone-like space, we mean that is a column vector formed by cone sponse signals obtained using Eq. (1). Similarly, in this case, can be written as . If we let diag be a 3 by 3 diagonal matrix, the von Kries transform in the cone-like space, denoted by , can be simply defined by and the real von Kries transformation from stimulus to stimulus is a simple matrix and vector multiplication:
Note that the order of the symbols in the subscript of the von Kries transform is important. Here, mean that the von Kries transform maps stimulus under illuminant to stimulus under illuminant . Similarly, transform maps stimulus under illuminant to stimulus under illuminant . Note also that, if two stimuli and are corresponding colors, then and are also corresponding colors, with this property being called symmetry. Thus, we expect the von Kries transform to satisfy this property. In fact, it can be verified that where is the identity matrix. Equation (8) shows that the von Kries transform has the property of symmetry, as desired. Also, if and are corresponding colors, and and are corresponding colors too, then and must be corresponding colors, and this property is known as transitivity. Similarly, we also expect the von Kries transform to have transitivity. Fortunately, it is indeed the case, since
The von Kries transform can be further modified by introducing the modified von Kries adaptation factors:
Based on the above new von Kries adaptation factors, we can have the modified von Kries transform, , which is defined by
It can be shown that the modified von Kries transform also satisfies the symmetry and transitivity.
Note that if the scaling factors , , in Eq. (10) are all equal to one, the modified von Kries transform becomes the classical von Kries transform, i.e., . In fact, by different choices of the scaling factors , , , the modified von Kries adaptation factors become some available adaptation factors in the literatures, such as the Fairchild factors (see page 177 in Ref. [11]) with CMCCAT2000[12], CAT02[13], and CAT16[4,9] factors with or Smet et al.[5,6] factors with Here, , , are obtained using Eq. (1) with the TSVs of the equal energy illuminant white point. is the luminance of the adapting field and is about 20% of the absolute luminance of the illuminant . Thus, it can be seen the modified von Kries adaptation factors [Eq. (10)] are more general. We will discuss next how to choose the factors , , . Firstly, they should satisfy in this case, it can be shown from Eq. (11) that
Hence,
Thus, if the CAT maps the TSVs of , the output is , which is correct as expected. The CAT should make the chromaticity correct as discussed in the Letter[14] by Hunt et al. However, one may think it is better if the CAT can make the luminance correct as well. It is clear the constant c must be one under this condition, which one may want if the input is and then the output is . So, the next condition for factors , , is
The condition of Eq. (20) means factors , , are independent of illuminant. From Eqs. (12)–(14), the Fairchild factors are illuminant dependent, and they may not satisfy conditions of Eqs. (17) and (20). Factors , , defined by Eq. (15) are illuminant dependent, but they satisfy condition Eq. (17). They also satisfy condition Eq. (20) if . Factors , , defined by Eq. (16) use a fixed illuminant; hence, then they will satisfy both conditions of Eqs. (17) and (20).
Up to now, it seems that if the factors , , satisfy the condition of Eq. (20), the modified von Kries transform is in fact the classical von Kries transform. Yes, it is the case. However, one will see the reason for introducing the modified von Kries transform.
However, neither the (classical) von Kries [see Eq. (6)] nor the modified von Kries transform [see Eq. 11)] with factors , , given by any set of Eqs. (12)–(16) shows a tight fit with the experimental visual data sets on corresponding colors (see test results below). To solve this problem, researchers have proposed various linear and nonlinear extensions, as detailed by Fairchild[11]. The linear extensions related to the International Commission on Illumination (CIE) CAMs[8,9], such as CAT02[13] and CAT16[9], with factors , , defined by Eq. (15), can be expressed as where xx in the subscript can be 02 for CAT02[13] and 16 for CAT16[9]; although, in fact, and are the same. The incomplete adaptation factor is between 0 and 1. When is one, becomes in such a way that CAT02 and CAT16 can be considered as extensions to the modified von Kries transform. However, when is different from 1 or 0, they no longer satisfy the symmetry and transitivity properties. That is, in general, does not satisfy Eqs. (8) and (9). Hence, an inverse CAT is needed for , which is simple for linear CATs and is given by mapping stimulus to stimulus . The CAT is normally called a one-step CAT, which directly maps stimulus to stimulus .
Recently, Smet et al.[5,6] [using factors , , defined by Eq. (16)] and Li et al.[4] [using factors , , defined by Eq. (15)] proposed two-step CATs via the intermediate CIE illuminant E, which is defined by the equi-energy spectrum (see Fig. 1 in Ref. [5]). Firstly, a one-step CAT such as is applied to map stimulus to stimulus . In this stage, the adaptation to the illuminant for our visual system is referred to as illuminant E. Similarly, for the adaptation to the illuminant in the second stage, the illuminant E is also used, and a one-step CAT is applied to map stimulus to stimulus . The end result is the two-step CAT, denoted by , defined by
Note that the incomplete adaptation factor in each of the one-step CATs in Eq. (22) may be different. Fortunately, the two-step CAT satisfies the symmetry and transitivity properties[4]. Furthermore, the two-step CAT performs equally well or better than the one-step CAT in predicting the visual datasets on corresponding colors[4]. However, the derivation of the two-step CAT is debatable. Why does the adaptation for our visual system always refer to an illuminant (illuminant E) that does not exist in the real world? We should recall that the derivations of the von Kries and modified von Kries transforms do not need an intermediate illuminant.
Can we have a CAT that satisfies symmetry and transitivity without referring to an intermediate illuminant and fits the visual datasets as good as or better than the one-step CAT? The answer is yes. To this end, we have introduced the incomplete adaptation factor D into the modified von Kries adaptation factors rather than into the modified von Kries transform [see Eq. (21)]. Thus, the new incomplete adaptation factors under illuminant are
The new incomplete adaptation factors under illuminant can be similarly defined. As with the derivation of the von Kries or the modified von Kries transform, we have a new CAT, called the generalized von Kries (GvK) transform, which is denoted as and uses the new incomplete adaptation factors defined in Eq. (23). Thus, the GvK transform is given by
It can be shown that satisfies Eqs. (8) and (9). Thus, the GvK transform indeed satisfies the properties of symmetry and transitivity.
Note that the GvK transform has two adaptation factors, and . The factor in CAT02 and CAT16 depends only on the luminance level of illuminant , and hence, and are the same if the luminance levels of the two illuminants are the same. Recently, several papers[5,6,15] have reported that the D factor affects the performance of CATs and have guessed that the D factor may also depend on correlated color temperature (CCT).
Note also that when we consider the von Kries, modified von Kries, and GvK transforms in TSV space, an associated matrix mapping the stimulus in TSV to the cone-like space [see Eq. (1)] is necessary. For example, as noted before, the von Kries transform in TSV space is simply given by , where the matrix can be the CAT02, CAT16, or HPE matrices.
Before we test the performance of the GvK transform, we need also to specify the factors , , in Eq. (10). According to the discussion above, it is better that they are independent of illuminant. A simple choice is
Here, is a constant again. According to Eqs. (23) and (24), performance of the GvK transform is also dependent on . For the testing below, is set to be 100. The reason for it is explained below.
Performance of the proposed von Kries transform with the CAT02, CAT16, and HPE matrices has been tested using the available corresponding color datasets[16–22], which were used for developing CAT02 and CAT16. The formula employed for the factor was the one used for CAT02 and CAT16. Comparisons with the von Kries transform , (one-step) CAT02, and CAT16 were also made. The results found are summarized in Table 1, in terms of mean, weighted mean, minimum (Min), and maximum (Max) CIELAB color differences between the predicted and experimental TSVs for each pair of corresponding colors in datasets. There are 21 datasets, and each dataset has a different number of pairs of corresponding colors. The values in the row of Table 1 labeled with Mean are the average of the mean color differences for the different datasets, while the values in the row labeled with Weighted Mean are the weighted mean color difference; the weight for each dataset is the ratio of the number of pairs in this dataset and the number of pairs in all the datasets. The values in the second to last row are the Max of Max color differences for the different datasets. The values in the last row are the Min of Min color differences for the different datasets. The lower the values in Table 1, the better the performance of the corresponding model.
Table 1. Performance of von Kries (Γδ,β) and Generalized von Kries Transforms (Γδ,β″) Together with the (One-Step) CAT02 and the (One-Step) CAT16, in Terms of Mean, Weighted Mean, Maximum (Max), and Minimum (Min) CIELAB Color Differences from Visual Datasets on Corresponding Colors[16–22]
Table 1. Performance of von Kries (Γδ,β) and Generalized von Kries Transforms (Γδ,β″) Together with the (One-Step) CAT02 and the (One-Step) CAT16, in Terms of Mean, Weighted Mean, Maximum (Max), and Minimum (Min) CIELAB Color Differences from Visual Datasets on Corresponding Colors[16–22]
CAT02 Matrix
CAT16 Matrix
HPE Matrix
Γδ,β
CAT02
Γδ,β″
Γδ,β
CAT16
Γδ,β″
Γδ,β
Γδ,β″
Mean
7.6
6.3
6.2
8.1
6.3
6.2
9.4
7.4
Weighted Mean
6.4
5.5
5.5
6.9
5.6
5.6
8.1
6.7
Max
34.2
26.7
24.4
39.9
27.0
25.5
50.0
35.5
Min
0.5
0.3
0.4
0.3
0.3
0.3
0.4
0.3
First, Table 1 indicates that when using any of the three matrices, the proposed GvK transform (see results under columns ) is better than the von Kries transform (see results under columns ). Note the von Kries and modified von Kries transforms are the same since factors , , satisfy Eq. (25). Second, the proposed GvK transform is equally well as or better than the (one-step) CAT02 with one exception being under Min measure with negligible 0.1 color difference unit (see results under column CAT02) and (one-step) CAT16 (see results under column CAT16). Third, both the von Kries and the proposed GvK transforms perform best using the CAT02 matrix, second best using the CAT16 matrix, and worst using the HPE matrix. However, we should note that the CAT02 matrix has the “yellow–blue” and “purple” problems[23–25]. The CAT16 matrix[9,26] was derived for the aim of fitting visual datasets and overcoming the “yellow–blue” and “purple” problems. Therefore, we recommend that the CAT16 matrix should be used for the von Kries, modified von Kries, and proposed GvK transforms.
Note that if the D factors and are set to one, any value does not affect the performance of the GvK transform. In fact, in this case, it is simply the von Kries transform, i.e., . However, when we use the D factor to be the D factor of CAT02 (CAT16), the value indeed affects the performance of the GvK transform. It was found that when , the GvK transform performs the best; when deviates from 100, the GvK transform performs worse. This may come from three facts. First, all visual datasets tested here, . Second, the factor was introduced into the CAT02, CAT16, and CMCCAT2000 for being consistent with the nonlinear CMCCAT97[27], which was built in CIECAM97s[7]. As discussed above, the factor is just related to the scaling factors , , [see Eqs. (10), (15)]. Finally, the matrix and D factor of CAT02/CAT16 were derived based on fitting all the visual datasets[16–22] as best as possible. Hence, it is recommended to use the together with the D factor of the CAT02/CAT16 for the GvK transform before a better D factor is developed.
When one of the two illuminants is illuminant E, the GvK transform becomes a one-step CAT [see Eq. (21)] with . In fact, since the CAT02, CAT16, and HPE matrices are normalized according to the illuminant E, we have
Thus, from Eqs. (3), (10), and (14), we have
Therefore, from Eq. (15), considering also Eqs. (11), (14), and (17),
Hence, if we let in Eq. (12), we have
Equation (28) means that the proposed GvK transform mapping stimulus under illuminant to stimulus under illuminant E is just the normal one-step CAT from stimulus under illuminant to stimulus under illuminant E. Remember that the one-step CAT is used in the forward mode in CIECAM02/CAM16. Similarly, it can be proved that
Equation (29) means that the GvK transform mapping stimulus under illuminant E to stimulus under illuminant is just the inverse of the normal one-step CAT from the stimulus under illuminant to the stimulus under illuminant . We should bear in mind that the inverse of one-step CAT is used in the inverse mode in CIECAM02/CAM16. Therefore, we conclude that the proposed GvK transform can be used in the current CIECAM02/CAM16.
In conclusion, the von Kries transform was reviewed, and then the modified von Kries transform was derived based on the modified von Kries adaptation coefficients [see Eq. (10)]. The factors , , in Eq. (10) were shown to be better if they satisfy condition Eq. (20), resulting in it being better if the factor in CAT02, CAT16, and CMCCAT2000 is a constant of 100. The factor was introduced into CMCCAT2000 first, later into CAT02 and CAT16 to be consistent with CIECAM97s and CMCCAT97, and further justification was discussed in the Letter given by Hunt et al.[14]. Since 2000, there was a debate about the factor. There is nothing wrong with a CAT including the factor like CMCCAT2000 and CAT02, since the main purpose of a CAT should make the chromaticity correct. However, when the factor is fixed to a constant like 100, the CAT can make both chromaticity and luminance correct.
It was found that the current linear CAT02 and CAT16 can be considered to be the extension of the modified von Kries transform. However, while the von Kries and modified von Kries transforms satisfy symmetry and transitivity, CAT02 and CAT16 do not satisfy these two properties in general. Finally, a GvK transform has been proposed. The proposed GvK transform, similar to the von Kries and modified von Kries transforms, satisfies the symmetry and transitivity of the properties. Performance evaluation using the available visual datasets[16–22] showed that the proposed GvK transform performs better than the von Kries and modified von Kries transforms and performs equally well as or better than the (one-step) CAT02 and CAT16. Furthermore, the proposed GvK transform does not need an inverse transform and can be used in CIECAM02/CAM16.
Finally, we note that recently Kerouh et al.[28] used a CAT to convert the (input) image of a scene captured under one illuminant to the (output) image of the same scene captured under another illuminant. Their results have shown that the CAT affects image content such as edges, texture, and homogeneous area differently. Image-content-based CATs were developed. Comparison results based on multispectral images have shown that the image-content-based CATs perform better than other CATs including the von Kries and Bradford transforms. Our proposed GvK model is evaluated here using the visual corresponding color datasets and may be further evaluated in the future using image data.
Cheng Gao, Zhifeng Wang, Yang Xu, Manuel Melgosa, Kaida Xiao, Michael H. Brill, Changjun Li, "The von Kries chromatic adaptation transform and its generalization," Chin. Opt. Lett. 18, 033301 (2020)