Computer Science Related Others Courses AvailableThe Best Codder.blogspot.com

YIQ Color Model in Computer Graphics

 

YIQ Color Model in Computer Graphics

During the early days of color television, black-and-white sets were still expected to display what were originally color images. YIQ model separated chrominance from luminance. Luminance information is contained on the Y-channel, whereas color information is carried on I and Q channels (in-phase and in-quadrature) , in-short  YIQ(Luminance, In-phase, Quadrature). In addition to providing a signal that could be displayed directly on black-and-white TVs, the system provided easy coding and decoding of RGB signals which was not directly possible.

Due to the fact that the Y-channel carries a lot of luminance information, it has a bandwidth assigned to it of 4Mhz, I-channel has a bandwidth assigned to it of 1.5Mhz, and Q-channel has a bandwidth of 0.6Mhz.

The intensity for every pixel decided by Y-channel

 


Y ,I and Q Representation

 

The Y component is the grayscale to drive old black-and-white TVs. The I component goes from orange to blue and the Q component goes from purple to green.

To find I-channel and Q-channel:

In-Phase = Red - Yellow
Quadrature = Blue - Yellow

It is not possible to directly display a YIQ image while developing. The show function only recognizes RGB colors. If you try to display an image in another colorspace, the show function will display the wrong color. To use show, we have to use conversions.

  • From YIQ to RGB conversion:

\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}

  • From RGB to YIQ conversion:

 \begin{bmatrix} Y\\ I\\ Q \end{bmatrix} = \begin{bmatrix} 0.299 &  0.587 &  0.114\\ 0.596 &  -0.275&  -0.321\\ 0.212 &  -0.523 &  0.311\\ \end{bmatrix}  \begin{bmatrix} R \\ G\\ B \end{bmatrix}

 

Advantages:

  • The advantage of this model is that more width can be assigned to the Y-component (Luminance) because the human visual system is more sensitive to changes in luminance than to changes in hue or saturation.
  • For display on a screen, color television sets map these channels Y, I, and Q to R, G, and B.
  • Disadvantage:

    • Due to the high implementation costs for true I and Q decoding, few television sets do it.
    • To accommodate the bandwidth variances between I and Q, each of I and Q needs a distinct filter.
    • Due to different bandwidths, the “I” filter has a time delay to match the “Q” filter’s long delay.
    • In black-and-white TV only Only Y can be noticed. 
  • YIQ color space

    YIQ is the color space used by the NTSC color TV system, employed mainly in North and Central America, and Japan. I stands for in-phase, while Q stands for quadrature, referring to the components used in quadrature amplitude modulation. Some forms of NTSC now use the YUV color space, which is also used by other systems such as PAL.

    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 approximate the conversion between the RGB color space and YIQ for a non-FCC version of NTSC.

    Preconditions
    The following formulas assume:


    From RGB to YIQ

    From YIQ to RGB

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


    FCC NTSC Standard
    The NTSC standard contained in the FCC rules for over-the-air analog color TV broadcasting uses a slightly different matrix:


  • 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.

    To convert from FCC YIQ to RGB:

    ER’ = EY’ + 0.9469 * EI’ + 0.6236 * EQ’

    EG’ = EY’ – 0.2748 * EI’ – 0.6357 * EQ’

    EB’ = EY’ – 1.1 * EI’ + 1.7 * EQ’

    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.

Post a Comment

© Computer Graphics. The Best Codder All rights reserved. Distributed by