Matlab中将RGB图片转换成Lab空间的了,为什么用imshow函数显示不出来图片?代码如下:% Transfer RGB to CIELab space% We only consider part channels (e.g., a and b) for one image in L*a*b*% space.Lab = makecform("srgb2lab");imgLab = applycform(img,Lab);figure("Name", "L*a*b* Space", "NumberTitle", "off"), imshow(imgLab);% Extract the image in channel a* and b* respectively.imgLabChAB = uint8(imgLab(:,:,2:3));%figure("Name", "Temp Channel a* and b*", "NumberTitle", "off"), imshow(imgLabChAB);rowChAB = size(imgLabChAB,1);colChAB = size(imgLabChAB,2);imgLabChAB = reshape(imgLabChAB,rowChAB,colChAB, 2);figure("Name", "Channel a* and b*", "NumberTitle", "off"), imshow(imgLabChAB);