colour.ootf_inverse

colour.ootf_inverse(value, function='ITU-R BT.2100 PQ', **kwargs)[source]

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

Parameters
  • value (numeric or array_like) – Value.

  • function (unicode, optional) – {‘ITU-R BT.2100 HLG’, ‘ITU-R BT.2100 PQ’} Inverse opto-optical transfer function (OOTF / OOCF).

Other Parameters
Returns

Luminance of scene linear light.

Return type

numeric or ndarray

Examples

>>> ootf_inverse(779.988360834115840)  
0.1000000...
>>> ootf_inverse(  
...     63.095734448019336, function='ITU-R BT.2100 HLG')
0.1000000...