colour.models.log_encoding_CanonLog2¶
-
colour.models.
log_encoding_CanonLog2
(x, bit_depth=10, out_legal=True, in_reflection=True)[source]¶ Defines the Canon Log 2 log encoding curve / opto-electronic transfer function.
Parameters: Returns: Canon Log 2 non-linear data.
Return type: numeric or ndarray
Notes
Domain Scale - Reference Scale - 1 x
[0, 1] [0, 1] Range Scale - Reference Scale - 1 clog2
[0, 1] [0, 1] References
Examples
>>> log_encoding_CanonLog2(0.18) * 100 # doctest: +ELLIPSIS 39.8254694...