colour.ootf#
- colour.ootf(value: ArrayLike, function: LiteralOOTF | str = 'ITU-R BT.2100 PQ', **kwargs: Any) NDArrayFloat[source]#
Apply the specified opto-optical transfer function (OOTF).
- Parameters:
value (ArrayLike) – Scene-linear value.
function (LiteralOOTF | str) – Opto-optical transfer function (OOTF).
kwargs (Any) – {
colour.models.ootf_BT2100_HLG(),colour.models.ootf_BT2100_PQ()}, See the documentation of the previously listed definitions.
- Returns:
Display-linear value.
- Return type:
Examples
>>> ootf(0.1) np.float64(779.9883608...) >>> ootf(0.1, function="ITU-R BT.2100 HLG") np.float64(63.0957344...)