YIQ
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. 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:
- [math]\displaystyle{ R, G, B, Y \in \left[ 0, 1 \right], \quad I \in \left[-0.5957, 0.5957\right], \quad Q \in \left[-0.5226, 0.5226\right] }[/math]
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
- [math]\displaystyle{ \begin{bmatrix} Y \\ I \\ Q \end{bmatrix} \approx \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} }[/math] [6]
From YIQ to RGB
- [math]\displaystyle{ \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} }[/math]
Note that the top row is identical to that of the YUV color space
- [math]\displaystyle{ \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} }[/math]
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
- [math]\displaystyle{ \left \{ \begin{array}{ccl} E_Y^\prime&=&0.30E_R^\prime+0.59E_G^\prime+0.11E_B^\prime\\ E_I^\prime&=&-0.27(E_B^\prime-E_Y^\prime)+0.74(E_R^\prime-E_Y^\prime)\\ E_Q^\prime&=&0.41(E_B^\prime-E_Y^\prime)+0.48(E_R^\prime-E_Y^\prime) \end{array} \right . }[/math]
in matrix notation, that equation system is written as:
- [math]\displaystyle{ \begin{bmatrix} E_Y^\prime \\ E_I^\prime \\ E_Q^\prime \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} E_R^\prime \\ E_G^\prime \\ E_B^\prime \end{bmatrix} }[/math]
Where:
- [math]\displaystyle{ E_Y^\prime }[/math] is the gamma-corrected voltage of luma.
- [math]\displaystyle{ E_R^\prime }[/math], [math]\displaystyle{ E_G^\prime }[/math] and [math]\displaystyle{ E_B^\prime }[/math] are the gamma-corrected voltages corresponding to red, green, and blue signals.
- [math]\displaystyle{ E_I^\prime }[/math] and [math]\displaystyle{ E_Q^\prime }[/math] are the amplitudes of the orthogonal components of the chrominance signal.
From YIQ to RGB
To convert from FCC YIQ to RGB:
- [math]\displaystyle{ E_R^\prime = E_Y^\prime + 0.9469 E_I^\prime + 0.6236 E_Q^\prime }[/math]
- [math]\displaystyle{ E_G^\prime = E_Y^\prime - 0.2748 E_I^\prime - 0.6357 E_Q^\prime }[/math]
- [math]\displaystyle{ E_B^\prime = E_Y^\prime - 1.1 E_I^\prime + 1.7 E_Q^\prime }[/math]
From YUV to YIQ and vice versa
[math]\displaystyle{ \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} \approx \begin{bmatrix} 1 & 0 & 0 \\ 0 & -0.54464 & 0.83867 \\ 0 & 0.83867 & 0.54464 \end{bmatrix} \begin{bmatrix} Y' \\ U \\ V \end{bmatrix} }[/math]
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
For broadcasting in the United States, it is currently in use only for low-power television stations, as full-power analog transmission was ended by the Federal Communications Commission (FCC) on 12 June 2009. It is still federally mandated for these transmissions as shown in this excerpt of the current FCC rules and regulations part 73 "TV transmission standard":
“ | The equivalent bandwidth assigned prior to modulation to the color difference signals EQ′ and EI′ are as follows:
Q-channel bandwidth: At 400 kHz less than 2 dB down. At 500 kHz less than 6 dB down. At 600 kHz at least 6 dB down. I-channel bandwidth: At 1.3 MHz less than 2 dB down. At 3.6 MHz at least 20 dB down. |
” |
References
- ↑ "Color Spaces". https://culorijs.org/color-spaces/.
- ↑ Sedgewick; Wayne (2020). "Built-in Types of Data". https://introcs.cs.princeton.edu/java/12types/.
- ↑ "rgb2ntsc: Convert RGB color values to NTSC color space". MathWorks. http://www.mathworks.com/help/images/ref/rgb2ntsc.html.
- ↑ "ntsc2rgb: Convert NTSC values to RGB color space". MathWorks. http://www.mathworks.com/help/images/ref/ntsc2rgb.html.
- ↑ 47 CFR § 73.682 (20) (iv)
- ↑ "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. https://www.itu.int/rec/R-REC-BT.1700-0-200502-I/en.
- ↑ Society of Motion Picture and Television Engineers (1987–2004): Recommended Practice RP 145-2004. Color Monitor Colorimetry.
- ↑ 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
- ↑ Advanced Television Systems Committee (2003): ATSC Direct-to-Home Satellite Broadcast Standard Doc. A/81, pp.18
- ↑ § 73.682 TV transmission standards. FCC. 2013. pp. 210. https://www.govinfo.gov/content/pkg/CFR-2013-title47-vol4/pdf/CFR-2013-title47-vol4-sec73-682.pdf.
- ↑ Rec. ITU-R BT.470-6 - CONVENTIONAL TELEVISION SYSTEMS. ITU-R. 1998. pp. 9. https://www.itu.int/dms_pubrec/itu-r/rec/bt/R-REC-BT.470-6-199811-S!!PDF-E.pdf#page=9.
- ↑ "Chapter 3: Color Spaces". https://www.compression.ru/download/articles/color_space/ch03.pdf.
Further reading
- Buchsbaum, Walter H. Color TV Servicing, third edition. Englewood Cliffs, NJ: Prentice Hall, 1975. ISBN:0-13-152397-X
Original source: https://en.wikipedia.org/wiki/YIQ.
Read more |