colour.models.log_encoding_REDLogFilm

colour.models.log_encoding_REDLogFilm(x, black_offset=0.0107977516232771)[source]

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

[SonyImageworks2012a]

Examples

>>> log_encoding_REDLogFilm(0.18)  # doctest: +ELLIPSIS
0.4573196...