colour.models.eotf_ROMMRGB¶
-
colour.models.
eotf_ROMMRGB
(X_p, bit_depth=8, in_int=False)[source]¶ Defines the ROMM RGB encoding electro-optical transfer function (EOTF / EOCF).
Parameters: Returns: Linear data \(X_{ROMM}\).
Return type: numeric or ndarray
Notes
Domain * Scale - Reference Scale - 1 X_p
[0, 1] [0, 1] Range * Scale - Reference Scale - 1 X
[0, 1] [0, 1] - * This definition has an input integer switch, thus the domain-range scale information is only given for the floating point mode.
References
Examples
>>> eotf_ROMMRGB(0.385711424751138) # doctest: +ELLIPSIS 0.1... >>> eotf_ROMMRGB(98, in_int=True) # doctest: +ELLIPSIS 0.1...