colour.models.log_decoding_ERIMMRGB#

colour.models.log_decoding_ERIMMRGB(X_p: Union[FloatingOrArrayLike, IntegerOrArrayLike], bit_depth: Integer = 8, in_int: Boolean = False, E_min: Floating = 0.001, E_clip: Floating = 316.2) FloatingOrNDArray[source]#

Define the ERIMM RGB log decoding curve / electro-optical transfer function (EOTF).

Parameters
  • X_p (Union[FloatingOrArrayLike, IntegerOrArrayLike]) – Non-linear data \(X'_{ERIMM}\).

  • bit_depth (Integer) – Bit depth used for conversion.

  • in_int (Boolean) – Whether to treat the input value as integer code value or float equivalent of a code value at a given bit depth.

  • E_min (Floating) – Minimum exposure limit.

  • E_clip (Floating) – Maximum exposure limit.

Returns

Linear data \(X_{ERIMM}\).

Return type

numpy.floating or numpy.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

[SWG00]

Examples

>>> log_decoding_ERIMMRGB(0.410052389492129) 
0.1...
>>> log_decoding_ERIMMRGB(105, in_int=True) 
0.1...