Jump to content

ICtCp

From Wikipedia, the free encyclopedia

ICTCP,ICtCp,orITPis acolor representation formatspecified in theRec. ITU-R BT.2100standard that is used as a part of thecolor image pipelineinvideoanddigital photographysystems forhigh dynamic range(HDR) andwide color gamut(WCG) imagery.[1]It was developed byDolby Laboratories[2]from theIPTcolor space by Ebner and Fairchild.[3][4]The format is derived from an associatedRGBcolor spaceby acoordinate transformationthat includes two matrix transformations and an intermediate nonlinear transfer function that is informally known asgamma pre-correction.The transformation produces three signals calledI,CT,andCP.TheICTCPtransformation can be used withRGBsignals derived from either theperceptual quantizer(PQ) orhybrid log–gamma(HLG) nonlinearity functions, but is most commonly associated with the PQ function (which was also developed by Dolby).

TheI( "intensity" ) component is alumacomponent that represents the brightness of the video, andCTandCPare blue-yellow (named fromtritanopia) and red-green (named fromprotanopia)chromacomponents.[2]Ebner also used IPT as short for "Image Processing Transform".[3]

TheICTCPcolor representation scheme is conceptually related to theLMScolor space,as the color transformation fromRGBtoICTCPis defined by first convertingRGBtoLMSwith a 3×3 matrix transformation, then applying the nonlinearity function, and then converting the nonlinear signals toICTCPusing another 3×3 matrix transformation.[5]ICTCPwas defined as aYCCdigital format with support for 4:4:4, 4:2:2 and 4:2:0chroma subsamplinginCTA-861-H (that means that in limited range 10 bit mode 0, 1, 2, 3, 1020, 1021, 1022, 1023 values are reserved).[6]

Derivation[edit]

ICTCPis defined by Rec. 2100 as being derived from linearRGBas follows:[1]

  1. CalculateLMSfrom BT.2100 RGB:
  2. Normalize the LMS by a non-linearity:
    • If thePQ transfer functionis used:
    • If theHLG transfer functionis used:
  3. CalculateICTCP:
    • for PQ:
    • forHLG:

All three above mentioned matrixes were derived (only the first 2 are documented derivations[2]) from the matrixes in IPT. The HLG matrix can be derived the same way as the PQ matrix, with the only difference being the scaling of the chroma rows. The inverted decodingICTCPmatrixes are specified in ITU-T Series H Supplement 18.[7]

ICTCPis defined such that the entire BT.2020 space fits into the range [0, 1] for I and [-0.5, +0.5] for the two chroma components. The relateduniform color spaceITP used in ΔEITP(Rec. 2124) scales CTby 0.5 to restore uniformity.[8]There is support for ICtCp in zimg (including zimg as part of FFmpeg) and color-science, for both HLG and PQ.

In IPT[edit]

