colour.models.rgb.transfer_functions.cineon Module¶
Kodak Cineon Encoding¶
Defines the Kodak Cineon 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.cineon.
log_encoding_Cineon
(x, black_offset=0.0107977516232771)[source]¶ Defines the Cineon 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
Examples
>>> log_encoding_Cineon(0.18) 0.4573196...
-
colour.models.rgb.transfer_functions.cineon.
log_decoding_Cineon
(y, black_offset=0.0107977516232771)[source]¶ Defines the Cineon 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
Examples
>>> log_decoding_Cineon(0.457319613085418) 0.1799999...