colour.Lab_to_DIN99#
- colour.Lab_to_DIN99(Lab: Domain100, k_E: float = 1, k_CH: float = 1, method: Literal['ASTMD2244-07', 'DIN99', 'DIN99b', 'DIN99c', 'DIN99d'] | str = 'DIN99') Range100[source]#
Convert from CIE L*a*b* colourspace to DIN99 colourspace or one of the DIN99b, DIN99c, DIN99d refined formulas according to Cui et al. (2002).
- Parameters:
Lab (Domain100) – CIE L*a*b* colourspace array.
k_E (float) – Parametric factor \(K_E\) used to compensate for texture and other specimen presentation effects.
k_CH (float) – Parametric factor \(K_{CH}\) used to compensate for texture and other specimen presentation effects.
method (Literal['ASTMD2244-07', 'DIN99', 'DIN99b', 'DIN99c', 'DIN99d'] | str) – Computation method.
- Returns:
DIN99 colourspace array.
- Return type:
Notes
Domain
Scale - Reference
Scale - 1
Lab100
1
Range
Scale - Reference
Scale - 1
Lab_99100
1
References
[ASTMInternational07], [CLR+02]
Examples
>>> import numpy as np >>> Lab = np.array([41.52787529, 52.63858304, 26.92317922]) >>> Lab_to_DIN99(Lab) array([ 53.2282198..., 28.4163465..., 3.8983955...])