The preceder toICTCP,Ebner & FairchildIPTcolor appearance model(1998), has a mostly similar transformation pipeline of input → LMS → nonlinearity → IPT.[3][9]The differences are that it defines its input to the more generalCIEXYZtristimulus color space and as a result has a more conventional Hunt-Pointer-Estevez (for D65) matrix for LMS. The nonlinearity is afixed gamma of 0.43,quite close to the one used by RLAB. The second matrix here is slightly different from theICTCPmatrix, mainly in that is also considers S (blue cone) for intensity, butICTCPhas also Rotation matrix (to align skin tones) and Scalar matrix (scaled to fit the full BT.2020 gamut inside the -0.5 to 0.5 region) multiplied with this matrix:[2][10]

  1. Calculate LMS (seeLMS color space § Hunt, RLABfor D65, slightly different[3]):
  2. Nonlinearity (L'M'S'): For each of L, M, S componentsapply a power function:

IPTPQc2[edit]

IPTPQc2is another related colorspace used byDolby Visionprofile 5 BL+RPU (without EL).[11]The "c2" in the name means a cross talk matrix is used with c = 2%. It uses full range quantization (0-1023 for 10 bit video, no values reserved). It is also often referred to asIPTPQc2/IPT,as the matrix is in fact the same as in the 1998 IPT paper, just in inverse representation.[12]Documentation on this format is scarce due to its proprietary nature, but a patent[13]on the "IPT-PQ" (perceptually quantized IPT) color spaceseems to describe how Dolby changed the domain to PQ by changing the traditional power function from 1998 IPT paper to PQ function for each of LMS components.[speculation?]The matrix is as follows:

Note the matrix inversion used and an error was made in patent in 1091 number[clarification needed]of the matrix (the matrix after inversion is correct in patent). In addition, this format has no nonlinearity, and is assumed to be BT.2020-based.[14]

The second step, the dynamic range adjustment modeling (reshaping[15]), is also defined in the patent.

It is used byDisney+,Apple TV+andNetflix.[citation needed]

Decoder of IPTPQc2 with reshaping and MMR (but no NLQ and dynamic metadata) is available in libplacebo.[16]

Support for decoding all stages was added inmpv.

Characteristics[edit]

ICTCPhas near constant luminance.[17]Thecorrelation coefficientbetween encodedIand true luminance is 0.998, much higher than the 0.819 forYCBCR.An improved constant luminance versusYCBCRis an advantage for color processing operations such aschroma subsamplingandgamut mappingwhere only the color difference information is changed.[2]

ICTCPalso improves hue linearity compared withYCBCR,which helps with compression performance and color volume mapping.[18][19]Adaptive reshaping can further provide a 10% improvement on compression performance.[20]

Improvement in luminance and hue uniformity make scaledICTCPa practical color space for calculating color differences (ΔEITP), as introduced by ITU-R Rec. BT.2124.[8]

In terms ofCIEDE2000color quantization error, 10-bitICTCPwould be equivalent to 11.5 bitYCBCR.[2]

Uses[edit]

ICTCPis supported in theHEVCvideo coding standard.[21]It is also a digital YCC format and can be signaled inEDID's Colorimetry block as part of CTA-861-H.

References[edit]

  1. ^ab"BT.2100-2: Image parameter values for high dynamic range television for use in production and international programme exchange".ITU-R.July 2018.
  2. ^abcdef"What Is ICtCp – Introduction?"(PDF).Dolby.Retrieved2016-04-20.
  3. ^abcdEbner, Fritz (1998-07-01)."Derivation and modelling hue uniformity and development of the IPT color space".Theses.
  4. ^F.Ebner, M.D.Fairchild, Development and testing of a color space (IPT) with improved hue uniformity. In: Proceedings of The Sixth Color Imaging Conference, 8-13, 1998
  5. ^"ST 2084:2014".Society of Motion Picture and Television Engineers.
  6. ^"A DTV Profile for Uncompressed High Speed Digital Interfaces (ANSI/CTA-861-H)".Consumer Technology Association®.Retrieved2021-03-11.
  7. ^"ITU-T Recommendation database".ITU.hdl:11.1002/1000/13441.Retrieved2020-11-14.
  8. ^ab"BT.2124: Objective metric for the assessment of the potential visibility of colour differences in television".www.itu.int.Retrieved24 June2020.
  9. ^Ebner, Fritz; Fairchild, Mark D. (1998-01-01)."Development and Testing of a Color Space (IPT) with Improved Hue Uniformity".Color and Imaging Conference.1998(1): 8–13.doi:10.2352/CIC.1998.6.1.art00003.S2CID46137693.Closed access icon
  10. ^Xue, Yang (1 November 2008)."Uniform color spaces based on CIECAM02 and IPT color difference equations".RITTheses:7.
  11. ^Dolby."Dolby Vision Profiles and Levels Version 1.3.2 - Specification"(PDF).Archived fromthe original(PDF)on 29 September 2020.Retrieved27 April2021.
  12. ^"Dolby Vision with wrong colors · Issue #7326 · mpv-player/mpv".GitHub.
  13. ^US patent 20180131938A1,Lu, Taoran; Pu, Fangjun & Yin, Peng et al., "Signal reshaping and coding in the ipt-pq color space", published 2018-05-10, issued 2019-11-19, assigned to Dolby Laboratories Licensing Corp
  14. ^"testing-av/testing-video: IPTPQc2.java".GitHub.
  15. ^"Description of the reshaper parameters derivation process in ETM reference software".phenix.it-sudparis.eu.Retrieved2020-11-14.
  16. ^"colorspace: add support for Dolby Vision (!207) · Merge requests · VideoLAN / libplacebo".GitLab.29 November 2021.Retrieved2021-12-11.
  17. ^"Subsampling in ICtCp vs YCbCr"(PDF).Dolby Laboratories, Inc. Archived fromthe original(PDF)on 13 October 2018.
  18. ^"ITP Colour Space and Its Compression Performance for High Dynamic Range and Wide Colour Gamut Video Distribution".ZTE.
  19. ^Cotton, Andrew; Thompson, Simon (2018). "Scene-light conversions: the key to enabling live HDR production".SMPTE 2018.pp. 10–11.doi:10.5594/M001822.ISBN978-1-61482-960-7.S2CID188363770.
  20. ^Perrin, Anne-Flore; Rerabek, Martin; Husak, Walt; Ebrahimi, Touradj (May 2018)."ICtCp Versus Y'CbCr: Evaluation of ICtCp Color Space and an Adaptive Reshaper for HDR and WCG".IEEE Consumer Electronics Magazine.7(3): 38–47.doi:10.1109/MCE.2017.2714696.S2CID4800923.
  21. ^Peng Yin; Chad Fogg; Gary J. Sullivan; Alexis Michael Tourapis (2016-03-19)."Draft text for ICtCp support in HEVC (Draft 1)".JCT-VC.Retrieved2016-04-20.