colour.models.log_decoding_CanonLog

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

Defines the Canon Log log decoding curve / electro-optical transfer function.

Parameters:
  • clog (numeric or array_like) – Canon Log non-linear data.
  • bit_depth (int, optional) – Bit depth used for conversion.
  • in_normalised_code_value (bool, optional) – Whether the Canon Log non-linear data is encoded with 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:

Linear data \(x\).

Return type:

numeric or ndarray

Notes

Domain Scale - Reference Scale - 1
clog [0, 1] [0, 1]
Range Scale - Reference Scale - 1
x [0, 1] [0, 1]

References

[Thorpe2012a]

Examples

>>> log_decoding_CanonLog(34.338965172606912 / 100)  # doctest: +ELLIPSIS
0.17999999...