colour.models.log_encoding_Log3G12#

colour.models.log_encoding_Log3G12(x: ArrayLike) NDArrayFloat[source]#

Define the Log3G12 log encoding curve / opto-electronic transfer function.

Parameters:

x (ArrayLike) – Linear data \(x\).

Returns:

Non-linear data \(y\).

Return type:

numpy.ndarray

Notes

Domain

Scale - Reference

Scale - 1

x

[0, 1]

[0, 1]

Range

Scale - Reference

Scale - 1

y

[0, 1]

[0, 1]

References

[Nat16], [REDDCinema17]

Examples

>>> log_encoding_Log3G12(0.18)  
0.3333326...