MATLAB: Decompose an image in YIQ.

yiq

Could someone tell me how i could go about decomposing an RGB image into YIQ? So far i have
I = imread('imagefile') R = I(:,:,1) G = I(:,:,2) B = I(:,:,3)
I also need to display the Y component of YIQ.
Thanks,

Best Answer

The rgb2ntsc that you used in your earlier question is fine. How to display the image was already discussed in http://www.mathworks.com/matlabcentral/answers/321816-how-do-i-correctly-display-the-y-component-of-a-yiq-image#answer_251914 which is waiting for your response.
Related Question