转化为lab色彩空间模式后,图像的显示情况和数组大小。
- %designed by superdont
- %lilizong@gmail.com
- %2008.11.5
- clc
- r=imread('E:/watermark/image/lena512.jpg');
- size(r)
- [l a b]=rgb2lab(r);
- size(l)
- size(a)
- size(b)
- % figure(1),imshow(l);
- % figure(2),imshow(a);
- % figure(3),imshow(b);
- % figure(4),imshow(r);
- figure(1),subplot(2,2,1),imshow(l,[]);
- subplot(2,2,2),imshow(a,[]);
- subplot(2,2,3),imshow(b,[]);
- subplot(2,2,4),imshow(r,[]);
本文介绍了如何将RGB色彩空间的图像转换为LAB色彩空间,并展示了转换后的图像效果及数组大小变化。通过Matlab代码实现了图像色彩空间的转换,并使用subplot进行图像对比展示。
3534

被折叠的 条评论
为什么被折叠?



