colour.models.eotf_ROMMRGB

colour.models.eotf_ROMMRGB(X_p, I_max=255)[source]

Defines the ROMM RGB encoding electro-optical transfer function (EOTF / EOCF).

Parameters:
  • X_p (numeric or array_like) – Non-linear data \(X'_{ROMM}\).
  • I_max (numeric, optional) – Maximum code value: 255, 4095 and 650535 for respectively 8-bit, 12-bit and 16-bit per channel.
Returns:

Linear data \(X_{ROMM}\).

Return type:

numeric or ndarray

References

Examples

>>> eotf_ROMMRGB(98.356413311540095) 
0.1...