colour.XYZ_to_ProLab#
- colour.XYZ_to_ProLab(XYZ: Annotated[_Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | complex | bytes | str | _NestedSequence[complex | bytes | str], 1], illuminant: ArrayLike = CCS_ILLUMINANTS['CIE 1931 2 Degree Standard Observer']['D65']) Annotated[ndarray[tuple[Any, ...], dtype[float16 | float32 | float64]], 1][source]#
Convert from CIE XYZ tristimulus values to ProLab colourspace.
- Parameters:
XYZ (Annotated[_Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | complex | bytes | str | _NestedSequence[complex | bytes | str], 1]) – CIE XYZ tristimulus values.
illuminant (ArrayLike) – Reference illuminant CIE xy chromaticity coordinates or CIE xyY colourspace array.
- Returns:
ProLab colourspace array.
- Return type:
Notes
Domain
Scale - Reference
Scale - 1
XYZ1
1
Range
Scale - Reference
Scale - 1
ProLab1
1
References
[KSNN21]
Examples
>>> Lab = np.array([0.51634019, 0.15469500, 0.06289579]) >>> XYZ_to_ProLab(Lab) array([ 59.846628... , 115.039635... , 20.1251035...])