colour.eotf_inverse

colour.eotf_inverse(value, function='ITU-R BT.1886', **kwargs)[source]

Encodes estimated tristimulus values in a scene to \(R'G'B'\) video component signal value using given inverse electro-optical transfer function (EOTF / EOCF).

Parameters
  • value (numeric or array_like) – Value.

  • function (unicode, optional) – {‘ITU-R BT.1886’, ‘DCDM’, ‘DICOM GSDF’, ‘ITU-R BT.2020’, ‘ITU-R BT.2100 HLG’, ‘ITU-R BT.2100 PQ’, ‘ST 2084’, ‘sRGB’}, Inverse electro-optical transfer function (EOTF / EOCF).

Other Parameters
Returns

\(R'G'B'\) video component signal value.

Return type

numeric or ndarray

Examples

>>> eotf_inverse(0.11699185725296059)  
0.4090077...
>>> eotf_inverse(  
...     0.11699185725296059, function='ITU-R BT.1886')
0.4090077...