colour.models.log_decoding_SLog3¶
-
colour.models.
log_decoding_SLog3
(y, bit_depth=10, in_legal=True, out_reflection=True)[source]¶ Defines the Sony S-Log3 log decoding curve / electro-optical transfer function.
Parameters: - y (numeric or array_like) – Non-linear Sony S-Log3 data \(y\).
- bit_depth (int, optional) – Bit depth used for conversion.
- in_legal (bool, optional) – Whether the non-linear Sony S-Log3 data \(y\) is encoded in legal range.
- out_reflection (bool, optional) – Whether the light level \(x\) to a camera is reflection.
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
Examples
>>> log_decoding_SLog3(0.410557184750733) # doctest: +ELLIPSIS 0.1... >>> log_decoding_SLog3(0.406392694063927, in_legal=False) ... # doctest: +ELLIPSIS 0.1... >>> log_decoding_SLog3(0.399507939606216, out_reflection=False) ... # doctest: +ELLIPSIS 0.1...