早教吧作业答案频道 -->其他-->
英语翻译loadbustX1=X;map1=map;subplot(131);image(X1);colormap(map1);title('原始图像1');axissquareloadmaskX2=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);color
题目详情
英语翻译
load bust
X1=X;
map1=map;
subplot(131);image(X1);
colormap(map1);title('原始图像1');
axis square
load mask
X2=X;
map2=map;
for i=1:256
for j=1:256
if(X2(i,j)>100)
X2(i,j)=1.2*X2(i,j);
else
X2(i,j)=0.5*X2(i,j);
end
end
end
subplot(132)
image(X2);colormap(map2);title('原始图像2');
axis square
[c1,s1]=wavedec2(X1,2,'sym4');
sizec1=size(c1);
for I=1:sizec1(2)
c1(I)=1.2*c1(I);
end
[c2,s2]=wavedec2(X2,2,'sym4');
c=c1+c2;
c=0.5*c;
s=s1+s2;
s=0.5*s
xx=waverec2(c,s,'sym4');
subplot(133);image(xx);title('融合图像');
axis square
load bust
X1=X;
map1=map;
subplot(131);image(X1);
colormap(map1);title('原始图像1');
axis square
load mask
X2=X;
map2=map;
for i=1:256
for j=1:256
if(X2(i,j)>100)
X2(i,j)=1.2*X2(i,j);
else
X2(i,j)=0.5*X2(i,j);
end
end
end
subplot(132)
image(X2);colormap(map2);title('原始图像2');
axis square
[c1,s1]=wavedec2(X1,2,'sym4');
sizec1=size(c1);
for I=1:sizec1(2)
c1(I)=1.2*c1(I);
end
[c2,s2]=wavedec2(X2,2,'sym4');
c=c1+c2;
c=0.5*c;
s=s1+s2;
s=0.5*s
xx=waverec2(c,s,'sym4');
subplot(133);image(xx);title('融合图像');
axis square
▼优质解答
答案和解析
明明是matlab.
很简单的一个图像处理程序.
原始图像与处理过的图像 通过小波变换进行融合.
在matlab里help一下“wavedec2”这个函数的用法就搞定了.
很简单的一个图像处理程序.
原始图像与处理过的图像 通过小波变换进行融合.
在matlab里help一下“wavedec2”这个函数的用法就搞定了.
看了 英语翻译loadbustX1...的网友还看了以下:
设f(x0在[a,b]单调连续,(a,b)可导,a=f(a)<f(b)=b求证:存在ξi∈(a,b 2020-05-14 …
How to understand this word "extrasocial"?As titl 2020-05-14 …
{"blanks":{"1":["E"]"10":["C"]"2":["J"]"3":["H"]" 2020-05-14 …
Which of the following can be the best title of th 2020-05-25 …
设A,B是三阶方阵,若满足等式A+BA=B,求(A-I)^(-1)是什么?我是这样算的,BA-B= 2020-06-18 …
若(1+2ai)*i=1-b*i,其中a、b∈R,i是虚数单位,则|a+b*i|=?已知0<a<2 2020-07-30 …
分析SQL语句显示文章、提交人和最后回复时间selecta.title,a.username,b.a 2020-10-29 …
lim[cos(u/4n)+cos(3u/4n)+.+cos(2n-1)u/4n]/n这里n趋于无穷 2020-11-01 …
虚数向量正交问题?向量a=[i,1],b=[-i,1]请问a与b为什么正交?i*i=-1,这个成立的 2020-11-17 …
经济学Y=900+600/1-0.8=7500是怎么算出来的?看教程但还是不明白怎么算出这个结果.工 2020-12-05 …