MATLAB: How to convert from RGB to L*u*v* color space

colorcolor spacedigital image processingimage processingImage Processing Toolbox

Hi every body;
To convert an image an RGB image to L*u*V* color space i convert image to xyz then to l*u*v*….using that code:
>> cform = makecform('srgb2xyz');
>> xyz_img = applycform(img,cform);
>> cform = makecform('xyz2uvl');
>> luv_img = applycform(img,cform);
I wana to ask if their is any directly change from rgb to l*u*v*?
Thank You..

Best Answer

It's not in the list of available transforms so no, there is no way to go from RGB to LUV directly in one call to makecform().