CRI_Workflow
# 工作表:Tabelle1 all spectra 360 .. 830 in 1 nm Index _k for lamp to be tested, _r for reference 5.2 Reference illuminant: = 5000 K | CIE D interpolate linearly to 1 nm Names! 5.5 Compute XYZ 1931 for lamp and ref for all samples, to four decimal places, I use full double 5.6 Transform to 1960 uv 5.7 Adaptive color shift for lamp: Formula 5.3 NB: u'_(k,i) and v'_(k,i) are uv 1960 coordinates, not u'v' 1976 using c and d from eq. 5.4: 5.8 Transform to 1964 U*V*W* Eq. 5.5 Y_(r,i) and Y_(k,i) to be normalized such that Y_r = Y_k = 100 Y_r = CIE 1931 tristimulus value from 100% white for reference same for Y_k for lamp spectrum Indeed, when applying formula 5.3 to uv = uv_k, instead of uv = uv_ki for some sample, then uv_prime_k =uv_r. The uv_ki (color of sample under test lamp) relates to uv_k (test lamp white) just like uv_prime_ki (the shifted sample color) to uv_r (reference lamp white) 5.9 Compute Delta U*V*W* color shifts as euclidean distance 6.2 Compute R_i 6.3 Compute R_a