colour.models.oetf_ProPhotoRGB

colour.models.oetf_ProPhotoRGB(X, I_max=255)

Defines the ROMM RGB encoding opto-electronic transfer function (OETF / OECF).

Parameters:
  • X (numeric or array_like) – 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:

Non-linear data \(X'_{ROMM}\).

Return type:

numeric or ndarray

References

Examples

>>> oetf_ROMMRGB(0.18)  
98.3564133...