Converts from RGB to YIQ colorspace
YIQ = rgb2ntsc(RGB)
rgb2ntsc(RGB) converts an RGB image or colormap from RGB to YIQ colorspace. The YIQ model is used in NTSC and European TV's. It is useful for b&w and color compatibility, since the cromaticity (I and Q) and luminance (Y) are conveniently isolated. rgb2ntsc(RGB) uses the following operation to convert each RGB triplet:
http://siptoolbox.sf.net