Adaptation is the process of change by which an organism becomes better suited to its environment.
In the context of colour science, it is defined as the process by which the state of the visual system is modified by previous and present exposure to stimuli that may have various luminance values, spectral distributions and angular subtenses. [1]
The three essential types of adaptation for human vision are:
Dark adaptation happens when the luminance level decreases and as the result of the lack of illumination, the observer visual system adapts to the stimulus and the visual sensitivity increases.
When entering a dark area, initially, the cone cells sensitivity increases to reach full adaptation after around 10 minutes, then the rod cells sensitivity outperforms the cones and reach complete adaptation after 30 minutes. [2] [3] [4]
A notable effect of rod cells driving the visual system at low luminance level is that humans become colour-blind in those low lighting conditions.
Light adaptation is similar to dark adaption but instead the visual sensitivity decreases with luminance level increase.
The adaptation process happening when entering a bright area is faster than dark adaptation and occurs in around 5 minutes. The rod cells first saturate as rhodopsin photobleaches, while the cone cells continue to adapt reaching peak sensitivity after 5-10 minutes. [4] [5] [6]
Chromatic adaptation is defined as the visual process whereby approximate compensation is made for changes in the colours of stimuli, especially in the case of changes in illuminants. [7]
Chromatic adaptation controls the independent sensitivity of the three cones cells type and is the most inportant adaptation mechanism in colour appearance. A white object viewed under different lighting conditions (daylight, tungsten or incandescent lighting) will retain its white appearance because the sensitivity of the cone cells is independently adjusted to compensate for the changes in energy level at the wavelengths ranges they are sensitive to.
Chromatic adaptation can be thought of as analogous to automatic white balancing feature of a digital still camera.[8]
Chromatic adaptation models are based on physiological plausible representations of cone responses signals. All modern chromatic adaptation models build upon Von Kries (1902) hypothesis: [9]
This can be conceived in the sense that the individual components present in the organ of vision are completely independent of one another and each is fatigued or adapted exclusively according to its own function (Translation by MacAdam 1970: 118).
The modern interpretation of Von Kries (1902) hypothesis, the Von Kries Coefficient Law, defines the following relationship: [10]
$$ \begin{equation} \begin{vmatrix} L_a\\ M_a\\ S_a \end{vmatrix}= \begin{vmatrix} k_L&0.0&0.0\\ 0.0&k_M&0.0\\ 0.0&0.0&k_S \end{vmatrix} \begin{vmatrix} L\\ M\\ S \end{vmatrix} \end{equation} $$or
$$ \begin{equation} \begin{aligned} L_a&\ =k_L\cdot L\\ M_a&\ =k_M\cdot M\\ S_a&\ =k_S\cdot S \end{aligned} \end{equation} $$with
$$ \begin{equation} k_L=\cfrac{1}{L_{max}},\qquad k_M=\cfrac{1}{M_{max}},\qquad k_S=\cfrac{1}{S_{max}} \end{equation} $$or
$$ \begin{equation} k_L=\cfrac{1}{L_{white}},\qquad k_M=\cfrac{1}{M_{white}},\qquad k_S=\cfrac{1}{S_{white}} \end{equation} $$where $L_a$, $M_a$ and $S_a$ are the post-adaptation cones signals and $k_L$, $k_M$ and $k_S$ are the coefficients used to scale the initial cone signals $L$, $M$ and $S$.
Given the above equations, the Von Kries Coefficient Law can be used to compute corresponding colour stimuli between two different viewing conditions.
The CIE defines corresponding colour stimuli as pairs of colour stimuli that have same colour appearance when one is seen in one set of adaptation conditions and the other is seen in a different set. [11]
Computing the corresponding colour stimuli is done as follows:
Post-adaptation signals are computed for the two viewing conditions, then, the first viewing condition post-adaptation signals are set equal to the second viewing condition post-adaptation signals, finally the model is reversed for the second viewing condition:
$$ \begin{equation} \begin{vmatrix} X_2\\ Y_2\\ Z_2 \end{vmatrix}= \textbf{M}^{-1} \begin{vmatrix} L_{max2}&0.0&0.0\\ 0.0&M_{max2}&0.0\\ 0.0&0.0&S_{max2} \end{vmatrix} \begin{vmatrix} k_L&0.0&0.0\\ 0.0&k_M&0.0\\ 0.0&0.0&k_S \end{vmatrix} \textbf{M} \begin{vmatrix} X\\ Y\\ Z \end{vmatrix} \end{equation} $$with
$$ \begin{equation} L_2=\biggl(\cfrac{L_1}{L_{max1}}\biggr)L_{max2},\qquad M_2=\biggl(\cfrac{M_1}{M_{max1}}\biggr)M_{max2},\qquad S_2=\biggl(\cfrac{S_1}{S_{max1}}\biggr)S_{max2} \end{equation} $$where $\textbf{M}$ is the chromatic adaptation transform matrix converting from CIE XYZ tristimulus values to relative cone responses $LMS$.
Colour defines the following chromatic adaptation transforms:
import colour
print(sorted(colour.CHROMATIC_ADAPTATION_TRANSFORMS))
['Bianco', 'Bianco PC', 'Bradford', 'CAT02', 'CAT02_BRILL_CAT', 'CMCCAT2000', 'CMCCAT97', 'Fairchild', 'Sharp', 'Von Kries', 'XYZ Scaling']