第8章 图像平滑和锐化.ppt

编辑ppt clear all; [I,map]=imread(lena.bmp); subplot(231),imshow(I,map);title(原始图像); I=double(I); [IX,IY]=gradient(I); GM=sqrt(IX.*IX+IY.*IY); meth1=GM; subplot(232),imshow(meth1,map);title(第1种方法); meth2=I; J=find(GM10); meth2(J)=GM(J); subplot(233),imshow(meth2,map); title(第2种方法); meth3=I; J=find(GM10); meth3(J)=255; subplot(234),imshow(meth3,map); title(第3种方法); meth4=I; J=find(GM10); meth4(J)=255; subplot(235),imshow(meth4,map); title(第4种方法); meth5=I; J=find(GM10); meth5(J)=255; Q=find(GM10); OUTS(Q)=0; subplot(236),imshow(meth5,map); title(第5种方法); 8.4.3 二阶微分算子 二阶微分方法的提出背景 1)对于突变形的细节,通过一阶

文档评论(0)

1亿VIP精品文档

相关文档