Convert a NTSC image to the equivalent RGB image.
RGB = ntsc2rgb(YIQ)
A NTSC image (hypermat). The dimension of NTSC should be M x N x 3 , the type should be double and the element value range should be [0,1].
Output image, which has the same size as NTSC and type of double.
ntsc2rgb convert a NTSC image to the equivalent RGB image using:
R = Y + 0.956*I + 0.621*Q
G = Y - 0.272*I - 0.647*Q
B = Y - 1.105*I - 1.702*Q
Supported classe: DOUBLE.
RGB = imread(fullpath(getIPCVpath() + "/images/baboon.png")); YIQ = rgb2ntsc(RGB); RGB = ntsc2rgb(YIQ); imshow(RGB); | ![]() | ![]() |