医学图像处理实验.docxVIP

  • 21
  • 0
  • 约4.04千字
  • 约 15页
  • 2020-06-18 发布于河北
  • 举报
欢迎下载 欢迎下载 实验一 yqi l=imread(cameraman.tif);% 读黑白图像 subplot(2,2,1);imshow(l) % 显示图像 subplot(2,2,2);imhist(l) % 显示直方图 J=imadjust(l,[0.02 0.7],[0 1]);% 对比度增强 subplot(2,2,3);imshow(J) subplot(2,2,4);imhist(J) l1=imresize(l,0.5);imview(l1)% 缩小 I2=imresize(l,1.5);imview(l2)% 放大 I3=imrotate(l,45,bilinear,crop);imview(l3)% 旋转 45 %%原图、直方图 对比度增强、直方图 %%缩小 %%潘45 %%空 欢迎下载 欢迎下载 yq2 l=imread(pears.p ng); imshow(l); I仁rgb2gray(l);%把彩色图像转换成灰度图像 figure,imshow(I1); info= imfinfo(pears.png)% 查询文件信息 小小.png); %写图像 info = File name:C:\MATLAB7\toolbox\images\imde mos\pears.p ng FileModDate: 03-May-2003 13:53:58 FileSi

文档评论(0)

1亿VIP精品文档

相关文档