colour.models.log_encoding_REDLog

colour.models.log_encoding_REDLog(x, black_offset=0.009955040995908344)[source]

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

Notes

Domain

Scale - Reference

Scale - 1

x

[0, 1]

[0, 1]

Range

Scale - Reference

Scale - 1

y

[0, 1]

[0, 1]

References

[SonyImageworks12]

Examples

>>> log_encoding_REDLog(0.18)  
0.6376218...