colour.ootf_inverse#
- colour.ootf_inverse(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 display linear light to scene linear light using given inverse opto-optical transfer function (OOTF / OOCF).
- Parameters:
value (_SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | bool | int | float | complex | str | bytes | _NestedSequence[bool | int | float | complex | str | bytes]) – Value.
function (Literal['ITU-R BT.2100 HLG', 'ITU-R BT.2100 PQ'] | str) – Inverse opto-optical transfer function (OOTF / OOCF).
kwargs (Any) – {
colour.models.ootf_inverse_BT2100_HLG()
,colour.models.ootf_inverse_BT2100_PQ()
}, See the documentation of the previously listed definitions.
- Returns:
Luminance of scene linear light.
- Return type:
Examples
>>> ootf_inverse(779.988360834115840) 0.1000000... >>> ootf_inverse( ... 63.095734448019336, function="ITU-R BT.2100 HLG" ... ) 0.1000000...