YIQ

Last updated
The YIQ color space at Y=0.5. Note that the I and Q chroma coordinates are scaled up to 1.0. See the formulae below in the article to get the right bounds. YIQ IQ plane.svg
The YIQ color space at Y=0.5. Note that the I and Q chroma coordinates are scaled up to 1.0. See the formulae below in the article to get the right bounds.
An image along with its Y, I, and Q components YIQ components.jpg
An image along with its Y, I, and Q components

YIQ is the color space used by the analog NTSC color TV system. I stands for in-phase, while Q stands for quadrature, referring to the components used in quadrature amplitude modulation. Other TV systems used different color spaces, such as YUV for PAL or YDbDr for SECAM. Later digital standards use the YCbCr color space. These color spaces are all broadly related, and work based on the principle of adding a color component named chrominance , to a black and white image named luma .

Contents

In YIQ the Y component represents the luma information, and is the only component used by black-and-white television receivers. I and Q represent the chrominance information, with I indicating (roughly) orange-blue contrast, and Q indicating purple-green contrast. I and Q can be thought of as a second pair of axes on the same graph as the YUV color space, rotated 33°; therefore IQ and UV represent different coordinate systems on the same plane.

The YIQ system is intended to take advantage of human color-response characteristics. The eye is more sensitive to changes in the orange-blue (I) range than in the purple-green range (Q)therefore less bandwidth is required for Q than for I. Broadcast NTSC limits I to 1.3 MHz and Q to 0.4 MHz. I and Q are frequency interleaved into the 4 MHz Y signal, which keeps the bandwidth of the overall signal down to 4.2 MHz. In YUV systems, since U and V both contain information in the orange-blue range, both components must be given the same amount of bandwidth as I to achieve similar color fidelity.

Very few television sets perform true I and Q decoding, due to the high costs of such an implementation. Compared to the cheaper R-Y and B-Y decoding which requires only one filter, I and Q each requires a different filter to satisfy the bandwidth differences between I and Q. These bandwidth differences also require that the 'I' filter include a time delay to match the longer delay of the 'Q' filter. The Rockwell Modular Digital Radio (MDR) was one I and Q decoding set, which in 1997 could operate in frame-at-a-time mode with a PC or in realtime with the Fast IQ Processor (FIQP). Some RCA "Colortrak" home TV receivers made circa 1985 not only used I/Q decoding, but also advertised its benefits along with its comb filtering benefits as full "100 percent processing" to deliver more of the original color picture content. Earlier, more than one brand of color TV (RCA, Arvin) used I/Q decoding in the 1954 or 1955 model year on models utilizing screens about 13 inches (measured diagonally). The original Advent projection television used I/Q decoding. Around 1990, at least one manufacturer (Ikegami) of professional studio picture monitors advertised I/Q decoding.

Image processing

The YIQ representation is sometimes employed in color image processing transformations. For example, applying a histogram equalization directly to the channels in an RGB image would alter the color balance of the image. Instead, the histogram equalization is applied to the Y channel of the YIQ or YUV representation of the image, which only normalizes the brightness levels of the image.

Formulas

These formulas allow conversion between YIQ and RGB color spaces, where R, G, and B are gamma-corrected values. Values for the original 1953 NTSC colorimetry and later SMPTE C FCC standard.

The following formulas assume:

The ranges for I and Q [1] [2] are a result of the coefficients in the 2nd and 3rd rows of the RGB-to-YIQ equation matrix below, respectively.

NTSC 1953 colorimetry

NTSC 1953 colorimetry color cube (color profile encoded, requires a compatible browser and monitor for accurate display). NTSC 1953 RGB Colorcube.png
NTSC 1953 colorimetry color cube (color profile encoded, requires a compatible browser and monitor for accurate display).

These formulas approximate the conversion between the original 1953 color NTSC specification and YIQ. [3] [4] [5]

From RGB to YIQ

[6]

From YIQ to RGB

Note that the top row is identical to that of the YUV color space

FCC NTSC Standard (SMPTE C)

SMPTE C color cube (color profile encoded, requires a compatible browser and monitor for accurate display). SMPTE-C RGB color cube.png
SMPTE C color cube (color profile encoded, requires a compatible browser and monitor for accurate display).

In 1987, the Society of Motion Picture and Television Engineers (SMPTE) Committee on Television Technology, Working Group on Studio Monitor Colorimetry, adopted the SMPTE C. [7] [8] [9] The previous conversion formulas were deprecated, and the NTSC standard contained in the FCC rules for over-the-air analog color TV broadcasting adopted a different matrix: [10] [11]

From RGB to YIQ

in matrix notation, that equation system is written as:

Where:

  • is the gamma-corrected voltage of luma.
  • , and are the gamma-corrected voltages corresponding to red, green, and blue signals.
  • and are the amplitudes of the orthogonal components of the chrominance signal.

From YIQ to RGB

To convert from FCC YIQ to RGB:

From YUV to YIQ and vice versa

Due to orthogonal symmetry (symmetry is not required or enough) of the matrix the same matrix can be used for YIQ to YUV conversion. [12]

