colour.Lab_to_DIN99

colour.Lab_to_DIN99(Lab, k_E=1, k_CH=1)[source]

Converts from CIE L*a*b* colourspace to DIN99 colourspace.

Parameters:
  • Lab (array_like) – CIE L*a*b* colourspace array.
  • k_E (numeric, optional) – Parametric factor \(K_E\) used to compensate for texture and other specimen presentation effects.
  • k_CH (numeric, optional) – Parametric factor \(K_{CH}\) used to compensate for texture and other specimen presentation effects.
Returns:

DIN99 colourspace array.

Return type:

ndarray

Notes

Domain Scale - Reference Scale - 1
Lab

L : [0, 100]

a : [-100, 100]

b : [-100, 100]

L : [0, 1]

a : [-1, 1]

b : [-1, 1]

Range Scale - Reference Scale - 1
Lab_99

L_99 : [0, 100]

a_99 : [-100, 100]

b_99 : [-100, 100]

L_99 : [0, 1]

a_99 : [-1, 1]

b_99 : [-1, 1]

References

[ASTMInternational07]

Examples

>>> import numpy as np
>>> Lab = np.array([41.52787529, 52.63858304, 26.92317922])
>>> Lab_to_DIN99(Lab)  # doctest: +ELLIPSIS
array([ 53.2282198...,  28.4163465...,   3.8983955...])