선정목록으로
Chromatic adaptation transform by spectral reconstruction
필름·전자재료 · (13) 프리즘 필름 (15) 디스플레이 패널재료(16) CPI(투명 폴리이미드)
기본 정보
- 저자
- DOI
- 10.1002/col.22384
- 저널
- Color Research & Application
- 발행년도
- 2019
- 발행기관
- Wiley
- 피인용수
- 11
- 라이선스
- 0
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.1002/col.22384
- 토픽
- Color Science and Applications
- OpenAlex ID
- W2915543303
평가 내용
- 관련도
- 사업분야
- 필름·전자재료 · (13) 프리즘 필름
- 부 분야
- (15) 디스플레이 패널재료, (16) CPI(투명 폴리이미드)
- R&D 측면
- 물성·성능 평가
- 확신도
- 0.70
- 근거 용어
- spectral reconstruction, color appearance model, chromatic adaptation, reflectance curves, tristimulus values
- 판단 근거
- 이 논문은 광원 변화에 따른 색채 적응 변환(CAT)을 위해 분광 재구성(spectral reconstruction) 기술을 다루며, 이는 디스플레이 및 광학 필름의 색 재현성 및 색상 정확도 평가와 밀접한 관련이 있습니다.
- R&D 활용 포인트
- 프리즘 필름(13)이나 CPI(16) 등 광학 소재 개발 시, 다양한 조명 환경에서의 색상 일관성(Color Constancy)을 예측하고 디스플레이 패널의 색 재현 성능을 시뮬레이션하는 알고리즘 연구에 참고할 수 있습니다.
- 평가 입력
- 본문 45,590자 중 30,032자 발췌
초록
Abstract A color appearance model (CAM) is an advanced colorimetric tool used to predict color appearance under a wide variety of viewing conditions. A chromatic adaptation transform (CAT) is an integral part of a CAM. Its role is to predict “corresponding colors,” that is, a pair of colors that have the same color appearance when viewed under different illuminants, after partial or full adaptation to each illuminant. Modern CATs can sometimes generate colors with negative tristimulus values. For some imaging applications, it is important to maintain positive tristimulus values when applying a CAT. This article proposes a new CAT that does not operate on the standard von Kries model of adaptation. Instead, it uses a spectral reconstruction technique as an intermediate stage in the process, while still requiring only tristimulus values as inputs. It is demonstrated that the proposed CAT will not generate colors outside the spectral locus or colors with negative tristimulus values. The proposed CAT does not use established empirical corresponding‐colors data sets to optimize performance, as most modern CATs do, yet it performs as well as or better than the most recent CATs when tested against the data sets of corresponding colors.
본문 45,590자
본문 펼치기
# Chromatic Adaptation Transform by Spectral Reconstruction
Scott A. Burns, University of Illinois at Urbana-Champaign, scottallenburns@gmail.com
February 28, 2019
Note to readers : This version of the paper is a preprint of a paper to appear in Color Research
and Application in October 2019 (Citation: Burns SA. Chromatic adaptation transform by
spectral reconstruction. _Color Res Appl._ 2019;44(5):682-693). The full text of the final version is
available courtesy of Wiley Content Sharing initiative at: https://rdcu.be/bEZbD. The final
published version differs substantially from the preprint shown here, as follows. The claims of
negative tristimulus values being “failures” of a CAT are removed, since in some circumstances
such as with “supersaturated” colors, it may be reasonable for a CAT to produce such results.
The revised version simply states that in certain applications, tristimulus values outside the
spectral locus or having negative values are undesirable. In these cases, the proposed method will
guarantee that the destination colors will always be within the spectral locus.
_Abstract_ _: A color appearance model (CAM) is an advanced colorimetric tool used to predict_
_color appearance under a wide variety of viewing conditions. A chromatic adaptation transform_
_(CAT) is an integral part of a CAM. Its role is to predict “corresponding colors,” that is, a pair_
_of colors that have the same color appearance when viewed under different illuminants, after_
_partial or full adaptation to each illuminant. Modern CATs perform well when applied to a_
_limited range of illuminant pairs and a limited range of source (test) colors. However, they can_
_fail if operated outside these ranges. For imaging applications, it is important to have a CAT_
_that can operate on any real color and illuminant pair without failure. This paper proposes a_
_new CAT that does not operate on the standard von Kries model of adaptation. Instead it relies_
_on spectral reconstruction and how these reconstructions behave with respect to different_
_illuminants. It is demonstrated that the proposed CAT is immune to some of the limitations of_
_existing CATs (such as producing colors with negative tristimulus values). The proposed CAT_
_does not use established empirical corresponding-color datasets to optimize performance, as_
_most modern CATs do, yet it performs as well as or better than the most recent CATs when tested_
_against the corresponding-color datasets. This increase in robustness comes at the expense of_
_additional complexity and computational effort. If robustness is of prime importance, then the_
_proposed method may be justifiable._
1
1. Introduction
A color appearance model (CAM) is an advanced colorimetric tool used to predict color
appearance under a wide variety of viewing conditions. <sup>1,2</sup> A chromatic adaptation transform
(CAT) is an integral part of a CAM. Its role is to predict “corresponding colors,” that is, a pair of
colors that have the same color appearance when one is viewed under one illuminant and the
other is viewed under a different illuminant. <sup>3</sup> It is assumed that the viewer is adapted, or partially
adapted, to the illuminants before assessing color appearance.
Most CATs are based on the von Kries coefficients law. <sup>4</sup> The tristimulus values of a source
sample are transformed to cone-response space (or something similar, such as a “sharpened”
version), and then the cone response magnitudes are scaled by the ratios of destination-to-source
illuminant white point cone-response magnitudes. A final transformation back to tristimulus
value space yields the predicted destination color. Additional parameters are usually added to
account for partial adaptation.
Note that the terms “source” and “destination” used here differ from the alternate terminology of
“test” and “reference” often found in the literature. If the latter terms are preferred, simply
replace “source” with “test” and “destination” with “reference” in the development that follows.
Several experimental datasets of corresponding colors have been compiled to aid in the
development of modern CATs. The standard datasets used in the development of recent CATs
are known as CSAJ, Helson, Lam & Rigg, LUTCHI, Kuo & Luo, Breneman, Braun & Fairchild,
and McCann. <sup>5</sup> The numerical data are no longer available at the URL provided in Reference 5,
but they can be obtained through a web archive site. <sup>6</sup>
Some von-Kries-type CATs are theoretical, that is, they do not rely on the experimental
corresponding-color datasets for their development. Instead, they are derived from the results of
well-established physiological studies, such as spectral cone-sensitivity functions or cone signal
compression phenomena. In contrast, many recent CATs are derived with the aid of the empirical
corresponding-color datasets. The transformation that converts tristimulus values to cone
2
responses is modified through an optimization to yield a CAT that is able to match the empirical
data more closely. The optimization sometimes includes constraints to avoid some performance
issues, for example, ensuring that the destination tristimulus values are always positive for
“popular” source/destination illuminant combinations and that it obeys the “nesting” rule. <sup>7-13</sup>
Examples of these empirically “trained” CATs include Bradford (BFD), CMCCAT97,
CMCCAT2000, CAT02, and most recently CAT16. <sup>13-15</sup>
In the sections that follow, several examples are given of modern CATs performing poorly,
specifically, yielding negative destination tristimulus values, or destination colors outside the
spectral locus, for reasonable combinations of source/destination illuminants and source colors.
Then a more robust chromatic adaptation transformation is proposed that makes use of a spectral
reconstruction technique. The proposed method does not use experimental corresponding-color
datasets in its development, yet performs as well as or better than all existing modern CATs
when tested against the experimental datasets. It is not susceptible to some problems existing
CATs experience, even for the most extreme of source/destination illuminants and source colors.
The penalty for this improved robustness, however, is that it requires considerably more
computational effort, which may limit its suitability for some applications.
2a. Limitations of Existing CATs—Nonstandard Source Illuminants
Recent CATs are effective in predicting corresponding colors within certain limits. First, they
usually assume that the destination illuminant is similar to daylight (such as equal-energy, D65,
or C). Second, the source illuminant is usually assumed to be similar to commonly used light
sources (tungsten, fluorescent, white LED, etc) and not extreme sources like gas discharge lamps
(neon, metal halide, sodium vapor, etc.).
To demonstrate the performance of CAT02 with appropriate illuminants, reflectance curves for
1485 Munsell color chips (2007 Glossy) were converted to tristimulus values using illuminant A,
and then plotted on the chromaticity diagram. They are shown in the left part of Figure 1. These
tristimulus values were then processed by CAT02 (formulated to convert from illuminant A to C
with full adaptation, ?? = 1). The results are plotted on the chromaticity diagram in the right part
3
of Figure 1. The distribution of transformed colors seems very reasonable; no obvious defects
stand out. The distributions remain within the spectral locus and are clustered around the
illuminant white points, as expected.
Figure 1. Chromaticity coordinates of Munsell reflectance data (2007 Glossy) computed with illuminant A (left) and
after the transformation by CAT16 from illuminant A to C (right). Large dots are illuminant white points.
In contrast, consider what happens when the source illuminant is changed from illuminant A to
the spectral distribution shown in Figure 2. This purplish-blue illuminant has white point
(X, Y, Z = (2.15, 1, 4.73) and white point chromaticity (??, ?? = (0.272, 0.127). Figure 3 shows
the source locations of the Munsell colors with this new source illuminant (left) and the
destination locations as transformed by CAT02, using illuminant C as the destination illuminant
(right). The large dots in each figure are the illuminant white points.
Figure 2. Source illuminant for results shown in Figure 3.
4
Figure 3. Chromaticity coordinates of Munsell reflectance data (2007 Glossy) computed with the illuminant in
Figure 2 (left) and after the transformation by CAT02 to illuminant C (right). Red dots have negative tristimulus
values and red and blue dots are outside the spectral locus. Large dots are illuminant white points.
It is evident that CAT02 performs poorly; many of the Munsell colors are transformed to points
outside the chromaticity diagram (blue and red). The red ones also have negative destination
tristimulus values. A numerical example of one instance of negative tristimulus destination
values is presented in the online supplementary documentation. <sup>16</sup> The shortcomings of CAT02
has been well documented in the literature. <sup>7-11</sup> The poor performance (when using Munsell
source colors) is not shared by CAT16, which was optimized specifically to avoid negative
tristimulus values. The same is true for the “untrained” CAT known as HPE. <sup>17-18</sup> This CAT is a
direct application of the von Kries coefficient rule using a transformation to cone response space
derived from Estevez’s original estimates of theoretical cone sensitivity functions. <sup>19</sup> HPE does
not use the experimental corresponding-color datasets for improved performance and transforms
the Munsell colors to destinations within the spectral locus for even the most extreme source
illuminants, with the caveat that the destination illuminant is not too far from equal energy. A
later section of this paper will describe the limitations of HPE, CAT02, and CAT16 when the
destination illuminant moves away from equal energy. But before doing that, it is instructive to
5
note that all three of these CATs can produce negative destination tristimulus values when
applied to certain “object colors” even when the destination illuminant is equal energy, as
demonstrated in the next section.
2b. Limitations of Existing CATs—Application to All Object Colors as Source Colors
If we restrict our attention to objects having reflectance properties in the range 0 to 1 over all
visible wavelengths, then the stimuli produced by a given illuminant acting on all possible
reflectances of this type project into a three-dimensional color space region called the “object
color solid,” the outer surface of which comprises the “optimum colors.” <sup>20</sup> Testing a CAT with
all object colors is more demanding than using just the Munsell colors, since the latter falls well
within the interior of the object color solid. It will be demonstrated that HPE, CAT02, and
CAT16 all produce negative destination tristimulus values for some portions of the object color
solid, when used as source colors. This happens even for source illuminants that are not very
extreme (i.e., not having chromaticities that approach the spectral locus), while using equal
energy as the destination illuminant. Figure 4 shows HPE, CAT02, and CAT16 applied to a ?? =
0.3 slice of the object color solid, using a source illuminant that is halfway between equal energy
and the spectral locus (white point ? ? ?? = (1.5, 1, 0.5) and ? ? = (0.5, 0.333), shown in Figure 5).
Figure 4. Object color solid slice for ?? = 0.3 (orange curve) using source illuminant shown in Figure 5 (orange dot)
and the transformed region (green curve) after application of HPE, CAT02, and CAT16, using equal energy as the
destination illuminant (green dot). The red region has negative tristimulus values and the red and blue regions fall
outside the spectral locus.
6
Figure 5. Source illuminant for the results shown in Figure 4.
A substantial portion of the object colors are transformed outside of the spectral locus (red and
blue regions) and the red region has negative destination tristimulus values. These examples
demonstrate that modern CATs (and even a standard, untrained von Kries CAT like HPE) can
give negative destination tristimulus values for some object colors. However, as long as the
destination illuminant is similar daylight or equal energy, the cases of negative destination values
seem to happen mostly with source tristimulus values having relatively low ?? values, such as ??
= 0.3 in example above.
2c. Limitations of Existing CATs—Nonstandard Destination Illuminants
Some CATs have specifications that assume the destination illuminant is equal energy and most
of the correspond-color datasets have destination illuminants of D65 or D55, which are in the
vicinity of equal energy. This section examines what happens when a more chromatic destination
illuminant is used. Figure 6 demonstrates that if equal energy is used as the _source_ illuminant,
and a greenish illuminant is used as the destination (white point ? ? ?? = (0.660, 1, 0.792) and
(??, ?? = (0.269, 0.408), shown in Figure 7), then many of the Munsell colors are transformed out
of the spectral locus by HPE, CAT02, and CAT16, and a good portion of those have negative
tristimulus values.
7
Figure 6. Object color solid slice for ?? = 0.3 (orange curve) using equal energy as the source illuminant (orange dot)
and the transformed region (green curve) after application of HPE, CAT02, and CAT16, using the illuminant in
Figure 7 as the destination illuminant (green dot). The red region has negative tristimulus values and the red and
blue regions fall outside the spectral locus.
Figure 7. Destination illuminant for the results shown in Figure 6.
The shift of the destination illuminant from equal energy is only 20% of the distance to the
spectral locus, yet significant portions of the object color solid transform to outside of the
spectral locus.
In summary, modern CATs can be somewhat “fragile” and give poor results when the
source/destination illuminants move too far away from commonly-used illuminants, or when
source colors are selected too near the object color solid boundary. The following sections will
present an alternative CAT that is based on spectral reconstruction. It does not use the empirical
corresponding-color datasets to fine-tune its performance, as is the case with CAT02 and
CAT16. It will be shown to perform as well as or better than CAT02 and CAT16 when applied
8
to the corresponding-color datasets and to be immune to transforming source colors to
destinations outside the spectral locus or to negative tristimulus values.
3. Notation
The symbols used in the following development are summarized in Table 1.
<u>Table 1. Explanation of Symbols</u>
<u>Symbol</u> <u>Definition</u>
??
<u>Number of wavelength bands used to discretize spectral-based entities. (In this</u>
presentation, all computations use ?? = 36, representing 10 nm bands spanning the
<u>range 380 nm to 730 nm.)</u>
<u>Three ??×1 vectors of color-matching functions. (The CIE 1931 standard observer is</u>
~~?,~~ ? ~~?~~ ? ~~,~~ ~~?~~ ?
<u>used in computations in this presentation.)</u>
<u>??</u> <u>??×3 matrix of color-matching functions (CMF), by columns: ??</u> <u>= [</u> ~~<u>?,</u>~~ ? ~~<u>?</u>~~ ? ~~<u>,</u>~~ ~~<u>?</u>~~ ? ~~<u>]</u>~~ <u>.</u>
??
? ? ? ? ?
??×1 illuminant vector, assumed to be non-negative and scaled (normalized) so that
the scalar product ~~?~~ ? ~~′~~ ⋅?? = 1. (Prime denotes transpose. Subscripts denote different
<u>illuminants, e.g., ???</u> ? and ??? ?.)
? ?
? ? ? ?
??×?? diagonal matrix, ??= ? ? ? ? (??, which places ?? on the main diagonal and
??
<u>zeros elsewhere.</u>
<u>??</u> <u>??×1 reflectance vector, typically with values in the range 0-1.</u>
?
? ? ??
? ? ?? <sup>?</sup> <sup>?</sup>
?
3×1 vector of tristimulus values, ??, ??, and ??, computed as ? ? ??= ?? <sup>′</sup> ?? ??.
(Note the reflective/transmissive case is used here, as opposed to the emissive case,
so all tristimulus values are referenced to some illuminant, ??, and a perfect
reflector will yield ?? =1. A subscript indicates to which illuminant it is referenced,
e.g., ? ? ???? or ? ? ????. A second subscript of “??” indicates it is a predicted quantity
<u>generated by a CAT, e.g., ?</u> ? <u>???</u> ? <u>.)</u>
<u>3×1 vector of illuminant white point tristimulus values, ?</u> ? ?? <sup>?</sup> <sup>?</sup> = ?? <sup>′</sup> ?? <u>. (Because</u>
of the assumed scaling of ??, the ?? value will always equal 1. A subscript can be
<u>added to specify the illuminant, e.g., ?</u> ? <u>????</u> ? <u>or ?</u> ? <u>????</u> ? <u>.)</u>
? <u>???</u> ? <u>or ?</u> ? <u>????</u> ?
? ? <u>???</u> ? <u>.)</u>
? ? ? ? ?
??×3 matrix of illuminant ?? -referenced color-matching functions, ???? = ?? ??.
(?? -referenced tristimulus values are computed directly from reflectance as
????
? ? ???? = ???? ′ ??. The subscript is used to differentiate between various
<u>illuminants, e.g., ???</u> ? and ????.)
<u>??</u> <u>??×?? matrix of finite-differencing constants (see Equation 5).</u>
????
? ? ?
??×3 matrix of dual-referenced (by both source and destination illuminants) color??? ?
<u>matching functions, ???</u> <u>= ???</u> ? ??? ? ?. ?
? ? ? ? ? ?
<u>Degree of adaptation parameter, ranging from 0 (fully unadapted) to 1 (fully</u>
??
<u>adapted).</u>
9
4. Chromatic Adaptation Transform by Spectral Reconstruction
Modern CATs ignore the spectral makeup of illuminants and source/destination colors and
operate only on tristimulus values. Changes in color sensations by adaptation, ostensibly due to
changes in cone sensitivities, are modeled by the von Kries coefficients law. In contrast, the
proposed CAT constructs spectral distributions from the tristimulus values and simply computes
the effect that changing the illuminant has on tristimulus values using standard CMF
calculations. While this approach appears to ignore the phenomenon of adaptation, focusing
instead on techniques more closely related to color constancy, the corresponding-color pairs it
generates match the empirical corresponding-color datasets as well as or better than existing
CATs.
The proposed CAT algorithm operates as follows: Given a source color, ? ? ????, which is
referenced to a source illuminant with white point ? ? ????? ?, we seek a prediction of a
corresponding color, XY??? ?, referenced to a destination illuminant with white point ? ? ????? ? .
(At this point, we are assuming full adaptation.)
1. Construct two normalized spectral distributions, ???? and ????, which when treated as
illuminants, have white points ? ? ????? ? ?
? ??? ? and ? ? ????? ?
? ? ??? ?, respectively. (See a later section on
how to perform this spectral reconstruction.) Use these two distributions to form ????- and
????-referenced CMFs, ???? = ???? A and ???? = ???? A.
2. Construct a reflectance curve, ??, that satisfies ? ? ???? = ????′ ??. (See a later section on
how to perform this reflectance reconstruction.)
3. Compute ? ? ???? = ????′ ??.
4. Adjust ? ? ???? so that it preserves its chromaticity coordinates, (??, ??, while having a ??
value that matches the ?? value of ? ? ????. Call this ? ? ??? ? .
5. ? ? ??? ? is the predicted corresponding color associated with ? ? ???? for the two
illuminant white points ? ? ????? ? ?
? ??? ? and ? ? ????? ?
? ? ??? ? .
10
The fourth step above is justified by the observation that in corresponding color experiments, the
goal of the observer is to find source and destination colors that appear identical when viewed
under a state of adaptation to the respective illuminants. The experiments are designed to
produce corresponding colors with similar luminances, so that luminance-dependent changes in
colorfulness and contrast are not triggered (known as Hunt and Stevens effects). Indeed, 14 of
the 26 standard corresponding-color datasets (the three LUTCHI sets, two Kuo & Luo sets, and
nine Breneman sets) have corresponding color pairs with identical ?? values. The mean
difference of all ?? values in the corresponding-color data (excluding McCann) is 0.33 (on a 0
100 scale) and the standard deviation of the differences is 1.1. Steps 1-3 of the algorithm above
do not preserve ?? values as the corresponding-color experiments do, so it is reasonable to add
step 4 to mimic this preservation.
Before examining the specifics of how to compute the spectral reconstructions above, a
demonstration of the effectiveness of the proposed CAT is presented in Table 2, which compares
the Δ??94∗ color differences between the experimental dataset destination colors, ? ? ????, and the
CAT-predicted destination colors, ? ? ??? ?, for four methods: HPE, CAT02, CAT16, and the
proposed CAT. In all cases, full adaptation (?? = 1) is used. See the online supplementary
documentation for more information regarding these calculations. <sup>21</sup>
Table 2. Mean Δ??94∗ color difference for HPE, CAT02, CAT16, and the proposed method.
The mean values in the last two rows of Table 2 are weighted means, that is, they represent the
mean of all samples in all datasets, not the mean of the dataset means. The proposed method
11
performs comparatively the best when all datasets are considered. Both CAT02 and CAT16 were
optimized for all datasets except the McCann dataset. The proposed method falls between the
performance of CAT02 and CAT16 when the McCann data is excluded. It should be noted that
the proposed method, like the HPE method, is not optimized at all to fit the experimental
corresponding-colors datasets. Such optimization could be applied to the proposed method to
further improve its performance, but possibly at the expense of making it less robust, like CAT02
and CAT16.
One possible explanation for why the spectral reconstruction method performs so well is the
observation that the type of reconstructed reflectance curve used in this study seems to match
reflectance curves of object colors found in nature surprisingly well, in particular, the
reflectances of common paints and pigments. <sup>22</sup> Figure 8 shows the spectrophotometrically
measured reflectance curves of six Liquitex <sup>®</sup> paints and the corresponding reflectance
reconstructions generated from the tristimulus values of the paints.
12
Figure 8. Spectrophotometrically measured reflectance curves of six Liquitex® paints (blue curves) and the
corresponding reflectance reconstructions generated from the tristimulus values of the paints (red curves).
Although there are considerable discrepancies in the upper and lower extremes of the visible
spectrum, these deviations are largely inconsequential, as human sensitivity to these wavelengths
is very low. Consequently, calculation of quantities like tristimulus values are relatively
insensitive to variations in stimuli at these extreme wavelengths.
5. Spectral Reconstruction Computation
Spectral reconstruction is the process of generating a distribution (e.g., reflectance, power, etc.)
over a wavelength (or frequency) domain, given only a three-dimensional representation of the
color, such as tristimulus values referenced to some illuminant. There are many ways to generate
reconstructed spectral distributions from target tristimulus values. <sup>23-41</sup> The solution is not unique;
there is an entire “metameric suite” of spectral distributions that share common tristimulus
values. The outcome of each reconstruction algorithm differs according to the assumptions and
restrictions imposed on the reconstruction.
One way to perform the reconstruction is to identify the unique member of the metameric suite
of reflectance curves, ??, with minimum slope squared, integrated over the range of visible
wavelengths, i.e.,
13
subject to the constraint that ?? must yield the target tristimulus values. Equation 1 was originally
proposed by van Trigt. <sup>23-24</sup> Unfortunately, this form of the optimization can sometimes lead to
curves that have regions of negative reflectance. To avoid this, the present author has modified
the optimization to operate in the space of ??= ln ??, so the new objective function becomes
This keeps ??= e <sup>??</sup> strictly positive. The continuous optimization above can be discretized to
make it suitable for numerical solution:
Note that the constraint uses a source illuminant-referenced set of CMFs, ????, which when
transposed and multiplied by the ??×1 reflectance vector, ?? <sup>??</sup>, equals the target ? ? ????. Equation 3
can also be expressed fully in matrix form:
where C is an ??×?? tridiagonal matrix of finite-differencing constants,
This constrained nonlinear program (NLP) is easily solved by optimization software packages.
However, the computational overhead of general-purpose optimization code is unnecessary when
solving an NLP with a simple structure such as this one. A far more computationally efficient
approach is to apply the method of Lagrange multipliers to this equality constrained NLP. The
Lagrangian function is
14
where ?? is a 3×1 vector of Lagrange multipliers. Setting partial derivatives of the Lagrangian to
zero,
and solving for ?? and ?? yields a stationary point, which for this particular equality-constrained
quadratic program is a minimum and a solution. This (??+3) × (??+3) system of nonlinear
equations is readily solved by Newton’s method. Defining the vector-valued function, ??, as
and the Jacobian matrix of first partial derivatives of ?? as
the change in the values of ?? and ?? with each Newton iteration is found by solving the linear
system
Thus, a reconstructed reflectance curve can be found with a series of linear equation solutions,
updating ?? and ?? each iteration: ?? <sup>??+1</sup> = ?? <sup>??</sup> + Δ?? and λ <sup>??+1</sup> = λ <sup>??</sup> + Δλ. Convergence is rapid
and tests on 140,000 cases show that a solution to within a tolerance of |??| < 10 <sup>−8</sup> is obtained
with a mean number of iterations of 6.8.
As an interesting side note, due to the nature of this equality-constrained quadratic program,
there is a unique reflectance curve with minimum-slope-squared properties for a given
tristimulus value triplet. In other words, there is a one-to-one correspondence between these
optimal reflectance curves and their corresponding tristimulus values. Either can be used inter
changeably as a canonical representation of a specific color.
15
Below is a Matlab function that performs the spectral reconstruction. This code also works in the
free and open source Octave software. <sup>42</sup> It accepts as input arguments the source-referenced
CMFs, `As`, the matrix of finite-differencing constants, `C`, and the source tristimulus values, `XYZ`,
and returns the spectral reconstruction, `rho` .
```
function rho=spectral_recon(As, C, XYZ)
% As is nx3 Ws-referenced CMFs, As = diag(Ws)*A
% C is nxn matrix of finite-differencing constants (Eqn 5)
% XYZ is a 3x1 vector of target Ws-referenced tristimulus values
% rho is a nx1 vector of reflectance values (or zeros if failure)
n=size(As,1);rho=zeros(n,1);z=zeros(n,1);lambda=zeros(3,1);count=0;
maxit=20; % max number of iterations
ftol=1.0e-8; % solution tolerance
while count <= maxit
r=exp(z);
dr=diag(r);
v=dr*As*lambda;
F=[C*z+v; As'*r-XYZ];
J=[C+diag(v), dr*As; As'*dr, zeros(3)];
delta=J\(-F); % solve system of equations J*delta = -F
z=z+delta(1:n);
lambda=lambda+delta(n+1:n+3);
if all(abs(F)<ftol)
rho=exp(z);
return
end
count=count+1;
end
```
Since this code will be executed once for each corresponding color prediction, it is best to
precompute ???? and ?? and pass them as input arguments. The function will fail if improper
inputs are provided, such as ? ? ?? outside the spectral locus. The online supplementary
documentation provides a worked example of this reconstruction. <sup>43</sup>
6. Implementing the Chromatic Adaptation Transform
This section outlines how the spectral reconstruction method can be implemented as a CAT, with
Matlab/Octave code snippets included for clarity. It is assumed that the three inputs are the
source and destination illuminant white points, ? ? ????? ? ?
? ??? ? and ? ? ????? ?
? ? ??? ?, and the source-illuminant
referenced color, ? ? ????.
16
1. If the illuminant white points provided are scaled so that ?? =100, divide them by 100 to
conform with the tristimulus value scaling convention (0-1) used throughout this
presentation. Similarly scale ? ? ???? to the 0-1 convention if provided in the 0-100 range.
2. Compute the source and destination illuminant vectors, ???? and ????, from ? ? ????? ? and
? ? ????? ? using the spectral reconstruction code above, replacing input parameter ???? with
the unweighted CMFs ??:
```
Ws=spectral_recon(A, C, XYZwps);
Wd=spectral_recon(A, C, XYZwpd);
```
This will produce illuminants that are properly normalized (scalar product ~~?~~ ? ~~′~~ ⋅?? = 1).
3. Compute illuminant-referenced CMFs ???? = ?????? and ???? = ?????? (overbar indicates a
diagonal matrix created from the specified vector).
```
As=diag(Ws)*A;
Ad=diag(Wd)*A;
```
4. Create the finite-differencing coefficients matrix, ??, as shown in Equation 5. One way to
do this is with the Matlab/Octave statements:
```
C=full(gallery('tridiag',n,-2,4,-2));
C(1,1)=2;
C(n,n)=2;
```
where ?? is the number of rows of matrix ??.
5. The above steps need to be performed only once for a given source/destination illuminant
pair. The remaining steps are done for each corresponding color destination prediction:
Compute a reflectance reconstruction from the source color, ? ? ????:
```
rho=spectral_recon(As, C, XYZs);
```
6. Compute the unadjusted destination color, ? ? ???? = ????′ ??:
```
XYZd=Ad’*rho;
```
7. Adjust ? ? ???? so that it preserves its chromaticity coordinates, (??, ??, while having a ??
value that matches the ?? value of ? ? ????. Call this ? ? ??? ?, which is the predicted ????
referenced destination color forming a corresponding color pair with ????.
```
XYZdp=XYZd*XYZs(2)/XYZd(2);
```
17
7. Symmetry
In some applications, it is desirable that the CAT be symmetric, that is, if a source color is
transformed from illuminant 1 to illuminant 2, and then the destination color obtained is
transformed from illuminant 2 back to illuminant 1, the resulting destination color should match
the original source color. In the CAT, as proposed above, there may be a small mismatch.
This can easily be corrected, however, by a slight modification to the proposed method. We
define a “dual-referenced” CMF as
This dual referenced CMF replaces some instances of ???? in the system of nonlinear equations
and in the corresponding Jacobian matrix
Note that ??? ? is not used in the second set of equations, as these equations must use ???? to
ensure that the reflectance curve has the proper tristimulus values, referenced only to the source
illuminant. Justification of this alteration is lengthy and is available in the online supplementary
documentation. <sup>44</sup>
Changing the Matlab/Octave code presented earlier for this symmetric case is a simple matter of
modifying three lines, as shown in Table 3.
<u>Table 3. Code changes to make the proposed method symmetric.</u>
<u>Line</u> <u>Original Code</u> <u>Symmetric Code</u>
<u>1</u> <u>`function rho=spectral_recon(As,C,XYZ)`</u> <u>`function rho=spectral_recon_sym(As,Asd,C,XYZ)`</u>
<u>12</u> <u>`v=dr*As*lambda;`</u> <u>`v=dr*Asd*lambda;`</u>
<u>14</u> <u>`J=[C+diag(v),dr*As; As'*dr,zeros(3)];`</u> <u>`J=[C+diag(v),dr*Asd; As'*dr,zeros(3)];`</u>
18
The change to the reflectance curve is typically quite small. For example, using illuminant A as
the source and illuminant D65 as the destination, the source color ? ? ???? = (0.2, 0.3, 0.1)
produces the two reflectance curves shown in Figure 9 using the original spectral reconstruction
and the symmetric version.
Figure 9. Reconstructed reflectance curve for original proposed method (black) and symmetric version (red).
The two reflectance curves are virtually identical. However, that small change is sufficient to
ensure symmetry, as demonstrated in Table 4.
Table 4. Comparison of original and symmetric versions. The fourth column is the outcome of the reversed CAT
? ? ?
<u>(D65 to A) applied to the ?</u> ? <u>???65?</u> <u>values of the third column.</u>
<u>Version</u> ? ? ???? <u>CAT A to D65</u>
? ? ?
?
<u>?</u> ? <u>???</u> ?65 <u>?</u> ? <u>???</u> ?
<u>Original</u> <u>(0.2, 0.3, 0.1)</u> <u>(0.1707, 0.3000, 0.2426)</u> <u>(0.2059, 0.3000, 0.1016)</u>
<u>Symmetric</u> <u>(0.2, 0.3, 0.1)</u> <u>(0.1699, 0.3000, 0.2415)</u> <u>(0.2000, 0.3000, 0.1000)</u>
<u>?</u> ? <u>???</u> ?65
? ? ?
<u>CAT D65 to A</u>
? ? ?
The symmetric version also performs virtually the same as the original proposed method when
applied to the corresponding-colors datasets. Table 5 presents color difference values for both
methods and the overall means match to two decimal places.
19
Table 5. Comparison of mean Δ??94∗ color difference for the original proposed
method and the symmetric version.
8. Robustness
The spectral reconstruction used in the proposed method creates reflectance curves that are
strictly positive. As a direct consequence, it is impossible for the proposed CAT to generate a
destination color outside the spectral locus, regardless of the source/destination illuminants and
source color selected.
To demonstrate this robustness, the proposed CAT (specifically, the symmetric version) is
applied to the optimum colors enclosing a ?? =0.3 slice of the object color solid. Equal energy is
used as the source illuminant and a series of destination illuminants with white points located
90% from equal energy to the spectral locus are selected at nine equally spaced angles from
equal energy. Figure 10 demonstrates that in all cases, the destination colors remain inside the
spectral locus.
20
Figure 10. The proposed CAT applied to a ?? =0.3 slice of the object color solid, using equal energy as the source
illuminant (orange) and a variety of destination illuminants that are 90% toward the spectral locus (green).
Compare that to the behavior of CAT16 applied to the same conditions, shown in Figure 11. In
all nine cases, there is a portion of the object color solid that is projected outside the spectral
locus.
21
Figure 11. CAT16 applied to the same conditions of Figure 10.
The possibility of a CAT producing negative tristimulus values can be problematic. As Li et al
point out in Reference 9, negative tristimulus values can be detrimental to many applications,
such as when developing a real surface color gamut as a reference space, or when evaluating
image reproduction devices using that reference space. Brill points out in Reference 10, “if
CIECAM02 has to be used in imaging applications, any color/illuminant combination should be
converted properly and hence some modifications are needed.”
The proposed CAT would solve the problem of invalid destination colors. However, the method
has two main deficiencies in comparison to existing CATs: increased complexity and increased
computational effort. The spectral reconstruction requires solving a series of simultaneous linear
equations, whereas existing CATs require only matrix multiplication. Fortunately, implementing
22
the proposed method does not require writing original software for solving the linear systems.
The field of numerical linear algebra is mature and public domain software utilities are readily
available for solving such systems. <sup>45</sup> These utilities have been available for decades and have
been refined over the years to be efficient and robust. They are reliable building blocks for
numerical applications such as this.
The other obstacle is computational effort. Linear equation solving requires considerably more
computation than simple matrix multiplication, which is all that current CATs require. Based on
timed trials of 140,000 cases comparing the execution times of the spectral reconstruction to
simple matrix multiplication, the author estimates that a 2-3 order of magnitude increase in
computational effort is required (for the case of ??=36). This is a substantial increase, but if
robustness of the CAT is of paramount importance, this increase may be justifiable.
9. Degree of Adaptation
Existing CATs implement a parameter, ??, to address partial adaptation. It is set between 1 and 0
according to the viewing conditions. The diagonal matrix of von Kries coefficients, Λ,
comprising ratios of destination to source illuminant white points, is then parametrically shifted
toward the identity matrix as ?? approaches zero:
A similar linear parametric treatment could be applied to the proposed method by adjusting the
destination illuminant toward the source illuminant using ??:
As ?? approaches zero, the source and destination illuminants become the same and the
destination color equals the source color, just as with the ?? = 0 case in existing CATs.
The author has not investigated how this partial adaptation treatment compares to the standard
treatment. It is a suggested topic for future investigation.
23
10. Conclusions
A proposed CAT has been presented that is based on a spectral reconstruction algorithm,
specifically, one that computes the unique spectral distribution within a metameric suite that has
minimum slope squared in log space. The reflectance curves thus generated tend to show good
similarity to reflectance curves of many object colors found in nature, specifically, commercial
paints and natural pigments. The proposed CAT simply computes the effect that changing the
illuminant has on tristimulus values computed from the reflectances, using standard CMF
calculations. While this approach appears to ignore the phenomenon of adaptation, focusing
instead on techniques more closely related to color constancy, the corresponding-color pairs it
generates match the empirical corresponding-color datasets as well as or better than existing
CATs. The proposed CAT does not use the empirical corresponding-color datasets to “tune”
performance like the most recent CATs do.
It was also demonstrated that existing CATs can produce defective results for certain illuminants
and source color combinations, whereas the proposed CAT is completely immune to such
deficiencies. The price to be paid for this increased robustness is an increase in complexity and
computational effort. The additional computation required is quite significant. However, if
robustness of the CAT is of primary importance, such as with certain imaging applications, then
this increase may be justifiable.
References
1. Fairchild MD. Color appearance models. 3rd Edition, Chichester, UK: Wiley; 2013.
2. Luo MR, Li CJ. CIE color appearance models and associated color spaces. In: Schanda J, ed.
Colorimetry: Understanding the CIE system. Chapter 11. Wiley, Hoboken, New Jersey,
USA; 2007.
3. Hunt RWG, Li C, Luo MR. Chromatic adaptation transforms. Color Res Appl.
2005;30(1):69-71.
24
4. Kries V. Chromatic adaptation. Festschrift der Albrecht-Ludwig-Universitat (Fribourg);
1902. [Translation: MacAdam DL. Sources of color science. MIT Press, Cambridge, Mass;
1970]
5. Luo MR, Rhodes PA. Corresponding-colour data sets. Color Res Appl. 1999;24(4):295-296.
6. Table II: The data file names and number of samples in each experimental data set.
https://web.archive.org/web/20040225194527/http://colour.derby.ac.uk/colour/info/catweb/ta
ble2.html . Accessed February 26, 2019.
7. Brill MH. Irregularity in CIECAM02 and its avoidance. Color Res Appl. 2006;31(2):142
145.
8. Brill MH, Susstrunk S. Repairing gamut problems in CIECAM02: a progress report. Color
Res Appl. 2008;33(5):424-426.
9. Li C, Perales E, Luo MR, Martinez-Verdu F. Mathematical approach for predicting non
negative tristimulus values using the CAT02 chromatic adaptation transform. Color Res
Appl. 2012;37(4):255-260.
10. Brill MH, Mahy M. Visualization of mathematical inconsistencies in CIECAM02. Color Res
Appl. 2013;38(3):188-195.
11. Li C, Ji C, Luo R, Melgosa M, Brill MH. CAT02 and HPE triangles. Color Res Appl.
2015;40(1):30-39.
12. Li C, Li Z, Wang Z, et al. A revision of CIECAM02 and its CAT and UCS. in Proceedings of
the 24th Color and Imaging Conference, Society for Imaging Science and Technology.
2016:208–212.
13. Li C, Li Z, Wang Z, et al. Comprehensive color solutions: CAM16, CAT16, and CAM16
UCS. Color Res Appl. 2017;42:703-718.
14. CIE Publ. 160. A review of chromatic adaptation transforms. Vienna: CIE Central Bureau;
2004.
15. CIE Publ. 159. A colour appearance model for colour management systems: CIECAM02.
Vienna: CIE Central Bureau; 2004.
16. Supplementary Documentation. http://scottburns.us/supplementary-documentation/#Sec2a .
Accessed February 26, 2019.
17. Hunt RWG. Revised colour-appearance model for related and unrelated colours. Color Res
Appl. 1991;16(3):146-165.
25
18. Nayatani Y, Hashimoto K, Takahama K, Sobagaki H. A nonlinear color-appearance model
using Estevez-Hunt-Pointer primaries. Color Res Appl. 1987;12(5):231-242.
19. Estevez O. On the fundamental data-base of normal and dichromatic color vision. Ph. D.
Thesis. University of Amsterdam, Krips Repro Meppel, Amsterdam; 1979.
20. Wyszecki G, Stiles WS. Color science, concepts and methods, quantitative data and
formulae. 2 <sup>nd</sup> Ed. New York, NY: John Wiley & Sons; 1982:179-183.
21. Supplementary Documentation. http://scottburns.us/supplementary-documentation/#Sec4 .
Accessed February 26, 2019.
22. Burns SA. Generating reflectance curves from sRGB triplets. http://scottburns.us/reflectance
curves-from-srgb/ . Accessed February 26, 2019.
23. Trigt CV. Smoothest reflectance functions. I. Definition and main results. J Opt Soc Am A.
1990;7(10):1891-1904.
24. Trigt CV. Smoothest reflectance functions. II. Complete results. J Opt Soc Am A.
1990;7(12):2208-2222.
25. Hawkyard CJ. Synthetic reflectance curves by subtractive colour mixing. J Soc Dyers
Colourists. 1993;109:246-251.
26. Hawkyard CJ. Synthetic reflectance curves by additive mixing. J Soc Dyers Colourists.
1993;109:323-329.
27. Smits B. An RGB-to-spectrum conversion for reflectances. J Graphics Tools. 1999;4(4):11
22.
28. Dupont D. Study of the reconstruction of reflectance curves based on tristimulus values:
comparison of methods of optimization. Color Res Appl. 2002;27(2):88-99.
29. Wang G, Li C, Luo MR. Improving the Hawkyard method for generating reflectance
functions. Color Res Appl. 2005;30(4):283-287.
30. Attarchi N, Amirshahi SH. Reconstruction of reflectance data by modification of Berns’
Gaussian method. Color Res Appl. 2009;34(1):26-32.
31. Abed FM, Amirshahi SH, Abed MRM. Reconstruction of reflectance data using an
interpolation technique. J Opt Soc Am. 2009;26(3):613-624.
32. Bianco S. Reflectance spectra recovery from tristimulus values by adaptive estimation with
metameric shape correction. J Opt Soc Am. 2010;27(8):1868-1877.
26
33. Amirshahi SH, Amerhahi SA. Adaptive non-negative bases for reconstruction of spectral
data from colorimetric information. Opt Rev. 2010;17(6):562-569.
34. Babaei V, Amirshahi SH, Agahian F. Using weighted pseudo-inverse method for
reconstruction of reflectance spectra and analyzing the dataset in terms of normality. Color
Res Appl. 2011;36(4):295-305.
35. Kim BG, Han J, Park S. Spectral reflectivity recovery from the tristimulus values using a
hybrid method. J Opt Soc Am A. 2012;29(12):2612-2621.
36. Kim BG, Werner JS, Siminovitch M, Papamichael K, Han J, Park S. Spectral reflectivity
recovery from tristimulus values using 3D extrapolation with 3D interpolation. J Opt Soc
Korea. 2014;18(5):507-516.
37. Amiri MM, Amirshahi SH. A hybrid of weighted regression and linear models for extraction
of reflectance spectra from CIEXYZ tristimulus values. Opt Rev. 2014;21(6):816-825.
38. Amiri MM, Amirshahi SH. A step by step recovery of spectral data from colorimetric
information. J Opt. 2015;44(4):373-383.
39. Inoue K, Hara K, Urahama K. Reflectance spectra recovery with non-negativity constraints.
2016 International Symposium on Intelligent Signal Processing and Communication Systems
(ISPACS), Phuket. 2016:1-6.
40. Cao B, Liao N, Li Y, Cheng H. Improving reflectance reconstruction from tristimulus values
by adaptively combining colorimetric and reflectance similarities. Opt Eng. 2017;56(5).
41. Otsu H, Yamamoto M, Hachisuka T. Reproducing spectral reflectances from tristimulus
colours. Comp Graphics Forum. 2018;37(6):370-381.
42. GNU Octave scientific programming language. https://www.gnu.org/software/octave/ .
Accessed February 26, 2019.
43. Supplementary Documentation. http://scottburns.us/supplementary-documentation/#Sec5 .
Accessed February 26, 2019.
44. Supplementary Documentation. http://scottburns.us/supplementary-documentation/#Sec7 .
Accessed February 26, 2019
45. Comparison of Linear Algebra Libraries.
https://en.wikipedia.org/wiki/Comparison_of_linear_algebra_libraries . Accessed February
26, 2019.
27
섹션 본문
섹션 본문이 없습니다.
참고문헌 34건
- Color Appearance Models 2013 10.1002/9781118653128
- CIE Color Appearance Models and Associated Color Spaces 2007 10.1002/9780470175637.ch11
- Chromatic adaptation transforms Color Research & Application · Wiley · 2004 10.1002/col.20085
- Corresponding-colour datasets Color Research & Application · Wiley · 1999 10.1002/(sici)1520-6378(199908)24:4<295::aid-col10>3.0.co;2-k
- Irregularity in CIECAM02 and its avoidance Color Research & Application · Wiley · 2006 10.1002/col.20193
- Repairing gamut problems in CIECAM02: A progress report Color Research & Application · Wiley · 2008 10.1002/col.20432
- Mathematical approach for predicting non‐negative tristimulus values using the CAT02 chromatic adaptation transform Color Research & Application · Wiley · 2011 10.1002/col.20694
- Visualization of mathematical inconsistencies in CIECAM02 Color Research & Application · Wiley · 2012 10.1002/col.20744
- CAT02 and HPE triangles Color Research & Application · Wiley · 2013 10.1002/col.21859
- A Revision of CIECAM02 and its CAT and UCS Color and Imaging Conference · Society for Imaging Science & Technology · 2016 10.2352/issn.2169-2629.2017.32.208
- Comprehensive color solutions: CAM16, CAT16, and CAM16‐UCS Color Research & Application · Wiley · 2017 10.1002/col.22131
- Colors of Maximal Saturation Optometry and Vision Science · Lippincott Williams & Wilkins · 1995 10.1097/00006324-199508000-00001
- Revised colour‐appearance model for related and unrelated colours Color Research & Application · Wiley · 1991 10.1002/col.5080160306
- Smoothest reflectance functions I Definition and main results Journal of the Optical Society of America A · Optica Publishing Group · 1990 10.1364/josaa.7.001891
- Smoothest reflectance functions II Complete results Journal of the Optical Society of America A · Optica Publishing Group · 1990 10.1364/josaa.7.002208
- Synthetic reflectance curves by subtractive colour mixing Journal of the Society of Dyers and Colourists · Wiley · 1993 10.1111/j.1478-4408.1993.tb01568.x
- Synthetic reflectance curves by additive mixing Journal of the Society of Dyers and Colourists · Wiley · 1993 10.1111/j.1478-4408.1993.tb01507.x
- An RGB-to-Spectrum Conversion for Reflectances Journal of Graphics Tools · Taylor & Francis · 1999 10.1080/10867651.1999.10487511
- Study of the reconstruction of reflectance curves based on tristimulus values: Comparison of methods of optimization Color Research & Application · Wiley · 2002 10.1002/col.10031
- Improving the Hawkyard method for generating reflectance functions Color Research & Application · Wiley · 2005 10.1002/col.20126
- Reconstruction of reflectance data by modification of Berns' Gaussian method Color Research & Application · Wiley · 2008 10.1002/col.20458
- Reconstruction of reflectance data using an interpolation technique Journal of the Optical Society of America A · Optica Publishing Group · 2009 10.1364/josaa.26.000613
- Reflectance spectra recovery from tristimulus values by adaptive estimation with metameric shape correction Journal of the Optical Society of America A · Optica Publishing Group · 2010 10.1364/josaa.27.001868
- Adaptive non-negative bases for reconstruction of spectral data from colorimetric information Optical Review · Springer Science+Business Media · 2010 10.1007/s10043-010-0101-9
- Using weighted pseudo‐inverse method for reconstruction of reflectance spectra and analyzing the dataset in terms of normality Color Research & Application · Wiley · 2010 10.1002/col.20613
- Spectral reflectivity recovery from the tristimulus values using a hybrid method Journal of the Optical Society of America A · Optica Publishing Group · 2012 10.1364/josaa.29.002612
- Spectral Reflectivity Recovery from Tristimulus Values Using 3D Extrapolation with 3D Interpolation Journal of the Optical Society of Korea · Optical Society of Korea · 2014 10.3807/josk.2014.18.5.507
- A hybrid of weighted regression and linear models for extraction of reflectance spectra from CIEXYZ tristimulus values Optical Review · Springer Science+Business Media · 2014 10.1007/s10043-014-0134-6
- A step by step recovery of spectral data from colorimetric information Journal of Optics · Springer Nature · 2015 10.1007/s12596-015-0299-9
- Reflectance spectra recovery with non-negativity constraints 2021 International Symposium on Intelligent Signal Processing and Communication Systems (ISPACS) · 2016 10.1109/ispacs.2016.7824687
- Improving reflectance reconstruction from tristimulus values by adaptively combining colorimetric and reflectance similarities Optical Engineering · SPIE · 2017 10.1117/1.oe.56.5.053104
- Reproducing Spectral Reflectances From Tristimulus Colours Computer Graphics Forum · Wiley · 2018 10.1111/cgf.13332
- Spectral adaptation Color Research & Application · Wiley · 2007 10.1002/col.20293
- Spectral Adaptation: A Reason to Use the Wavenumber Scale Color and Imaging Conference · Society for Imaging Science & Technology · 2006 10.2352/cic.2006.14.1.art00058