colour.models.oetf_ROMMRGB¶
-
colour.models.
oetf_ROMMRGB
(X, bit_depth=8, out_int=False)[source]¶ Defines the ROMM RGB encoding opto-electronic transfer function (OETF / OECF).
Parameters: Returns: Non-linear data \(X'_{ROMM}\).
Return type: numeric or ndarray
Notes
Domain * Scale - Reference Scale - 1 X
[0, 1] [0, 1] Range * Scale - Reference Scale - 1 X_p
[0, 1] [0, 1] - * This definition has an output integer switch, thus the domain-range scale information is only given for the floating point mode.
References
Examples
>>> oetf_ROMMRGB(0.18) # doctest: +ELLIPSIS 0.3857114... >>> oetf_ROMMRGB(0.18, out_int=True) 98