colour.models.log_encoding_ViperLog#
- colour.models.log_encoding_ViperLog(x: 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 Viper Log log encoding opto-electronic transfer function (OETF).
- Parameters:
x (Annotated[_Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | complex | bytes | str | _NestedSequence[complex | bytes | str], 1]) – Linear data \(x\).
- Returns:
Non-linear encoded data \(y\).
- Return type:
Notes
Domain
Scale - Reference
Scale - 1
x1
1
Range
Scale - Reference
Scale - 1
y1
1
References
Examples
>>> log_encoding_ViperLog(0.18) 0.6360080...