colour.models.log_decoding_Log3G12#

colour.models.log_decoding_Log3G12(y: Annotated[_Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | complex | bytes | str | _NestedSequence[complex | bytes | str], 1]) Annotated[ndarray[tuple[Any, ...], dtype[float16 | float32 | float64]], 1][source]#

Apply the Log3G12 log decoding inverse opto-electronic transfer function (OETF).

Parameters:

y (Annotated[_Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | complex | bytes | str | _NestedSequence[complex | bytes | str], 1]) – Log3G12 non-linear encoded data \(y\).

Returns:

Linear data \(x\).

Return type:

numpy.ndarray

Notes

Domain

Scale - Reference

Scale - 1

y

1

1

Range

Scale - Reference

Scale - 1

x

1

1

References

[Nat16], [REDDCinema17]

Examples

>>> log_decoding_Log3G12(1.0 / 3)
0.1800015...