colour.models.log_decoding_LLog#

colour.models.log_decoding_LLog(LLog: ArrayLike, bit_depth: int = 10, in_normalised_code_value: bool = True, out_reflection: bool = True, constants: Structure = CONSTANTS_LLOG) NDArrayFloat[source]#

Define the Leica L-Log log decoding curve / electro-optical transfer function.

Parameters:
  • LLog (ArrayLike) – L-Log 10-bit equivalent code value \(L-Log\).

  • bit_depth (int) – Bit-depth used for conversion.

  • in_normalised_code_value (bool) – Whether the non-linear Leica L-Log data \(L-Log\) is encoded as normalised code values.

  • out_reflection (bool) – Whether the light level :math`in` to a camera is reflection.

  • constants (Structure) – Leica L-Log constants.

Returns:

Linear scene reflection \(LSR\) values.

Return type:

numpy.ndarray

Notes

Domain

Scale - Reference

Scale - 1

LLog

[0, 1]

[0, 1]

Range

Scale - Reference

Scale - 1

LSR

[0, 1]

[0, 1]

References

[LeicaCAG22]

Examples

>>> log_decoding_LLog(0.43531390404392656)  
0.1800000...