colour.colorimetry.lightness_Glasser1958#

colour.colorimetry.lightness_Glasser1958(Y: Annotated[_Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | complex | bytes | str | _NestedSequence[complex | bytes | str], 100]) Annotated[ndarray[tuple[Any, ...], dtype[float16 | float32 | float64]], 100][source]#

Compute lightness \(L\) from the specified luminance \(Y\) using the Glasser et al. (1958) method.

Parameters:

Y (Annotated[_Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | complex | bytes | str | _NestedSequence[complex | bytes | str], 100]) – Luminance \(Y\).

Returns:

Lightness \(L\).

Return type:

numpy.ndarray

Notes

Domain

Scale - Reference

Scale - 1

Y

100

1

Range

Scale - Reference

Scale - 1

L

100

1

References

[GMRS58]

Examples

>>> lightness_Glasser1958(12.19722535)
39.8351264...