MATLAB: How to convert Lab to RGB image and its matlab code

color space conversionImage Processing Toolbox

In my program,first converted rgb image to lab but after processing the image , i want convert Lab to rgb image. so i request you, pls provide matlab code for converting lab to rgb image?

Best Answer

help cform tells you
rgb = imread('peppers.png');
cform = makecform('srgb2lab');
lab = applycform(rgb, cform);