您现在的位置:计算机学习网>> matlab与数字水印>>正文内容

图像在rgb和lab空间之间的转换

点击数: 【字体: 收藏 打印文章 查看评论
 

计算机学习网(http://www.haircuthome.com) 欢迎你的访问

图像在rgb和lab空间之间的转换


转化为lab色彩空间模式后,图像的显示情况和数组大小。

  1. %designed by superdont
  2. %lilizong@gmail.com
  3. %2008.11.5
  4. clc
  5. r=imread('E:\watermark\image\lena512.jpg');
  6. size(r)
  7. [l a b]=rgb2lab(r);
  8. size(l)
  9. size(a)
  10. size(b)
  11. % figure(1),imshow(l);
  12. % figure(2),imshow(a);
  13. % figure(3),imshow(b);
  14. % figure(4),imshow(r);
  15. figure(1),subplot(2,2,1),imshow(l,[]);
  16. subplot(2,2,2),imshow(a,[]);
  17. subplot(2,2,3),imshow(b,[]);
  18. subplot(2,2,4),imshow(r,[]);

作者: 来源: 发布时间:2009年04月24日
上一篇:几个matlab函数[ 04-24 ]下一篇: rgb与lab互换[ 04-24 ]
相关信息
没有相关内容
用户信息中心
栏目导航
  • 找不到相关分类
  • 本月排行TOP10
  • 还没有任何项目!
  • 计算机学习网
  • 计算机学习网
  • 计算机学习网
  • 计算机学习网
  • 计算机学习网
  • 计算机学习网
  • 计算机学习网
  • 天津工程师范学院