Abstract
Color is one of the most important appearance properties of objects. To digitize color, measuring and calculating tristimulus values are the most basic work besides obtaining reflectance spectrum. However, the accuracy of tristimulus values varies with instruments, measuring, and calculation methods. Textiles and some other application of color demand high color quality due to their special utilization. The series of our studies aim to analyze and evaluate some mathematical solutions in order to improve the accuracy of tristimulus values. The studies include two parts: (1) Part I concentrates on measurement bandpass and intervals and their corresponding improvement algorithms, (2) Part II focuses on the influence of measurement ranges and their truncation errors and some algorithms to overcome the truncation errors. In Part I (current article), measurement errors caused by bandpass and test intervals in the spectrophotometer are analyzed. Then, algorithms including two bandpass corrections (3-point correction and 5-point correction), three interpolations (third-order polynomial interpolation Lagrange and Spline, a fifth-order polynomial interpolation Sprague), two Oleari deconvolution methods (zero- and second-order), and three optimization weighting table methods (ASTM Table 6, Table LLR, and Table LWL) are studied systemically by programming MATLAB software and basing on measuring the spectral reflectance of 1301 chips in Munsell Color Book with Commission Internationale de L’Eclairage (CIE) 1964 color-matching functions and D65 standard illuminant. The results show that all algorithms mentioned above yield very positive effects, and among them, Table LWL performs best with reducing the bandpass error and intervals error to 7‰ of its original error and is recommended.
Keywords
Introduction
Tristimulus values (TSVs) are the basic parameters describing color quantitatively; they can be transformed to other colorimetric parameters used in color management and color communication. Commission Internationale de L’Eclairage (CIE) TSVs of a color are the qualities of three primary colors needed to match the color, defined as integrals over the spectral range 360–830 nm as shown in equation (1) by CIE 1
where X, Y, and Z are the CIE TSVs and will be presented by V or XYZ in this article; R(λ) is the spectral reflectance; S(λ) is the relative spectral distribution of illuminant;
Since the integrands in equation (1) have no analytical equivalent expressions, CIE published a standard method for computing these integrals, that is to calculate the numerical summation from 360 to 830 nm at wavelength intervals Δλ = 1 nm as shown in equation (2), where the R(λ) should be measured using a symmetrical triangular or trapezoidal bandpass with half-wave width equal to 1 nm1
In practical application, many spectrophotometers for color measuring (spectrocolorimeter) can only measure the spectral reflectance in narrower band like 360–750 nm or 400–700 nm and with larger intervals like 10 nm or even 20 nm. If we use these data to calculate the TSVs, it will yield a calculation error since the data do not meet CIE’s requirement of 360-830 nm and 1-nm intervals. This error will further mislead the subsequent computation and comparison of colorimetric parameters. The ideal solution to keep accuracy is of course to improve the performance of spectrophotometers. However, the solution will need to change some key optical hardwares and increase the cost greatly; what is more, it still cannot solve the current problem of the existing spectrophotometers widely used in factories and laboratories.
At present, the inconsistent calculation methods caused by the measurement range and intervals lead to a discrepancy of TSVs of the same sample when calculating with different intervals, ranges, or algorithms. Therefore, it is necessary to develop a calculation method for accurate TSVs; then, it can be properly used in color communication and management, such as color reproduction, color quality control, color difference evaluation, metamerism, and computer color matching, color duplication, and so on, so as to reduce the error and avoid needless and excessive operations caused by error. This investigation focuses on the algorithms to improve the accuracy of TSVs by reducing the errors caused by larger measurement intervals and narrower band range. Part I (current article) is about measurement intervals and Part II (forthcoming article) is on measurement ranges.
When measurement intervals are greater than 1 nm, there will be another joint problem of bandpass. To solve the problem of measurement intervals and bandwidth being greater than 1 nm, experts proposed many algorithms to improve the accuracy. Among these methods, the mainly recognized are the following: SS bandpass correction method, 2 Fairman correction method,3,4 interpolation methods,5,6 Oleari methods, 7 American Society of Testing Materials (ASTM) tables, 8 Table Li-Luo-Rigg (LLR), 9 Table Li-Wang-Luo (LWL), 10 and so on. In this article, these methods are employed and compared by programming MATLAB software and statistical analysis in order to obtain the best solution.
Measurement errors of spectrophotometer
The deviation between the value measured by the instrument and the true/standard value is the measurement error of the instrument. For convenient expression, the measurement errors of normal spectrophotometers are divided into three categories: measurement bandpass error, measurement intervals error, and measurement range error. The errors of measurement intervals and range are easy to be understood; hence, the bandpass error is further explained only.
Because of the performance of the monochromator in the spectrophotometer, when measuring the reflectance at a specific wavelength
Assume the relative strength of the light at wavelength
where,
Many spectrophotometers have the bandpass function with a symmetrical triangular shape, as shown in Figure 1. Then

