RGB2LUV_CVIP
rgb2luv_cvip() - This function converts RGB Color space to L* u* v* Color space.
Contents
SYNTAX
OutputImage = rgb2luv_cvip(InputImage, type)
Input Parameter include :
- InputImage - RGB color value Image
- type - output image preference (0,1) (0 = Forward non normalized output) (1 = gives normalized output)
Output Parameter include :
- Output Image - Output L* u* v* Image
DESCRIPTION
This function converts RGB (Red-Green-Blue) color space to L* u* v* Color space. The CIE L* u* v* color space is commonly known by its abbreviation CIELUV. This color space is perceptually uniform and is extensively used for applications such as computer graphics which deal with colored lights.
REFERENCE
Jain, Anil K., Fundamentals of Digital Image Processing, Prentice-Hall, ISBN 0-13-336165-9, 1989.
EXAMPLE
% Read Image ipImage1=imread('Car.bmp'); % Call function luvImage = rgb2luv_cvip(ipImage1, 1); % Display Input Image figure;imshow(ipImage1);title('Input RGB Image'); % Display Output Image figure;imshow(remap_cvip(luvImage),[]);title('Output L* u* v* Image');
CREDITS
Author: Deependra Mishra, March 2017
Copyright © 2017-2018 Scott
E Umbaugh
For updates visit CVIP Toolbox Website