<< xs2im SIVP - Scilab Image and Video Processing Toolbox

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

ycbcr2rgb

Convert a YCbCr image to the equivalent RGB image.

Calling Sequence

RGB = ycbcr2rgb(YCC)

Parameters

YCC
A YCbCr image (hypermat). The dimension of YCbCr 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 YCC and type of double.

Description

ycbcr2rgb convert a RGB image to the equivalent YCbCr image using:

Supported classe: DOUBLE.

Examples

RGB = imread('lena.png');
YCC = rgb2ycbcr(RGB);
RGB = ycbcr2rgb(YCC);
imshow(RGB);

Authors

Availability

The latest version of SIVP can be found at

http://sivp.sf.net

See Also

<< xs2im SIVP - Scilab Image and Video Processing Toolbox