colour.log_decoding_curve

colour.log_decoding_curve(value, curve='Cineon', **kwargs)[source]

Decodes \(R'G'B'\) video component signal value to linear-light values using given log curve.

Parameters:
  • value (numeric or array_like) – Value.
  • curve (unicode, optional) – {‘ACEScc’, ‘ACEScct’, ‘ACESproxy’, ‘ALEXA Log C’, ‘Canon Log 2’, ‘Canon Log 3’, ‘Canon Log’, ‘Cineon’, ‘D-Log’, ‘ERIMM RGB’, ‘Filmic Pro 6’, ‘Log3G10’, ‘Log3G12’, ‘Panalog’, ‘PLog’, ‘Protune’, ‘REDLog’, ‘REDLogFilm’, ‘S-Log’, ‘S-Log2’, ‘S-Log3’, ‘T-Log’, ‘V-Log’, ‘ViperLog’}, Computation curve.
Other Parameters:
 
Returns:

Log value.

Return type:

numeric or ndarray

Examples

>>> log_decoding_curve(0.457319613085418)  # doctest: +ELLIPSIS
0.1...
>>> log_decoding_curve(0.413588402492442, curve='ACEScc')
... # doctest: +ELLIPSIS
0.1...
>>> log_decoding_curve(0.391006842619746, curve='PLog', log_reference=400)
... # doctest: +ELLIPSIS
0.1...
>>> log_decoding_curve(0.376512722254600, curve='S-Log')
... # doctest: +ELLIPSIS
0.1...