早教吧 育儿知识 作业答案 考试题库 百科 知识分享

谁有“小波分解程序”?只要实现“基于小波变换的纹理图像分割”就行~我的毕业设计的题目是“基于小波变换的纹理图像分割算法研究”我的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');
看了 谁有“小波分解程序”?只要实...的网友还看了以下:

可爱的小狗的作文时讲一只雪白的小狗,还要把自己融入到那里把它当成人来写,把它当成自己的朋友,那只狗  2020-05-17 …

一道数学题(55..2)蜘蛛有8条腿,蜻蜓有6条腿和2对翅膀,蝉有6条腿和1对翅膀.这三种昆虫共有  2020-05-20 …

“人而无信,不知其可“人而无信,不知其可也.”意思是说:做人不讲信用,不知他怎么可以立身处事.[]①  2020-11-03 …

“千里之行,始于足下”。这句话告诉我们,理想的实现:()A.取决于是否有良好的外部环境B.需要坚持不  2020-11-26 …

“千里之行,始于足下”.这句话告诉我们,理想的实现()A.取决于是否有良好的外部环境B.需要坚持不懈  2020-11-27 …

“千里之行,始于足下”.这句话告诉我们,理想的实现()A.取决于是否有良好的外部环境B.需要坚持不懈  2020-12-09 …

“千里之行,始于足下”。这句话告诉我们,理想的实现:()A.取决于是否有良好的外部环境B.需要坚持不  2020-12-20 …

1.(2014四川巴中,13★☆☆)千里之行,始于足下”。这句话告诉我们,理想的实现()A.取决于是  2020-12-20 …

“千里之行,始于足下”。这句话告诉我们,理想的实现:()A.取决于是否有良好的外部环境B.需要坚持不  2020-12-20 …

“千里之行,始于足下”。这句话告诉我们,理想的实现:()A.取决于是否有良好的外部环境B.需要坚持不  2020-12-20 …