- 1
- 0
- 约5.34千字
- 约 22页
- 2019-11-10 发布于广西
- 举报
数字图象处理 张晓与 地图学与地理信息系统A1 编程实现图象同时对比度 d=zeros(32,32); %背景灰度值为0,图像尺寸为32x32 d(13:20,13:20)=2; %中心方块为8x8,灰度值为2 figure; %建立图形窗口 subplot(221); imshow(d,[0,5]); %显示图像d d=zeros(32,32)+1; %背景灰度值为1,图像尺寸为32x32 d(13:20,13:20)=2; subplot(222); imshow(d,[0,5]);? d=zeros(32,32)+3; %背景灰度值为3,图像尺寸为32x32 d(13:20,13:20)=2; subplot(223); imshow(d,[0,5]); d=zeros(32,32)+5; %背景灰度值为5,图像尺寸为32x32, d(13:20,13:20)=2; subplot(224); imshow(d,[0,5]); A1 结果 A2 编程实现马赫带效应 clear d=zeros(6,40); %背景灰度值为0,图像尺寸为6x40 d(1:6,1:2)=0; d(1:6,3:4)=1;d(1:6,5:
原创力文档

文档评论(0)