colour.models.log_decoding_SLog#

colour.models.log_decoding_SLog(y: ArrayLike, bit_depth: int = 10, in_normalised_code_value: bool = True, out_reflection: bool = True) NDArrayFloat[source]#

Define the Sony S-Log log decoding curve / electro-optical transfer function.

Parameters:
  • y (ArrayLike) – Non-linear Sony S-Log data \(y\).

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

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

  • out_reflection (bool) – Whether the light level \(x\) to a camera is reflection.

Returns:

Reflection or \(IRE / 100\) input light level \(x\) to a camera.

Return type:

numpy.ndarray

Notes

Domain

Scale - Reference

Scale - 1

y

[0, 1]

[0, 1]

Range

Scale - Reference

Scale - 1

x

[0, 1]

[0, 1]

References

[SonyCorporation12]

Examples

>>> log_decoding_SLog(0.384970815928670)  
0.1...