⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 iwt2_po.sci

📁 小波分解源代码
💻 SCI
字号:
function x = IWT2_PO(wc,L,qmf)
// IWT2_PO -- Inverse 2-d MRA wavelet transform (periodized, orthogonal)
//  Usage
//    x = IWT2_PO(wc,L,qmf)
//  Inputs
//    wc    2-d wavelet transform [n by n array, n dyadic]
//    L     coarse level
//    qmf   quadrature mirror filter
//  Outputs
//    x     2-d signal reconstructed from wc
//
//  Description
//    If wc is the result of a forward 2d wavelet transform, with
//    wc = FWT2_PO(x,L,qmf), then x = IWT2_PO(wc,L,qmf) reconstructs x
//    exactly if qmf is a nice qmf, e.g. one made by MakeONFilter.
//
//  See Also
//    FWT2_PO, MakeONFilter
//
//  Copyright Aldo I Maalouf

	[n,J] = quadlength(wc);
	x = wc; 
	nc = 2^(L+1);
	for jscal=L:J-1,
		top = (nc/2+1):nc; bot = 1:(nc/2); all = 1:nc;
		for iy=1:nc,
			x(all,iy) =  UpDyadLo(x(bot,iy)',qmf)'+ UpDyadHi(x(top,iy)',qmf)'; 
		end
		for ix=1:nc,
			x(ix,all) = UpDyadLo(x(ix,bot),qmf) + UpDyadHi(x(ix,top),qmf);
		end
		nc = 2*nc;
	end
	endfunction

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -