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