I = imread('1.png');
transform_lab=makecform('srgb2lab');
transform_lab=applyform(I,transform_lab);
transform_lab=lab2double(transform_lab)
%显示lab颜色空间的三个分量
L=transform_lab(:,:,1);
a=transform_lab(:,:,2);
b=transform_lab(:,:,3)
imshow(transform_lab)
时间:2020-12-17 06:29:04
I = imread('1.png');
transform_lab=makecform('srgb2lab');
transform_lab=applyform(I,transform_lab);
transform_lab=lab2double(transform_lab)
%显示lab颜色空间的三个分量
L=transform_lab(:,:,1);
a=transform_lab(:,:,2);
b=transform_lab(:,:,3)
imshow(transform_lab)