yxwkf

Matlab图像彩色转灰色

时间:2014年5月7日星期三

 

网上找的程序。实现图像彩色转灰色:

I1=imread(\'C:\Users\Yano\Desktop\matlab\test1\4.jpg\');
I2=rgb2gray(I1);
figure(1)
imshow(I1);
title(\'源图像\');
figure(2)
imshow(I2);
title(\'灰度图像\');


 

自己拍的几张图片,通过此程序转换成功:


 

 

分类:

技术点:

相关文章:

  • 2021-11-19
  • 2021-12-28
  • 2021-05-24
  • 2021-11-28
  • 2021-11-28
  • 2022-01-21
  • 2021-08-21
  • 2021-06-10
猜你喜欢
  • 2021-09-21
  • 2021-11-10
  • 2021-08-24
  • 2022-02-06
  • 2021-12-08
  • 2021-09-05
  • 2021-11-28
相关资源
相似解决方案