colour.models.rgb.transfer_functions.viper_log Module¶
Viper Log Encodings¶
Defines the Viper Log 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.viper_log.
log_encoding_ViperLog
(x)[source]¶ Defines the Viper Log log encoding curve / opto-electronic transfer function.
Parameters: x (numeric or array_like) – Linear data \(x\). Returns: Non-linear data \(y\). Return type: numeric or ndarray Examples
>>> log_encoding_ViperLog(0.18) 0.6360080...
-
colour.models.rgb.transfer_functions.viper_log.
log_decoding_ViperLog
(y)[source]¶ Defines the Viper Log log decoding curve / electro-optical transfer function.
Parameters: y (numeric or array_like) – Non-linear data \(y\). Returns: Linear data \(x\). Return type: numeric or ndarray Examples
>>> log_decoding_ViperLog(0.636008067010413) 0.1799999...