欢迎来到天天文库
浏览记录
ID:29723584
大小:99.86 KB
页数:4页
时间:2018-12-22
《或运算中值滤波灰度处理》由会员上传分享,免费在线阅读,更多相关内容在应用文档-天天文库。
1、>>I=imread('D:MATLABchemen.jpg');>>subplot(5,5,1);>>imshow(I);>>>>J=rgb2gray(I);>>subplot(5,5,2);>>imshow(J);>>>>a1=immultiply(J,3);>>subplot(5,5,3);>>imshow(a1);>>>>b1=medfilt2(a1);>>subplot(5,5,4);>>imshow(b1);>>title('medtitle2');>>>>c1=imadjust(b1);>>subplot(5,5,5
2、);>>imshow(c1);>>title('c1');>>c2=imadjust(c1);>>subplot(5,5,6);>>imshow(c2);>>title('c2');>>>>c3=imadjust(c2);>>subplot(5,5,7);>>imshow(c3);>>title('c3');>>>>c4=imadjust(c3,[0.20.3],[]);>>subplot(5,5,8);>>imshow(c4);>>>>title('c4');>>>>c5=imadjust(c3,[0.10.2],[]);>>sub
3、plot(5,5,9);>>imshow(c5);>>title('c5');>>>>c6=imadjust(c3,[0.050.1],[]);>>subplot(5,5,10)>>imshow(c6);>>title(‘c6’);放大:>>c7=imresize(c6,2);>>figure;>>imshow(c7);>>c8=imresize(c6,1.5);>>figure;>>imshow(c8);
此文档下载收益归作者所有