HOME

TheInfoList



OR:

''ICTCP'', ''ICtCp'', or ''ITP'' is a
color representation format Color (or colour in Commonwealth English; see spelling differences) is the visual perception based on the electromagnetic spectrum. Though color is not an inherent property of matter, color perception is related to an object's light absorpt ...
specified in the Rec. ITU-R BT.2100 standard that is used as a part of the
color image pipeline An image pipeline or video pipeline is the set of components commonly used between an image source (such as a camera, a scanner, or the rendering engine in a computer game), and an image renderer (such as a television set, a computer screen, a comp ...
in
video Video is an Electronics, electronic medium for the recording, copying, playback, broadcasting, and display of moving picture, moving image, visual Media (communication), media. Video was first developed for mechanical television systems, whi ...
and
digital photography Digital photography uses cameras containing arrays of electronic photodetectors interfaced to an analog-to-digital converter (ADC) to produce images focused by a lens, as opposed to an exposure on photographic film. The digitized image is ...
systems for
high dynamic range High dynamic range (HDR), also known as wide dynamic range, extended dynamic range, or expanded dynamic range, is a signal with a higher dynamic range than usual. The term is often used in discussing the dynamic ranges of images, videos, audio o ...
(HDR) and
wide color gamut In color reproduction and colorimetry, a gamut, or color gamut , is a convex set containing the colors that can be accurately represented, i.e. reproduced by an output device (e.g. printer or display) or measured by an input device (e.g. ca ...
(WCG) imagery. It was developed by
Dolby Laboratories Dolby Laboratories, Inc. (Dolby Labs or simply Dolby) is a British-American technology corporation specializing in audio noise reduction, audio data compression, audio encoding/compression, spatial audio, and high-dynamic-range television (H ...
from the ''IPT'' color space by Ebner and Fairchild.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 The format is derived from an associated ''
RGB The RGB color model is an additive color model in which the red, green, and blue primary colors of light are added together in various ways to reproduce a broad array of colors. The name of the model comes from the initials of the three ...
''
color space A color space is a specific organization of colors. In combination with color profiling supported by various physical devices, it supports reproducible representations of colorwhether such representation entails an analog or a digital represe ...
by a
coordinate transformation In geometry, a coordinate system is a system that uses one or more numbers, or coordinates, to uniquely determine and standardize the position of the points or other geometric elements on a manifold such as Euclidean space. The coordinates are ...
that includes two matrix transformations and an intermediate nonlinear transfer function that is informally known as gamma pre-correction. The transformation produces three signals called ''I'', ''CT'', and ''CP''. The ''ICTCP'' transformation can be used with ''RGB'' signals derived from either the perceptual quantizer (PQ) or
hybrid log–gamma The hybrid log–gamma (HLG) transfer function is a transfer function jointly developed by the BBC and NHK for high dynamic range (HDR) display. It is backward compatible with the transfer function of SDR (the gamma curve). It was approved as ARIB ...
(HLG) nonlinearity functions, but is most commonly associated with the PQ function (which was also developed by Dolby). The ''I'' ("intensity") component is a luma component that represents the brightness of the video, and ''CT'' and ''CP'' are blue-yellow (named from
tritanopia Color blindness, color vision deficiency (CVD) or color deficiency is the decreased ability to see color or differences in color. The severity of color blindness ranges from mostly unnoticeable to full absence of color perception. Color bl ...
) and red-green (named from
protanopia Color blindness, color vision deficiency (CVD) or color deficiency is the decreased ability to see color or differences in color. The severity of color blindness ranges from mostly unnoticeable to full absence of color perception. Color bl ...
) chroma components. Ebner also used IPT as short for "Image Processing Transform". The ''ICTCP'' color representation scheme is conceptually related to the ''LMS'' color space, as the color transformation from ''RGB'' to ''ICTCP'' is defined by first converting ''RGB'' to ''LMS'' with a 3×3 matrix transformation, then applying the nonlinearity function, and then converting the nonlinear signals to ''ICTCP'' using another 3×3 matrix transformation. ICTCP was defined as a YCC digital format with support for 4:4:4, 4:2:2 and 4:2:0
chroma subsampling Chroma subsampling is the practice of encoding images by implementing less resolution for Chrominance, chroma information than for luma (video), luma information, taking advantage of the human visual system's lower acuity for color differences t ...
in CTA-861-H (that means that in limited range 10 bit mode 0, 1, 2, 3, 1020, 1021, 1022, 1023 values are reserved).


Derivation

''ICTCP'' is defined by Rec. 2100 as being derived from linear ''RGB'' as follows: # Calculate ''LMS'' from BT.2100 RGB: \begin L\\M\\S \end = \frac \begin 1688 & 2146 & 262\\ 683 & 2951 & 462\\ 99 & 309 & 3688 \end \begin R\\G\\B \end # Normalize the LMS by a non-linearity: #* If the PQ transfer function is used: \begin L'\\M'\\S' \end = EOTF_^ \left( \begin L\\M\\S \end \right) #* If the HLG transfer function is used: \begin L'\\M'\\S' \end = OETF_ \left( \begin L\\M\\S \end \right) #Calculate ''ICTCP'': #*for PQ: \begin I\\C_T\\C_P \end = \frac \begin 2048 & 2048 & 0\\ 6610 & -13613 & 7003\\ 17933 & -17390 & -543 \end \begin L'\\M'\\S' \end #*for HLG: \begin I\\C_T\\C_P \end = \frac \begin 2048 & 2048 & 0\\ 3625 & -7465 & 3840\\ 9500 & -9212 & -288 \end \begin L'\\M'\\S' \end All three above mentioned matrixes were derived (only the first 2 are documented derivations) 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 decoding ''ICTCP'' matrixes are specified in ITU-T Series H Supplement 18. ICTCP is defined such that the entire BT.2020 space fits into the range
, 1 The comma is a punctuation mark that appears in several variants in different languages. Some typefaces render it as a small line, slightly curved or straight, but inclined from the vertical; others give it the appearance of a miniature fille ...
for I and 0.5, +0.5for the two chroma components. The related
uniform color space A color appearance model (CAM) is a mathematical model that seeks to describe the perceptual aspects of human color vision, i.e. viewing conditions under which the appearance of a color does not tally with the corresponding physical measurement o ...
ITP used in ΔEITP (Rec. 2124) scales CT by 0.5 to restore uniformity. There is support for ICtCp in zimg (including zimg as part of FFmpeg) and color-science, for both HLG and PQ.


In IPT

The preceder to ''ICTCP'', Ebner & Fairchild IPT
color appearance model A color appearance model (CAM) is a mathematical model that seeks to describe the perceptual aspects of human color vision, i.e. viewing conditions under which the appearance of a color does not tally with the corresponding physical measurement ...
(1998), has a mostly similar transformation pipeline of input → LMS → nonlinearity → IPT. The differences are that it defines its input to the more general
CIEXYZ In 1931, the International Commission on Illumination (CIE) published the CIE 1931 color spaces which define the relationship between the visible spectrum and human color vision. The CIE color spaces are mathematical models that comprise a "stan ...
tristimulus color space and as a result has a more conventional Hunt-Pointer-Estevez (for D65) matrix for LMS. The nonlinearity is a fixed gamma of 0.43, quite close to the one used by RLAB. The second matrix here is slightly different from the ''ICTCP'' matrix, mainly in that it also considers S (blue cone) for intensity, but ''ICTCP'' has 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: # Calculate LMS (see for D65, slightly different): \begin L\\M\\S \end = \begin 0.4002 & 0.7075 & -0.0807 \\ -0.2280 & 1.1500 & 0.0612 \\ 0 & 0 & 0.9184 \end \begin X\\Y\\Z \end # Nonlinearity (L'M'S'): For each of L, M, S components apply a power function: X' = \begin X^ &\text X \ge 0\\ -(-X)^ &\text X < 0 \end # \begin I\\P\\T \end = \begin 0.4000 & 0.4000 & 0.2000\\ 4.4550 & -4.8510 & 0.3960\\ 0.8056 & 0.3572 & -1.1628 \end \begin L'\\M'\\S' \end


IPTPQc2

IPTPQc2 is another related colorspace used by
Dolby Vision Dolby Vision is a set of technologies developed by Dolby Laboratories for high dynamic range (HDR) video. It covers content creation, distribution, and playback. It includes dynamic metadata that define the aspect ratio and adjust the picture ...
profile 5 BL+RPU (without EL). 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 as IPTPQc2/IPT, as the matrix is in fact the same as in the 1998 IPT paper, just in inverse representation. Documentation on this format is scarce due to its proprietary nature, but a patent on the "IPT-PQ" (perceptually quantized IPT) color space The matrix is as follows: \begin I\\P\\T \end_ = \left( \frac \begin 8192 & 799 & 1681\\ 8192 & -933 & 1091\\ 8192 & 267 & -5545 \end \right)^ \begin L'\\M'\\S' \end Note the matrix inversion used and an error was made in patent in 1091 number 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. The second step, the dynamic range adjustment modeling (reshaping), is also defined in the patent. It is used by
Disney+ The Walt Disney Company, commonly referred to as simply Disney, is an American multinational mass media and entertainment industry, entertainment conglomerate (company), conglomerate headquartered at the Walt Disney Studios (Burbank), Walt Di ...
,
Apple TV+ Apple TV+ is an American subscription over-the-top streaming service owned by Apple. The service launched on November 1, 2019, and it offers a selection of original production film and television series called Apple Originals. The service w ...
and
Netflix Netflix is an American subscription video on-demand over-the-top streaming service. The service primarily distributes original and acquired films and television shows from various genres, and it is available internationally in multiple lang ...
. Decoder of IPTPQc2 with reshaping and MMR (but no NLQ and dynamic metadata) is available in libplacebo. Support for decoding all stages was added in mpv.


Characteristics

''ICTCP'' has near constant luminance. The
correlation coefficient A correlation coefficient is a numerical measure of some type of linear correlation, meaning a statistical relationship between two variables. The variables may be two columns of a given data set of observations, often called a sample, or two c ...
between encoded ''I'' and true luminance is 0.998, much higher than the 0.819 for ''YCBCR''. An improved constant luminance versus ''YCBCR'' is an advantage for color processing operations such as
chroma subsampling Chroma subsampling is the practice of encoding images by implementing less resolution for Chrominance, chroma information than for luma (video), luma information, taking advantage of the human visual system's lower acuity for color differences t ...
and
gamut mapping Color management is the process of ensuring consistent and accurate colors across various devices, such as monitors, printers, and cameras. It involves the use of color profiles, which are standardized descriptions of how colors should be displa ...
where only the color difference information is changed. ''ICTCP'' also improves hue linearity compared with ''YCBCR'', which helps with compression performance and color volume mapping. Adaptive reshaping can further provide a 10% improvement on compression performance. Improvement in luminance and hue uniformity make scaled ''ICTCP'' a practical color space for calculating color differences ( ΔEITP), as introduced by ITU-R Rec. BT.2124. In terms of CIEDE2000 color quantization error, 10-bit ''ICTCP'' would be equivalent to 11.5 bit ''YCBCR''.


Uses

''ICTCP'' is supported in the
HEVC High Efficiency Video Coding (HEVC), also known as H.265 and MPEG-H Part 2, is a video compression standard designed as part of the MPEG-H project as a successor to the widely used Advanced Video Coding (AVC, H.264, or MPEG-4 Part 10). In co ...
video coding standard. It is also a digital YCC format and can be signaled in
EDID Extended Display Identification Data (EDID) and Enhanced EDID (E-EDID) are metadata formats for display devices to describe their capabilities to a video source (e.g., graphics card or set-top box). The data format is defined by a standard publish ...
's Colorimetry block as part of CTA-861-H.


References

{{Color space Color space High dynamic range Ultra-high-definition television