colour.models.log_decoding_SLog2

colour.models.log_decoding_SLog2(y, bit_depth=10, in_normalised_code_value=True, out_reflection=True, **kwargs)[source]

Defines the Sony S-Log2 log decoding curve / electro-optical transfer function.

Parameters
  • y (numeric or array_like) – Non-linear Sony S-Log2 data \(y\).

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

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

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

Other Parameters

**kwargs (dict, optional) – Keywords arguments for deprecation management.

Returns

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

Return type

numeric or 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_SLog2(0.339532524633774)  
0.1...