colour.models.log_encoding_VLog

colour.models.log_encoding_VLog(L_in, bit_depth=10, out_legal=True, in_reflection=True, constants={'b': 0.00873, 'c': 0.241514, 'cut1': 0.01, 'cut2': 0.181, 'd': 0.598206})[source]

Defines the Panasonic V-Log log encoding curve / opto-electronic transfer function.

Parameters:
  • L_in (numeric or array_like) – Linear reflection data :math`L_{in}`.
  • bit_depth (int, optional) – Bit depth used for conversion.
  • out_legal (bool, optional) – Whether the non-linear Panasonic V-Log data \(V_{out}\) is encoded in legal range.
  • in_reflection (bool, optional) – Whether the light level :math`L_{in}` to a camera is reflection.
  • constants (Structure, optional) – Panasonic V-Log constants.
Returns:

Non-linear data \(V_{out}\).

Return type:

numeric or ndarray

Notes

Domain Scale - Reference Scale - 1
L_in [0, 1] [0, 1]
Range Scale - Reference Scale - 1
V_out [0, 1] [0, 1]

References

[Pan14]

Examples

>>> log_encoding_VLog(0.18)  # doctest: +ELLIPSIS
0.4233114...