
Convert RGB to other color spaces
This set of functions the convert RGB color space to other color spaces such as HLS, HSV, YIQ, YUV, YCbCr and CIE_XYZ.Three grayscale images will be generated for each of three color channels. Note that the intensity of these grayscale images may have been rescaled to the range of [0,255].
The following example shows the same image in different color spaces.

![]() |
VIPBase © 2006 Fengjun Lv |
Last update: 08/01/2006 (check html) |
