colour.models.log_decoding_REDLog

colour.models.log_decoding_REDLog(y, black_offset=0.009955040995908344)[source]

Defines the REDLog 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

Notes

Domain

Scale - Reference

Scale - 1

y

[0, 1]

[0, 1]

Range

Scale - Reference

Scale - 1

x

[0, 1]

[0, 1]

References

[SonyImageworks12]

Examples

>>> log_decoding_REDLog(0.637621845988175)  
0.1...