I have 6 images and store it in a cell. I then convert it to LAB space. But how do I get the L, a and b channel from the cell? Here's my code:
clearimgformat = 'LCC%d.jpg';for k = 1:6 LCC{k} = imread(sprintf(imgformat, k)); cform = makecform('srgb2lab'); lab_Image{k} = applycform(LCC{k},cform);end
How am I going to get all the L, a and b channel of those 6 images? How should I use the LChannel = lab_Image(:, :, 1); code when working with cell?
Thanks
Best Answer