<< meanshift SIVP - Scilab Image and Video Processing Toolbox rectangle >>

SIVP - Scilab Image and Video Processing Toolbox >> SIVP - Scilab Image and Video Processing Toolbox > ntsc2rgb

ntsc2rgb

Convert a NTSC image to the equivalent RGB image.

Calling Sequence

RGB = ntsc2rgb(YIQ)

Parameters

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].
RGB
Output image, which has the same size as NTSC and type of double.

Description

ntsc2rgb convert a NTSC image to the equivalent RGB image using:

Supported classe: DOUBLE.

Examples

RGB = imread('lena.png');
YIQ = rgb2ntsc(RGB);
RGB = ntsc2rgb(YIQ);
imshow(RGB);

Authors

Availability

The latest version of SIVP can be found at

http://sivp.sf.net

See Also

<< meanshift SIVP - Scilab Image and Video Processing Toolbox rectangle >>