颜色偏移 / 彩虹指数
How much does the reflected colour change with viewing angle?
通过 CIE 色度学,量化人眼观察者所感知的多层叠层随角度的颜色偏移("彩虹")。
How it works
Reflected spectra from thin films depend on the optical path length through each layer, which lengthens with increasing angle of incidence. Integrating the angle-dependent reflectance against a reference illuminant gives the reflected colour; the perceptual shift between two angles is quantified by the CIE ΔE* colour-difference metric in a uniform colour space such as CIELAB.
Worked example
CIEDE2000 Sharma pair 1
Inputs: lab1 = {"L":50,"a":2.6772,"b":-79.7751}, lab2 = {"L":50,"a":0,"b":-82.7485}
Result: 2.042 ΔE₀₀
Reference: Sharma, Wu & Dalal 2005 Color Res. Appl. 30, 21
Computed by this tool's kernel at build (commit dae6663).
Validation method, references and test-case results: /validation#colour-shift