声振论坛

 找回密码
 我要加入

QQ登录

只需一步,快速开始

查看: 1686|回复: 5

[HHT] 求助二维emd程序中参数如何设置

[复制链接]
发表于 2008-1-15 17:31 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?我要加入

x
大家好!我在使用二维emd程序时,设置参数可能出现错误,程序运行很久没有结果。有哪位用过这个程序的麻烦给看一下,imf_num,errmax,imax该如何设置?非常感谢!
function IMF_all=TwoD_EMD(A,imf_num,errmax,imax);
%INPUT:
%   A is the image to be decomposed, given as a rectangular matrix
%   imf_num is the number of intrinsic mode functions to be taken from A
%   errmax is the maximum error for sift_bicubic
%   imax is the maximum number of iterations in sift_bicubic
%-------------------------------------------------------------------
%OUTPUT:
%   IMF_all is a 3D array containing each instrinsic mode function
%       as well as the final residue
figure(1)
imagesc(A);
colormap(gray);
IMF_all=[];
[m,n]=size(A);
dx=1/n;
dy=1/m;
for it=1:imf_num
    IMF=sift_bicubic(errmax,imax,dx,dy,A);
    figure(it+5)
    imagesc(IMF);
    colormap(gray);
    A=A-IMF;
    IMF_all(:,:,it)=IMF;
end
IMF_all(:,:,it+1)=A;
figure(30)
imagesc(A);
colormap(gray);
回复
分享到:

使用道具 举报

发表于 2008-3-21 13:59 | 显示全部楼层
可以告诉我二维怎么弄吗?
发表于 2008-3-21 14:20 | 显示全部楼层
这个问题也困扰了很久,至今还是不知道,
发表于 2011-5-11 16:48 | 显示全部楼层

点评

反对: 3.0
反对: 3
不要纯表~  发表于 2011-6-21 20:23
发表于 2011-6-21 18:02 | 显示全部楼层
只看懂了,imf_num是分解的IMF层数, sift_bicubic
这个函数不知道是做啥用的。
发表于 2012-2-10 22:58 | 显示全部楼层
有没有人明白具体BEMD分解的一些常见问题啊,探讨一下~~~
您需要登录后才可以回帖 登录 | 我要加入

本版积分规则

QQ|小黑屋|Archiver|手机版|联系我们|声振论坛

GMT+8, 2024-9-21 14:41 , Processed in 0.059751 second(s), 19 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表