colour.models.rgb.transfer_functions.panalog Module¶
Panalog Encoding¶
Defines the Panalog encoding:
See also
References
[1] | Sony Imageworks. (2012). make.py. Retrieved November 27, 2014, from https://github.com/imageworks/OpenColorIO-Configs/blob/master/nuke-default/make.py |
-
colour.models.rgb.transfer_functions.panalog.
log_encoding_Panalog
(x, black_offset=0.04077184461038074)[source]¶ Defines the Panalog log encoding curve / opto-electronic transfer function.
Parameters: - x (numeric or array_like) – Linear data \(x\).
- black_offset (numeric or array_like) – Black offset.
Returns: Non-linear data \(y\).
Return type: numeric or ndarray
Warning
These are estimations known to be close enough, the actual log encoding curves are not published.
Examples
>>> log_encoding_Panalog(0.18) 0.3745767...
-
colour.models.rgb.transfer_functions.panalog.
log_decoding_Panalog
(y, black_offset=0.04077184461038074)[source]¶ Defines the Panalog log decoding curve / electro-optical transfer function.
Parameters: - y (numeric or array_like) – Non-linear data \(y\).
- black_offset (numeric or array_like) – Black offset.
Returns: Linear data \(x\).
Return type: numeric or ndarray
Warning
These are estimations known to be close enough, the actual log encoding curves are not published.
Examples
>>> log_decoding_Panalog(0.374576791382298) 0.1...