colour.eotf_inverse#
- colour.eotf_inverse(value: _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | bool | int | float | complex | str | bytes | _NestedSequence[bool | int | float | complex | str | bytes], function: 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) ndarray[Any, dtype[float16 | float32 | float64]] | ndarray[Any, dtype[int8 | int16 | int32 | int64 | uint8 | uint16 | uint32 | 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:
value (_SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | bool | int | float | complex | str | bytes | _NestedSequence[bool | int | float | complex | str | bytes]) – Value.
function (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) – Inverse electro-optical transfer function (EOTF).
kwargs – {
colour.models.eotf_inverse_DCDM()
,colour.models.eotf_inverse_DICOMGSDF()
,colour.models.eotf_inverse_BT1886()
,colour.models.eotf_inverse_BT2100_HLG()
,colour.models.eotf_inverse_BT2100_PQ()
,colour.models.eotf_inverse_ST2084()
,colour.models.eotf_inverse_sRGB()
}, See the documentation of the previously listed definitions.
- Returns:
\(R'G'B'\) video component signal value.
- Return type:
Examples
>>> eotf_inverse(0.11699185725296059) 0.4090077... >>> eotf_inverse( ... 0.11699185725296059, function="ITU-R BT.1886" ... ) 0.4090077...