colour.ootf#

colour.ootf(value: _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | bool | int | float | complex | str | bytes | _NestedSequence[bool | int | float | complex | str | bytes], function: Literal['ITU-R BT.2100 HLG', 'ITU-R BT.2100 PQ'] | str = 'ITU-R BT.2100 PQ', **kwargs: Any) ndarray[Any, dtype[float16 | float32 | float64]][source]#

Map relative scene linear light to display linear light using given opto-optical transfer function (OOTF / OOCF).

Parameters:
Returns:

Luminance of a displayed linear component.

Return type:

numpy.ndarray

Examples

>>> ootf(0.1)  
779.9883608...
>>> ootf(0.1, function="ITU-R BT.2100 HLG")  
63.0957344...