ntsc2rgb
NTSC值转换为RGB有限公司lor space
Syntax
rgbmap = ntsc2rgb(yiqmap)
RGB = ntsc2rgb(YIQ)
Description
rgbmap = ntsc2rgb(yiqmap)
converts them
-by-3 NTSC (television) color values inyiqmap
to RGB color space. Ifyiqmap
ism
-by-3 and contains the NTSC luminance(Y)and chrominance(IandQ)color components as columns, thenrgbmap
is anm
-by-3 matrix that contains the red, green, and blue values equivalent to those colors. Bothrgbmap
andyiqmap
contain intensities in the range 0 to 1.0. The intensity 0 corresponds to the absence of the component, while the intensity 1.0 corresponds to full saturation of the component.
RGB = ntsc2rgb(YIQ)
converts the NTSC imageYIQ
to the equivalent truecolor image RGB.
ntsc2rgb
computes the RGB values from the NTSC components using
Class Support
The input image or colormap must be of classdouble
. The output is of classdouble
.