MATLAB: How do i correctly display the Y component of a YIQ image yiq Current I just did YIQ = rgb2ntsc(RGB);Y = YIQ(:,:,1);imshow(Y) Best Answer imshow(Y) is correct. The data you get will be in the range 0 to 1; imshow will detect that, and will automatically add in a grayscale colormap.You can also useY8 = im2uint8(Y);and now if youZ = rgb2gray(RGB);then Y8 and Z should be identical (or nearly so -- identical in the test I did.) Related SolutionsMATLAB: Matlab imshow this gives an error with imsubstract because the images are not of the same size. MATLAB: Decompose an image in YIQ. 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 QuestionHow to get back the rgb image from r g b component“Index exceeds matrix dimensions” in imwrite()How to convert RGB to YIQ color space
Best Answer