colour.oetf#
- colour.oetf(value: ArrayLike, function: LiteralOETF | str = 'ITU-R BT.709', **kwargs: Any) NDArrayFloat[source]#
Apply the specified opto-electronic transfer function (OETF).
- Parameters:
value (ArrayLike) – Scene-linear value.
function (LiteralOETF | str) – Opto-electronic transfer function (OETF).
kwargs (Any) – {
colour.models.oetf_ARIBSTDB67(),colour.models.oetf_BlackmagicFilmGeneration5(),colour.models.oetf_DaVinciIntermediate(),colour.models.oetf_BT2020(),colour.models.oetf_BT2100_HLG(),colour.models.oetf_BT2100_PQ(),colour.models.oetf_BT601(),colour.models.oetf_BT709(),colour.models.oetf_SMPTE240M()}, See the documentation of the previously listed definitions.
- Returns:
Non-linear signal value.
- Return type:
Examples
>>> oetf(0.18) 0.4090077... >>> oetf(0.18, function="ITU-R BT.601") 0.4090077...