colour.XYZ_to_LLAB#

colour.XYZ_to_LLAB(XYZ: Annotated[_Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | complex | bytes | str | _NestedSequence[complex | bytes | str], 100], XYZ_0: Annotated[_Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | complex | bytes | str | _NestedSequence[complex | bytes | str], 100], Y_b: ArrayLike, L: ArrayLike, surround: InductionFactors_LLAB = VIEWING_CONDITIONS_LLAB['Reference Samples & Images, Average Surround, Subtending < 4']) Annotated[CAM_Specification_LLAB, 360][source]#

Compute the :math:`LLAB(l:c)` colour appearance model correlates from the specified CIE XYZ tristimulus values.

Parameters:
Returns:

:math:`LLAB(l:c)` colour appearance model specification.

Return type:

colour.CAM_Specification_LLAB

Notes

Domain

Scale - Reference

Scale - 1

XYZ

100

1

XYZ_0

100

1

Range

Scale - Reference

Scale - 1

specification.h

360

1

References

[Fai13h], [LLK96], [LM96]

Examples

>>> XYZ = np.array([19.01, 20.00, 21.78])
>>> XYZ_0 = np.array([95.05, 100.00, 108.88])
>>> Y_b = 20.0
>>> L = 318.31
>>> surround = VIEWING_CONDITIONS_LLAB["ref_average_4_minus"]
>>> XYZ_to_LLAB(XYZ, XYZ_0, Y_b, L, surround)
CAM_Specification_LLAB(J=37.3668650..., C=0.0089496..., h=270..., s=0.0002395..., M=0.0190185..., HC=None, a=..., b=-0.0190185...)