您好,欢迎访问三七文档
当前位置:首页 > IT计算机/网络 > 图形图像 > 图像融合代码 matlab
%wav_imfuse.m//图像融合代码matlabclearfigureloadwbarbX1=X;map1=map;subplot(131);image(X1);colormap(map1);title('originalimagewbarb');axis('square');loadwomanX2=X;map2=map;fori=1:256forj=1:256if(X2(i,j)100)X2(i,j)=1.2*X2(i,j);elseX2(i,j)=0.5*X2(i,j);endendendsubplot(132);image(X2);colormap(map2);title('woman');axis('square');[c1,s1]=wavedec2(X1,2,'sym4');sizec1=size(c1);fori=1:sizec1(2)c1(i)=1.2*c1(i);end[c2,s2]=wavedec2(X2,2,'sym4');c=c1+c2;c=0.5*c;xx=waverec2(c,s1,'sym4');subplot(133);image(xx);title('融合图像');axis('square');
本文标题:图像融合代码 matlab
链接地址:https://www.777doc.com/doc-4293435 .html