Navigation

Operators and Keywords

Function List:

C++ API

: rgb_map = ntsc2rgb (yiq_map)
: rgb_img = ntsc2rgb (yiq_img)

Transform a colormap or image from luminance-chrominance (NTSC) space to red-green-blue (RGB) color space.

Implementation Note: The conversion matrix is chosen to be the inverse of the matrix used for rgb2ntsc such that

x == ntsc2rgb (rgb2ntsc (x))

MATLAB uses a slightly different matrix where rounding means the equality above does not hold.

See also: rgb2ntsc, hsv2rgb, ind2rgb.

Package: octave