colour.eotf_inverse#

colour.eotf_inverse(value: Union[numpy._typing._array_like._SupportsArray[numpy.dtype[Any]], numpy._typing._nested_sequence._NestedSequence[numpy._typing._array_like._SupportsArray[numpy.dtype[Any]]], bool, int, float, complex, str, bytes, numpy._typing._nested_sequence._NestedSequence[Union[bool, int, float, complex, str, bytes]]], function: Union[Literal['DCDM', 'DICOM GSDF', 'ITU-R BT.1886', 'ITU-R BT.2100 HLG', 'ITU-R BT.2100 PQ', 'ITU-T H.273 ST.428-1', 'ST 2084', 'sRGB'], str] = 'ITU-R BT.1886', **kwargs) Union[numpy.ndarray[Any, numpy.dtype[Union[numpy.float16, numpy.float32, numpy.float64]]], numpy.ndarray[Any, numpy.dtype[Union[numpy.int8, numpy.int16, numpy.int32, numpy.int64, numpy.uint8, numpy.uint16, numpy.uint32, numpy.uint64]]]][source]#

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

Parameters
Returns

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

Return type

numpy.ndarray

Examples

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