早教吧作业答案频道 -->其他-->
谁有“小波分解程序”?只要实现“基于小波变换的纹理图像分割”就行~我的毕业设计的题目是“基于小波变换的纹理图像分割算法研究”我的QQ是:510685265要求:最好可以实现“三级小波分
题目详情
谁有“小波分解程序”?
只要实现“基于小波变换的纹理图像分割”就行~
我的毕业设计的题目是“基于小波变换的纹理图像分割算法研究”
我的QQ是:510685265
要求:最好可以实现“三级小波分解”
只要实现“基于小波变换的纹理图像分割”就行~
我的毕业设计的题目是“基于小波变换的纹理图像分割算法研究”
我的QQ是:510685265
要求:最好可以实现“三级小波分解”
▼优质解答
答案和解析
可以用wavemenu,wavedemo进入GUI,帮助文件
% Load original 1D signal.
load leleccum; s = leleccum(1:3920);
ls = length(s);
% Perform one step decomposition of s using db1.
[ca1,cd1] = dwt(s,'db1');
% Perform one step reconstruction of ca1 and cd1.
a1 = upcoef('a',ca1,'db1',1,ls);
d1 = upcoef('d',cd1,'db1',1,ls);
% Now plot a1 + d1.
% Invert directly decomposition of s using coefficients.
a0 = idwt(ca1,cd1,'db1',ls);
% Perform decomposition at level 3 of s using db1.
[c,l] = wavedec(s,3,'db1')
% Extract approximation coefficients at level 3,
% from wavelet decomposition structure [c,l].
ca3 = appcoef(c,l,'db1',3);
% Extract detail coefficients at levels 1,2 and 3,
% from wavelet decomposition structure [c,l].
cd3 = detcoef(c,l,3);
cd2 = detcoef(c,l,2);
cd1 = detcoef(c,l,1);
% Reconstruct approximation at level 3,
% from wavelet decomposition structure [c,l].
a3 = wrcoef('a',c,l,'db1',3);
% Reconstruct detail coefficients at levels 1,2 and 3,
% from the wavelet decomposition structure [c,l].
d3 = wrcoef('d',c,l,'db1',3);
d2 = wrcoef('d',c,l,'db1',2);
d1 = wrcoef('d',c,l,'db1',1);
% Reconstruct s from the wavelet decomposition structure [c,l].
a0 = waverec(c,l,'db1');
% Load original 1D signal.
load leleccum; s = leleccum(1:3920);
ls = length(s);
% Perform one step decomposition of s using db1.
[ca1,cd1] = dwt(s,'db1');
% Perform one step reconstruction of ca1 and cd1.
a1 = upcoef('a',ca1,'db1',1,ls);
d1 = upcoef('d',cd1,'db1',1,ls);
% Now plot a1 + d1.
% Invert directly decomposition of s using coefficients.
a0 = idwt(ca1,cd1,'db1',ls);
% Perform decomposition at level 3 of s using db1.
[c,l] = wavedec(s,3,'db1')
% Extract approximation coefficients at level 3,
% from wavelet decomposition structure [c,l].
ca3 = appcoef(c,l,'db1',3);
% Extract detail coefficients at levels 1,2 and 3,
% from wavelet decomposition structure [c,l].
cd3 = detcoef(c,l,3);
cd2 = detcoef(c,l,2);
cd1 = detcoef(c,l,1);
% Reconstruct approximation at level 3,
% from wavelet decomposition structure [c,l].
a3 = wrcoef('a',c,l,'db1',3);
% Reconstruct detail coefficients at levels 1,2 and 3,
% from the wavelet decomposition structure [c,l].
d3 = wrcoef('d',c,l,'db1',3);
d2 = wrcoef('d',c,l,'db1',2);
d1 = wrcoef('d',c,l,'db1',1);
% Reconstruct s from the wavelet decomposition structure [c,l].
a0 = waverec(c,l,'db1');
看了 谁有“小波分解程序”?只要实...的网友还看了以下:
一个整式与多项式x的平方减y的平方的差为x的平方加y的平方,则这个整式为()一个整式与多项式x的平 2020-04-22 …
1.关于x的方程2x+a/x-1=1的解是正数,则a的取值范围是?2.分式方程1/x+1=2/x- 2020-05-01 …
用三连格(横的或竖的)去框右面表格中的数,每次框三个数.是11~70之间.(1)框出的三个数的和最 2020-05-13 …
下列关于氮的叙述中,不正确的是A.氮分子为非极性分子B.氮有多种化合价C.氮元素的非金属性较强,所 2020-05-13 …
根据下列问题列出关于x的方程,并将其化成一元二次方程的一般形式 (1)4个完全相同的正方形的面积之 2020-05-15 …
在探究“影响滑动摩擦力大小的因素”的实验中.(1)为了探究滑动摩擦力与速度大小的关系 在不同速度下 2020-05-16 …
《我身上裹着的是我的父母》阅读答案北极,被称为世界的冰窖.在这儿,生活着一种浑身长满绒毛的鸟儿—— 2020-05-16 …
物理题关于功的某同学用500N的水平推力把重1000N的木箱往前推进了10m的距离,重力对木箱做的 2020-05-22 …
下列关于硅的说法不正确的是()A.硅是非金属元素,它的单质是灰黑色有金属光泽的固体B.硅的导电性能 2020-05-23 …
在探究影响电流做功大小的因素的实验中:探究1:小华同学设计了如图所示的电路图(1)用如图所示的电路 2020-06-12 …