colour.ICTCP_to_RGB

colour.ICTCP_to_RGB(ICTCP, L_p=10000)[source]

Converts from \(IC_TC_P\) colour encoding to ITU-R BT.2020 colourspace.

Parameters
  • ICTCP (array_like) – \(IC_TC_P\) colour encoding array.

  • L_p (numeric, optional) – Display peak luminance \(cd/m^2\) for SMPTE ST 2084:2014 non-linear encoding.

Returns

ITU-R BT.2020 colourspace array.

Return type

ndarray

Notes

Domain

Scale - Reference

Scale - 1

ICTCP

I : [0, 1]

CT : [-1, 1]

CP : [-1, 1]

I : [0, 1]

CT : [-1, 1]

CP : [-1, 1]

Range

Scale - Reference

Scale - 1

RGB

[0, 1]

[0, 1]

References

[Dolby16], [LPY+16]

Examples

>>> ICTCP = np.array([0.07351364, 0.00475253, 0.09351596])
>>> ICTCP_to_RGB(ICTCP)  
array([ 0.4562052...,  0.0308107...,  0.0409195...])