Phase-out

Most NTSC territories have switched over to digital television. For broadcasting in the United States, NTSC (and with it, YIQ) remained in use only for low-power television stations as of July 2011, well after full-power analog transmissions was ended by the Federal Communications Commission (FCC) on June 12, 2009, however these were also required to be shut down by the FCC on July 13, 2021, [13] thereby ending the use of NTSC (and YIQ for that matter) completely in that region.

Related Research Articles

<span class="mw-page-title-main">NTSC</span> Analog television system

NTSC is the first American standard for analog television, published and adopted in 1941. In 1961, it was assigned the designation System M. It is also known as EIA standard 170.

<span class="mw-page-title-main">Y′UV</span> Mathematical color model

Y′UV, also written YUV, is the color model found in the PAL analogue color TV standard. A color is described as a Y′ component (luma) and two chroma components U and V. The prime symbol (') denotes that the luma is calculated from gamma-corrected RGB input and that it is different from true luminance. Today, the term YUV is commonly used in the computer industry to describe colorspaces that are encoded using YCbCr.

<span class="mw-page-title-main">Chroma subsampling</span> Practice of encoding color images

Chroma subsampling is the practice of encoding images by implementing less resolution for chroma information than for luma information, taking advantage of the human visual system's lower acuity for color differences than for luminance.

<span class="mw-page-title-main">HSL and HSV</span> Alternative representations of the RGB color model

HSL and HSV are the two most common cylindrical-coordinate representations of points in an RGB color model. The two representations rearrange the geometry of RGB in an attempt to be more intuitive and perceptually relevant than the cartesian (cube) representation. Developed in the 1970s for computer graphics applications, HSL and HSV are used today in color pickers, in image editing software, and less commonly in image analysis and computer vision.

<span class="mw-page-title-main">D-1 (Sony)</span> Magnetic tape-based videocassette format

D-1 or 4:2:2 Component Digital is an SMPTE digital recording video standard, introduced in 1986 through efforts by SMPTE engineering committees. It started as a Sony and Bosch – BTS product and was the first major professional digital video format. SMPTE standardized the format within ITU-R 601, also known as Rec. 601, which was derived from SMPTE 125M and EBU 3246-E standards.

<span class="mw-page-title-main">YCbCr</span> Family of digital colour spaces

YCbCr, Y′CbCr, or Y Pb/Cb Pr/Cr, also written as YCBCR or Y′CBCR, is a family of color spaces used as a part of the color image pipeline in video and digital photography systems. Y′ is the luma component and CB and CR are the blue-difference and red-difference chroma components. Y′ is distinguished from Y, which is luminance, meaning that light intensity is nonlinearly encoded based on gamma corrected RGB primaries.

sRGB Standard RGB color space

sRGB is a standard RGB color space that HP and Microsoft created cooperatively in 1996 to use on monitors, printers, and the World Wide Web. It was subsequently standardized by the International Electrotechnical Commission (IEC) as IEC 61966-2-1:1999. sRGB is the current defined standard colorspace for the web, and it is usually the assumed colorspace for images that are neither tagged for a colorspace nor have an embedded color profile.

<span class="mw-page-title-main">Adobe RGB color space</span> Color space developed by Adobe

The Adobe RGB (1998) color space or opRGB is a color space developed by Adobe Inc. in 1998. It was designed to encompass most of the colors achievable on CMYK color printers, but by using RGB primary colors on a device such as a computer display. The Adobe RGB (1998) color space encompasses roughly 30% of the visible colors specified by the CIELAB color space – improving upon the gamut of the sRGB color space, primarily in cyan-green hues. It was subsequently standardized by the IEC as IEC 61966-2-5:1999 with a name opRGB and is used in HDMI.

YDbDr, sometimes written , is the colour space used in the SECAM analog colour television broadcasting standard. It is very close to YUV and its related colour spaces such as YIQ, YPbPr and YCbCr.

<span class="mw-page-title-main">YPbPr</span> Color space used in analog video

YPbPr or , also written as YPBPR, is a color space used in video electronics, in particular in reference to component video cables. Like YCBCR, it is based on gamma corrected RGB primaries; the two are numerically equivalent but YPBPR is designed for use in analog systems while YCBCR is intended for digital video. The EOTF may be different from common sRGB EOTF and BT.1886 EOTF. Sync is carried on the Y channel and is a bi-level sync signal, but in HD formats a tri-level sync is used and is typically carried on all channels.

<span class="mw-page-title-main">CIE 1931 color space</span> Color space defined by the CIE in 1931

In 1931 the International Commission on Illumination (CIE) published the CIE 1931 color spaces which define the relationship between the visible spectrum and the visual sensation of specific colors by human color vision. The CIE color spaces are mathematical models that create a "standard observer", which attempts to predict the perception of unique hues of color. These color spaces are essential tools that provide the foundation for measuring color for industry, including inks, dyes, and paints, illumination, color imaging, etc. The CIE color spaces contributed to the development of color television, the creation of instruments for maintaining consistent color in manufacturing processes, and other methods of color management.

<span class="mw-page-title-main">LMS color space</span> Color space represented by the response of the three types of cones of the human eye

LMS, is a color space which represents the response of the three types of cones of the human eye, named for their responsivity (sensitivity) peaks at long, medium, and short wavelengths.

Relative luminance follows the photometric definition of luminance including spectral weighting for human vision, but while luminance is a measure of light in units such as , relative luminance values are normalized as 0.0 to 1.0, with 1.0 being a theoretical perfect reflector of 100% reference white. Like the photometric definition, it is related to the luminous flux density in a particular direction, which is radiant flux density weighted by the luminous efficiency function of the CIE Standard Observer.

In video, luma represents the brightness in an image. Luma is typically paired with chrominance. Luma represents the achromatic image, while the chroma components represent the color information. Converting R′G′B′ sources into luma and chroma allows for chroma subsampling: because human vision has finer spatial sensitivity to luminance differences than chromatic differences, video systems can store and transmit chromatic information at lower resolution, optimizing perceived detail at a particular bandwidth.

MUSE, commercially known as Hi-Vision was a Japanese analog high-definition television system, with design efforts going back to 1979.

<span class="mw-page-title-main">Progressive Graphics File</span> File format

PGF is a wavelet-based bitmapped image format that employs lossless and lossy data compression. PGF was created to improve upon and replace the JPEG format. It was developed at the same time as JPEG 2000 but with a focus on speed over compression ratio.

The Academy Color Encoding System (ACES) is a color image encoding system created under the auspices of the Academy of Motion Picture Arts and Sciences. ACES is characterised by a color accurate workflow, with "seamless interchange of high quality motion picture images regardless of source".

The YCoCg color model, also known as the YCgCo color model, is the color space formed from a simple transformation of an associated RGB color space into a luma value and two chroma values called chrominance green (Cg) and chrominance orange (Co). It is supported in video and image compression designs such as H.264/MPEG-4 AVC, HEVC, VVC, JPEG XR, and Dirac. It is simple to compute, has good transform coding gain, and can be losslessly converted to and from RGB with fewer bits than are needed with other color models. A reversible scaled version with even lower bit depth, YCoCg-R, is also supported in most of these designs and is also used in Display Stream Compression. The more complete definition with variable bit depths of Y and chrominance values is given in ITU-T H.273.

<i>ICtCp</i>

ICTCP, ICtCp, or ITP is a color representation format specified in the Rec. ITU-R BT.2100 standard that is used as a part of the color image pipeline in video and digital photography systems for high dynamic range (HDR) and wide color gamut (WCG) imagery. It was developed by Dolby Laboratories from the IPT color space by Ebner and Fairchild. The format is derived from an associated RGB color space by a coordinate transformation 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 (HLG) nonlinearity functions, but is most commonly associated with the PQ function.

<span class="mw-page-title-main">EBU colour bars</span> Television test card

The EBU colour bars are a television test card used to check if a video signal has been altered by recording or transmission, and what adjustments must be made to bring it back to specification. It is also used for setting a television monitor or receiver to reproduce chrominance and luminance information correctly. The EBU bars are most commonly shown arranged side-by-side in a vertical manner, though some broadcasters – such as TVP in Poland, and Gabon Télévision in Gabon – were known to have aired a horizontal version of the EBU bars.

References

  1. "Color Spaces". culori. Retrieved 27 February 2022.
  2. Sedgewick; Wayne (2020). "Built-in Types of Data". introcs.cs.princeton.edu. Retrieved 27 February 2022.
  3. "rgb2ntsc: Convert RGB color values to NTSC color space". Image Processing Toolbox Documentation. MathWorks. Retrieved 28 June 2015.
  4. "ntsc2rgb: Convert NTSC values to RGB color space". Image Processing Toolbox Documentation. MathWorks. Retrieved 28 June 2015.
  5. 47 CFR § 73.682 (20) (iv)
  6. "ITU-R BT.1700 Characteristics of composite video signals for conventional analogue television systems" (zip/pdf). International Telecommunication Union. 2004-11-30. S170m-2004.pdf: Composite Analog Video Signal NTSC for Studio Applications Page 6. Retrieved 2019-04-16.
  7. Society of Motion Picture and Television Engineers (1987–2004): Recommended Practice RP 145-2004. Color Monitor Colorimetry.
  8. Society of Motion Picture and Television Engineers (1994, 2004): Engineering Guideline EG 27-2004. Supplemental Information for SMPTE 170M and Background on the Development of NTSC Color Standards, pp. 9
  9. Advanced Television Systems Committee (2003): ATSC Direct-to-Home Satellite Broadcast Standard Doc. A/81, pp.18
  10. § 73.682 TV transmission standards (PDF). FCC. 2013. p. 210.
  11. Rec. ITU-R BT.470-6 - Conventional Television Systems (PDF). ITU-R. 1998. p. 9.
  12. "Chapter 3: Color Spaces" (PDF). Retrieved 2022-03-05.
  13. "Low Power Television Service". fcc.gov. FCC. Retrieved June 24, 2024.

Further reading