colour.models.log_decoding_REDLog#

colour.models.log_decoding_REDLog(y: ArrayLike, black_offset: ArrayLike = 10**0 - 1023 / 511) NDArrayFloat[source]#

Define the REDLog 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_REDLog(0.637621845988175)  
0.1...