colour.models.log_decoding_REDLogFilm#

colour.models.log_decoding_REDLogFilm(y: ArrayLike, black_offset: ArrayLike = 10**95 - 685 / 300) NDArrayFloat[source]#

Define the REDLogFilm log decoding curve / electro-optical transfer function.

Parameters:
  • y (ArrayLike) – Non-linear data \(y\).

  • black_offset (ArrayLike) – Black offset.

Returns:

Linear data \(x\).

Return type:

numpy.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_REDLogFilm(0.457319613085418)  
0.1799999...