colour.models.log_decoding_LLog#
- colour.models.log_decoding_LLog(LLog: Annotated[_Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | complex | bytes | str | _NestedSequence[complex | bytes | str], 1], bit_depth: int = 10, in_normalised_code_value: bool = True, out_reflection: bool = True, constants: Structure | None = None) Annotated[ndarray[tuple[Any, ...], dtype[float16 | float32 | float64]], 1][source]#
Apply the Leica L-Log log decoding inverse opto-electronic transfer function (OETF).
- Parameters:
LLog (Annotated[_Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | complex | bytes | str | _NestedSequence[complex | bytes | str], 1]) – L-Log 10-bit equivalent code value \(L-Log\).
bit_depth (int) – Bit-depth used for conversion.
in_normalised_code_value (bool) – Whether the Leica L-Log non-linear data \(L-Log\) is encoded as normalised code values.
out_reflection (bool) – Whether the light level \(in\) to a camera is reflection.
constants (Structure | None) – Leica L-Log constants.
- Returns:
Linear scene reflection \(LSR\) values.
- Return type:
Notes
Domain
Scale - Reference
Scale - 1
LLog1
1
Range
Scale - Reference
Scale - 1
LSR1
1
References
Examples
>>> log_decoding_LLog(0.43531390404392656) 0.1800000...