Tuesday, October 14, 2014

YIQ Color Space

The YIQ color space
YIQ is derived from the YUV color space
and is optionally used by the NTSC composite
color video standard. (The ā€œIā€ stands for ā€œinphaseā€
and the ā€œQā€ for ā€œquadrature,ā€ which is
the modulation method used to transmit the
color information.) The basic equations to convert
between RĀ“GĀ“BĀ“ and YIQ are:

For digital RĀ“GĀ“BĀ“ values with a range of 0ā€“ 255, Y has a range of 0ā€“255, I has a range of 0 to Ā±152, and Q has a range of 0 to Ā±134. I and Q are obtained by rotating the U and V axes 33Ā°. These equations are usually scaled to simplify the implementation in an actual NTSC digital encoder or decoder. Note that for digital data, 8-bit YIQ and RĀ“GĀ“BĀ“ data should be saturated at the 0 and 255 levels to avoid underflow and overflow wrap-around problems.

No comments:

Post a Comment