YIQ explained

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.

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 red-cyan contrast, and Q indicating magenta-green contrast. In YUV, the U and V components can be thought of as X and Y coordinates within the color space. I and Q can be thought of as a second pair of axes on the same graph, 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:

R,G,B,Y\in\left[0,1\right],I\in\left[-0.5957,0.5957\right],Q\in\left[-0.5226,0.5226\right]

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

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

From RGB to YIQ

\begin{bmatrix}Y\I\Q\end{bmatrix} \begin{bmatrix} 0.299&0.587&0.114\\ 0.5959&-0.2746&-0.3213\\ 0.2115&-0.5227&0.3112 \end{bmatrix} \begin{bmatrix}R\G\B\end{bmatrix}

[6]

From YIQ to RGB

\begin{bmatrix}R\G\B\end{bmatrix} = \begin{bmatrix} 1&0.956&0.619\\ 1&-0.272&-0.647\\ 1&-1.106&1.703 \end{bmatrix} \begin{bmatrix}Y\I\Q\end{bmatrix}

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

\begin{bmatrix}R\G\B\end{bmatrix}=\begin{bmatrix}1\ 1\ 1\end{bmatrix}\implies\begin{bmatrix}Y\I\Q\end{bmatrix}=\begin{bmatrix}1\ 0\ 0\end{bmatrix}

FCC NTSC Standard (SMPTE C)

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

\left

\prime) \end{array} \right
\{ \begin{array}{ccl} E
Y

.

in matrix notation, that equation system is written as:

\begin{bmatrix}

\prime
E
Y
\prime
\E
I
\prime
\E
Q

\end{bmatrix} = \begin{bmatrix} 0.30&0.59&0.11\\ 0.599&-0.2773&-0.3217\\ 0.213&-0.5251&0.3121 \end{bmatrix} \begin{bmatrix}

\prime
E
R
\prime
\E
G
\prime
\E
B

\end{bmatrix}

Where:

\prime
E
Y
is the gamma-corrected voltage of luma.
\prime
E
R
,
\prime
E
G
and
\prime
E
B
are the gamma-corrected voltages corresponding to red, green, and blue signals.
\prime
E
I
and
\prime
E
Q
are the amplitudes of the orthogonal components of the chrominance signal.

From YIQ to RGB

To convert from FCC YIQ to RGB:

\prime
E
R

=

\prime
E
Y

+0.9469

\prime
E
I

+0.6236

\prime
E
Q
\prime
E
G

=

\prime
E
Y

-0.2748

\prime
E
I

-0.6357

\prime
E
Q
\prime
E
B

=

\prime
E
Y

-1.1

\prime
E
I

+1.7

\prime
E
Q

From YUV to YIQ and vice versa

\begin{bmatrix}Y'\I\Q\end{bmatrix} = \begin{bmatrix}1&0&0\ 0&-\sin(33\circ)&\cos(33\circ)\ 0&\cos(33\circ)&\sin(33\circ)\end{bmatrix} \begin{bmatrix}Y'\U\V\end{bmatrix} \begin{bmatrix}1&0&0\ 0&-0.54464&0.83867\ 0&0.83867&0.54464\end{bmatrix} \begin{bmatrix}Y'\U\V\end{bmatrix}

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 full-power analog transmission was ended by the Federal Communications Commission (FCC) on June 12, 2009. Even these stations were forced to stop broadcasting effective as of July 13, 2021.[13]

Further reading

Notes and References

  1. Web site: Color Spaces . 27 February 2022 . culori.
  2. Web site: Sedgewick . Wayne . 2020 . Built-in Types of Data . 27 February 2022 . introcs.cs.princeton.edu.
  3. Web site: rgb2ntsc: Convert RGB color values to NTSC color space . Image Processing Toolbox Documentation . MathWorks . 28 June 2015.
  4. Web site: ntsc2rgb: Convert NTSC values to RGB color space . Image Processing Toolbox Documentation . MathWorks . 28 June 2015.
  5. 47 CFR § 73.682 (20) (iv)
  6. Web site: International Telecommunication Union. ITU-R BT.1700 Characteristics of composite video signals for conventional analogue television systems. S170m-2004.pdf: Composite Analog Video Signal NTSC for Studio Applications Page 6. zip/pdf. 2004-11-30. 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. Book: § 73.682 TV transmission standards . FCC . 2013 . 210.
  11. Book: Rec. ITU-R BT.470-6 - Conventional Television Systems . ITU-R . 1998 . 9.
  12. Web site: Chapter 3: Color Spaces . 2022-03-05.
  13. Web site: Low Power Television Service . . . fcc.gov . FCC . June 24, 2024 .