colour.models.cctf_decoding_ProPhotoRGB#
- colour.models.cctf_decoding_ProPhotoRGB(X_p, bit_depth=8, in_int=False)#
Define the ProPhoto RGB decoding colour component transfer function (Encoding CCTF).
- Parameters:
X_p – Non-linear data \(X'_{ROMM}\).
bit_depth – Bit-depth used for conversion.
in_int – Whether to treat the input value as int code value or float equivalent of a code value at a given bit-depth.
- Returns:
Linear data \(X_{ROMM}\).
- Return type:
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 int switch, thus the domain-range scale information is only given for the floating point mode.
References
Examples
>>> cctf_decoding_ROMMRGB(0.385711424751138) 0.1... >>> cctf_decoding_ROMMRGB(98, in_int=True) 0.1...