colour.models.eotf_RIMMRGB¶
-
colour.models.
eotf_RIMMRGB
(X_p, bit_depth=8, in_int=False, E_clip=2.0)[source]¶ Defines the RIMM RGB encoding electro-optical transfer function (EOTF / EOCF).
Parameters: - X_p (numeric or array_like) – Non-linear data \(X'_{RIMM}\).
- bit_depth (int, optional) – Bit depth used for conversion.
- in_int (bool, optional) – Whether to treat the input value as integer code value or float equivalent of a code value at a given bit depth.
- E_clip (numeric, optional) – Maximum exposure level.
Returns: Linear data \(X_{RIMM}\).
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_RIMMRGB(0.291673732475746) # doctest: +ELLIPSIS 0.1... >>> eotf_RIMMRGB(74, in_int=True) # doctest: +ELLIPSIS 0.1...