图像在rgb和lab空间之间的转换
计算机学习网(http://www.haircuthome.com) 欢迎你的访问
图像在rgb和lab空间之间的转换
转化为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,[]);
上一篇:几个matlab函数[ 04-24 ]下一篇: rgb与lab互换[ 04-24 ]
- 相关信息
- 没有相关内容
- 用户信息中心
-
- 栏目导航
-
- 找不到相关分类
- 本月排行TOP10
-
- 还没有任何项目!
- 网站统计




