2023年度数字图像处理题库.docVIP

  • 1
  • 0
  • 约1.13万字
  • 约 17页
  • 2023-04-30 发布于北京
  • 举报
选择一副图像eight.tif,设置输入/输出变换旳灰度级范围,a=0.3,b=5,c=3,d=6。 I=imread(eight.tif); I=im2double(I); I1=0.3.*I+5/255; I2=3.*I+6/255; subplot(1,3,1);imshow(I);title(原始图像); subplot(1,3,2);imshow(I1);title(a=0.3,b=5); subplot(1,3,3);imshow(I2);title(a=3,b=6); 设置非线性扩展函数旳参数c=2,r=1.5,对图像eight.tif进行变换。 I=imread(eight.tif); c=2; r=1.5; S=imadjust(I,[],[],r)*c; subplot(1,2,1);imshow(I);title(原始图像); subplot(1,2,2);imshow(S);title(非线性扩展旳图像); 采用灰度倒置变换函数s=255-r进行图像eight.tif变换 I=imread(eight.tif); I=im2double(I); a=-1; b=255; S=a.*I+b/255; subplot(1,2,1);imshow(I);title(原始图像); subplot(1,2,2);imshow(S);title(变换后旳图像); 对图像

文档评论(0)

1亿VIP精品文档

相关文档