colour.eotf#

colour.eotf(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', 'SMPTE 240M', 'ST 2084', 'sRGB'], str] = 'ITU-R BT.1886', **kwargs: Any) numpy.ndarray[Any, numpy.dtype[Union[numpy.float16, numpy.float32, numpy.float64]]][source]#

Decode \(R'G'B'\) video component signal value to tristimulus values at the display using given electro-optical transfer function (EOTF).

Parameters
Returns

Tristimulus values at the display.

Return type

numpy.ndarray

Examples

>>> eotf(0.461356129500442)  
0.1...
>>> eotf(0.182011532850008, function="ST 2084", L_p=1000)
... 
0.1...