The spectral bandpass function. 10
All spectral data measured from the spectrophotometer have a certain bandwidth. If it is not processed mathematically, the calculated TSVs will be in error. The measurement intervals should be equal to the bandwidth in order to keep the result more accuracy.12,13 And the error caused by bandwidth is usually much larger than that caused by the measurement intervals on the order of magnitude. 1
As a result of the presence of bandwidth, the measured
Methods for higher accuracy of TSVs
In view of the status of the existing and commonly used 10-nm interval instruments at present, we seek to make up the deficiencies of the instruments through mathematical methods so as to improve the accuracy of the TSVs.
Reduce bandpass error by bandpass corrections
CIE points that 1 the bandwidth of the instruments which is used to yield the spectral reflectance for TSVs computation should be 5 nm or less, otherwise the bandwidth should be corrected by available methods. The mainly used bandpass correction methods are SS method proposed by Stearns & Stearns 2 and the Fairman method 4 recommended by ASTM. 3
Stearns & Stearns realized that the measured reflectance Rm,λ was a function of the true spectral reflectance Rs,λ within the bandpass. The measurement bandpass would be designated by the reflectance at wavelength λ0, the next-previous λ−1, and the next-higher bandpass λ1
They assumed that the true spectral reflectance Rs was a quadratic passing through the three adjacent points (λi−1, Rs,−1), (λi, Rs,0), and (λi+1, Rs,1); this quadratic could be presented as equation (7)
The relationship between Rm,λ (have the same means with
This equation can be solved for Rs,0
Now, the right-hand side of this equation is in terms of both measured and true spectral reflectance. Then, Stearns & Stearns used the approximation theory, substituting the measured reflectance (known) into this equation for the true reflectance (unknown), thus leading to equation (10)
So, the final form of SS correction method is shown in equation (11)
where
The Fairman correction method has the same principle with SS correction, and this time assume the quadratic passing through five adjacent points. The Fairman correction method can be found in equations (12)–(14). The first point and the last point of the reflectance use equation (12), the second point and the second last point use equation (13), and the middle points use equation (14)
Reduce measurement intervals error
The simplest and most primitive method for calculating the TSVs is the direct selection method, that is, according to the intervals of the measured reflectance, the weighting coefficients at corresponding wavelength are extracted from the weighting table of 1 nm given by CIE. This calculation method exists both the bandpass error and the intervals error, and the errors are large and increase significantly with the increase of wavelength intervals.
For spectral reflectance with greater measurement intervals than 1 nm, there are three types of methods to improve the accuracy of TSVs computing. One is the interpolation method, the second is the Oleari method, and the third is the optimization weighting table method.
Interpolation methods
The interpolation method is to insert data to make the bandpass-corrected reflectance into 1-nm-interval in order to content with the CIE’s demand of 1-nm intervals for decreasing the intervals error. Before interpolation, the measured
In regard to the interpolation methods, CIE15:2004 5 recommends third-order polynomial interpolation (Lagrange), cubic Spline interpolation, and a fifth-order Sprague interpolation. CIE167:2005 6 recommends that empirical data should be interpolated by a fifth-order Sprague equation when the independent variable is tabulated at uniform intervals, and by a cubic Spline method when the intervals are not uniform. The Table 5 in ASTM E308-15 8 uses the Lagrange interpolation method. 14
This article combines the bandpass correction with the third-order (Lagrange, Spline) and the fifth-order (Sprague) polynomial interpolation to calculate and make intercomparison.
Oleari methods
Oleari methods were proposed by Oleari 7 in 2000 and simplified by Prof. Li et al. 15 by providing weighting tables in 2011. Oleari proposed to use a deconvolution method to determine the reflectance of an object at 1-nm intervals, which is similar to the interpolation method, that is, the reflectance of the larger intervals is deconvolved to that of 1-nm intervals by local-power expansion. While Oleari 7 did not compute the weighting table, thus, the original method is not convenient to use for calculating TSVs repeatedly for different objects. Li et al. 15 derived weighting tables of zero-order and second-order forms according to Oleari’s work. The zero-order weighting tables (OWT0) should be used with the bandpass-corrected reflectance, while the second-order weighting table (OWT2) can be adopted with the measured reflectance directly.
Optimization weighting table methods
Optimization weighting table methods take into account the influence of bandpass and intervals simultaneously to produce weighting tables with different intervals, different illuminants, and different observers. When calculating TSVs with the help of optimization weighting table, there is no need to conduct bandpass correction and interpolation, just using the weight coefficient W in the optimized weighting table to replace
The optimization method
16
generates weighting tables by minimizing the difference between the calculated TSV V′ and the CIE standard TSV V. V′ is calculated by the 10-nm or 20-nm interval reflectance with the corresponding bandwidth. The process is shown in equation (15). This method does not process the reflectance
The main optimization methods are weighting table Table 6 suggested by ASTM E308-15, 8 the optimum weighting table Table LLR, 9 and the least-squares method optimized table Table LWL 10 proposed by Li et al. in 2004 and 2016 separately.
ASTM Table 6 (Table 6) carries out the optimization weighting table by the iterative method. At present, ASTM provides 36 weighting tables in 360-780 nm range at 10- and 20-nm intervals under illuminates of A, C, D, and F. Since there is no relative paper publish the detail of its algorithm, the specific processing method has been lost. 10 Therefore, this method can only be used for the given illuminates and observers.
Table LLR and Table LWL provide simple ways to generate weighing tables according to equation (15); hence, it is easy to derive other tables for any intervals, any ranges, any illuminants, and any observers.
Comparing the above three methods, the interpolation method and the Oleari OWT0 are only considering wavelength intervals, so they should be used with the bandpass-corrected
Experimental
Selection of samples
1301 chips from the Munsell Color Book (Matt version) were selected as the color samples in this study. These 1301 samples give a good coverage of Hue, Value, and Chroma in color space. Figure 2 shows them in chromatic coordinates, and Figure 3 gives a picture of color chips in the Munsell Color Book with H = 5YR.

Chromatic coordinates (a) (a*, b*) and (b) (C*, L*) of the 1301 chips from the Munsell Color Book.

A picture of Hue 5YR in the Munsell Color Book. 17
Measurement of samples
The 1301 color chips were measured to obtain their reflectance spectrum by utilizing a Cary 5000 UV-VIS-NIR spectrophotometer over the range of 360–830 nm at 1-nm-interval with 1-nm bandwidth at room temperature. The diffuse reflectance accessory this instrument used is internal DRA 2500.
Selection of basic parameters
Standard illuminant D65 recommended by CIE and used most widely for textiles are selected, and its relative spectral power distribution S(λ) data in the range of 360–830 nm are available at 1-nm intervals. 18 Their S(λ)10 at 10-nm intervals are extracted from the standard 1-nm S(λ) correspondingly.
CIE 1964 standard observer (10 degree) widely accepted in industrial practice is employed, and the color-matching functions
Evaluation methods
The standard TSVs are computed by the standard algorithm recommended by CIE, and the TSVs obtained by other kinds of algorithms are taken as the test. This article compares the color difference between the standard’s and the test’s TSVs in order to evaluate the accuracy of the various methods.
With respect to the color difference formulas, in 1976, CIE officially recommended the CIELAB color difference formula; 20 since it is not as uniform as expected, a series of improved formulas have been proposed basing on CIELAB. Among them, CMC(l:c) is mostly used in textile and CIEDE200021,22 is the latest CIE standard. Both CMC(l:c) and CIEDE2000(2:1:1) are small color difference formulas for calculating the difference of 0–5 CIELAB units, 5 which coincide with the color differences obtained by various algorithms in this study. Therefore, besides CIELAB, CMC(2:1) and CIEDE2000(2:1:1) are also utilized in this article. The coefficients in CMC(2:1) and CIEDE2000(2:1:1) formulas are set as 2:1 and 2:1:1 which are used in textiles for acceptable evaluation.23,24 The smaller the color difference, the better the accuracy of the method. For each method, total 3903(1301 samples × 3 color difference formulas) color difference values are calculated.
In the following part, Average represents the arithmetic mean. Median, means half of the total values are less (or greater) than. 80 percentile, means 80 percent of the total values are less than, so does the 95 percentile. Numbers in parentheses are the ranks for each statistical measure, which are summed in the last column. The statistics are based on an analysis of color differences. The smaller the rank sum is, the better the method performs.
Calculation, results, and discussion
All calculations in this article are sketched in Figure 4.

Flowchart of calculation process for improving the accuracy of TSVs.
Calculation of standard TSVs
Use the 1-nm interval’s S(λ),
Calculation of reflectance with bandpass in 10-nm intervals
During the reflectance measurement, the precision of the instrument is determined by the random error.
25
Reflectance measured twice also shows difference even operated at the same position of the same sample. Hence, in practice, the instrument cannot output 1-nm interval data with 1-nm bandwidth as well as ∆λ nm intervals data with ∆λ nm bandwidth without an error. Besides, early research12,13 showed that the measurement intervals should equal to the bandwidth in order to keep the result more accuracy. Therefore, in this article, equation (3) is used to generate the ideal 10-nm interval reflectance
Bandpass corrections
In order to compare the effects of the bandpass correction methods, the direct selection method (no bandpass correction), SS correction, and Fairman correction are calculated separately.
Step 1: Use the method in section “Calculation of reflectance with bandpass in 10-nm intervals” to generate the ideal 10-nm intervals
Step 2: Apply the SS bandpass correction method to 10-nm intervals
Step 3: Employ the Fairman bandpass correction method to 10-nm intervals
Step 4: Set XYZstd calculated in section “Calculation of standard TSVs” as the standard and compute the color differences between XYZstd and XYZ_non, XYZ_SS, and XYZ_F in steps 1, 2, and 3.
Utilize MATLAB software to conduct programming, calculations, and statistical analysis. The results of two bandpass corrections and uncorrected data are listed in Table 1.
Color differences of non-correction and bandpass correction methods with standard method (numbers in parentheses are the ranks for each statistical measure).
From Table 1, it is clear that bandpass correction methods have an obvious positive effect to reduce the color difference and increase the accuracy. The Fairman 5-point correction is just a little better than the SS 3-point correction. The color differences of the Fairman correction (median: 0.0334, 0.0276, 0.0223) is about 44% of the uncorrected processing (median: 0.0907, 0.0633, 0.0559).
Interpolation methods
Step 1: Apply the three interpolation methods (Lagrange, Spline, and Sprague) to make the 10-nm
Step 2: Apply the three interpolation methods (Lagrange, Spline, and Sprague) to make the 10-nm
Step 3: Calculate color differences of the TSVs in step 1 and 2 with the standard XYZstd.
The results are exhibited in Table 2 and will be analyzed with the Oleari methods together.
Color differences of three interpolation methods and Oleari methods under two bandpass correction methods.
OWT0: Oleari zero-order weighting table; OWT2: Oleari second-order weighting table.
Oleari methods
Step 1: Calculate the Table OWT0 and OWT2 with illuminant D65 and 1964 observer according to the algorithm proposed by Oleari 7 and Li et al. 15
Step 2: Calculate XYZss_OWT0, XYZF_OWT0 with the bandpass-corrected
Step 3: Calculate color differences of the TSVs XYZss_OWT0, XYZF_OWT0, and XYZ_OWT2 in step 2 with the standard XYZstd. The results are displayed in Table 2.
According to Table 2, at uniform 10-nm intervals, among the two bandpass correction methods combined with the three interpolation methods and Oleari methods, the rank is SS_Spline = F_Sprague > SS_Sprague > F_Spline > SS_OWT0 > F_Lagrange > SS_Lagrange > F_OWT0 > OWT2. The result in Table 1 shows that Fairman is a little better than SS correction, but the effect of Fairman and SS cannot be separately judged in Table 2. This may indicate that bandpass correction and interpolation show a combined effect, so SS correction plus Spline interpolation and Fairman correction plus Sprague interpolation perform the same, better than the others. Their color differences (median: 0.0028/0.0030, 0.0021/0.0021, 0.0017/0.0018) are less than 3% of the uncorrected uninterpolated method (median: 0.0907, 0.0633, 0.0559), improving the accuracy of TSVs greatly.
Optimization weighting table methods
Step 1: Find ASTM E308 Table 6 with the condition of D65 and CIE 1964 observers and compute XYZT6 with the 10-nm
Step 2: Apply the method introduced in the literature of Li et al. to derive Table LLR and Table LWL and calculate XYZLLR and XYZLWL with the 10-nm
Step 3: Calculate the color differences of the above TSVs XYZT6, XYZLLR, and XYZLWL with the standard XYZstd.
ASTM gives Table 6 only in the range of 360–780 nm. In order to make comparison under the same condition, Table LLR and Table LWL are also utilized in the same range.
From Table 3, we can see that Table LWL is significantly better than Table 6 and Table LLR. Comparing the data in Tables 2 and 3, Table LWL still yields the best improvement on accuracy with color difference (median: 0.0007, 0.0005, 0.0004) approximate zero and only 7‰ of uncorrected and uninterpolated data (median: 0.0907, 0.0633, 0.0559).
Color differences of different optimization weighting table methods.
Discussions
This article studies 14 algorithms of five types to improve the computation accuracy of CIE TSVs measured by the spectrophotometer, and they are summarized in Table 4.
14 algorithms in five types studied in this article.
Among the five types of methods, M4 and M5 can provide a weighting table at any intervals, any illuminants, and any colorimetric observers. So, the TSVs can be directly computed with the measured reflectance values. M1, M2, and M3 are a little bit more complicated because they had to deal with reflectance.
To make comparison, all the methods with their median color differences are drawn into Figure 5. From Figure 5 and Tables 1–3, the following results are concluded:
All the 14 algorithms yield very positive effects.
For the bandpass correction methods in M1, the Fairman correction is better than SS correction, and its median color difference is 44% of the unsolved data.
For the interpolation and Oleari methods in M2, M3, and M4, Spline interpolation based on SS bandpass correction is the best; its median color difference is about 3% of the unsolved data. Sprague interpolation under Fairman bandpass correction yield very close result to it.
For the optimization method in M5, Table LWL has the highest accuracy, and the median color difference drops to only 7‰ of unsolved data.

Median color differences of different algorithms (10-nm intervals).
Among all the 14 algorithms above, the top 6 algorithms in view of improving accuracy are the following: Table LWL > Table LLR > SS_Spline > F_Sprague > SS_Sprague > Table 6. Further compare on the top six preferable methods, the calculation of the SS_Spline, F_Sprague, and SS_Sprague method is not as convenient as the weighting table. The accuracy of Table 6 method is not bad, and this method is recommended by ASTM and adopted by some spectrophotometers. However, due to the loss of the calculation method and only weighting tables under certain conditions are provided, Table 6 method lacks expansibility. From the results of this study, Table LWL algorithm is undoubtedly the best choice in solving the bandpass and 10-nm wavelength intervals error under D65 illuminant.
Conclusion
TSVs are basic parameters to calculate colorimetric parameters. At present, when measuring the same color sample by different spectrophotometers, one gets different TSVs because of both measurement error and calculation error; this may confuse the users. So, a unified and high-precision method to calculate TSVs is demanded to reduce the errors when used in color management and communication. By analyzing the errors caused by spectrophotometers, this article focuses on overcoming the shortage of measurement bandpass and intervals. For the normal spectral reflectance data which do not comply with CIE’s recommendation of 1-nm intervals, 14 algorithms in five types were investigated to improve the accuracy of CIE TSVs, including bandpass correction, bandpass correction plus interpolation, bandpass correction plus Oleari OWT0, Oleari OWT2, and optimization weighting table.
Through a systematic comparison of 14 algorithms, the top 6 algorithms in view of improving accuracy are the following: Table LWL > Table LLR > SS_Spline > F_Sprague > SS_Sprague > Table 6. From the respect of convenience, the three Table algorithms are superior to interpolation method. Table LWL and Table LLR also have wider applicability and expansibility than Table 6, since algorithm for achieving Table 6 has lost.
Integrate consideration from convenience and accuracy, Table LWL algorithm is undoubtedly the best choice, which reduces the color difference to only 7‰ of the untreated data. It means that Table LWL method provides a wonderful solution for the users, and they do not need to buy a new spectrophotometer or change firmware in order to get 1-nm interval’s reflectance for accurate TSVs, and instrument with 10-nm intervals can be directly used with the Table LWL method to replace the original algorithm to obtain a better precision.
All the above results are discussed under the condition of D65 illuminant, CIE 1964 standard colorimetric observer, and 10-nm uniform measurement intervals. For other illuminants, other observer, other intervals, or even for fluorescence samples, further tests can be conducted.
Footnotes
Declaration of conflicting interests
The author(s) declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.
Funding
The author(s) received no financial support for the research, authorship, and/or publication of this article.
