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

📄 postp2d_appe.m

📁 多小波变换MATLAB源程序,m文件形式给出
💻 M
字号:
function fhat=postp2D_appe(fhatp,pflt)
%fhat=postp2D_appe(fhatp,pflt)
%
%  This function performs critically sampled postprocessing of reconstructed 
%  preprocessed 2-dimensional signal. Boundaries are handled by periodic 
%  extension. For details see [SW].
%
%  Input: 
%    pflt       string of characters, name of the prefilter;
%               for possible names and short descriptions see coef_prep.m
%    fhatp      n by n real array, reconstructed preprocessed signal; 
%               for structure of fhatp see [SW]
%
%  Output: 
%    fhat       n by n real array, reconstructed signal 
%
%  Example of Usage:
%    fhat=postp2D_appe(fhatp,'clap')

% Author: Vasily Strela
% COPYRIGHT 1997,98 by Vasily Strela

[PR,PO]=coef_prep(pflt);
[n1,n2]=size(fhatp);
fhat=zeros(n1,n2);
[nf,np]=size(PO);

prl=round(n1/nf);
aa=zeros(nf,prl);
for i=1:n2
  for j=1:nf
    aa(j,:)=fhatp((j-1)*prl+1:j*prl,i)';
  end
  fhat(:,i)=(postp1D_appe(aa,pflt))';
end

prl=round(n2/nf);
aa=zeros(nf,prl);
for i=1:n1
  for j=1:nf
    aa(j,:)=fhat(i,(j-1)*prl+1:j*prl);
  end
  fhat(i,:)=postp1D_appe(aa,pflt);
end

⌨️ 快捷键说明

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