colour.models.rgb.transfer_functions.gopro Module

GoPro Encodings

Defines the GoPro encodings:

References

[1]GoPro, Duiker, H.-P., & Mansencal, T. (2016). gopro.py. Retrieved April 12, 2017, from https://github.com/hpd/OpenColorIO-Configs/blob/master/aces_1.0.3/python/aces_ocio/colorspaces/gopro.py
colour.models.rgb.transfer_functions.gopro.log_encoding_Protune(x)[source]

Defines the Protune 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_Protune(0.18)  
0.6456234...
colour.models.rgb.transfer_functions.gopro.log_decoding_Protune(y)[source]

Defines the Protune 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_Protune(0.645623486803636)  
0.1...