Specifications
Intel
®
Image Processing Library Reference Manual
9-14
9
RGB2LUV
Converts RGB images
to the LUV color model.
void iplRGB2LUV(IplImage*
rgbImage
, IplImage*
luvImage
);
rgbImage
ThesourceRGBimage.
luvImage
The resultant LUV image.
Discussion
The function converts the RGB image
rgbImage
to the LUV image
luvImage
. The function checks that the input image is an RGB image; it
sets the channel sequence and color model of the output image to LUV.
The function processes 32f images only.
LUV2RGB
Converts LUV images to
the RGB color model.
void iplLUV2RGB(IplImage*
luvImage
, IplImage*
rgbImage
);
luvImage
ThesourceLUVimage.
rgbImage
The resultant RGB image.
Discussion
The function converts the LUV image
luvImage
to the RGB image
rgbImage
. The function checks that the input image is an LUV image and
that the output image is RGB.
The function processes 32f images only.