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

📄 at_dwt1d.m

📁 压缩感知中一种测量方法。介绍如何构造测量矩阵。
💻 M
字号:
% Written by Thong Do, JHU, 2007
% modified, Feb. 2008

function alpha = At_dwt1d(At,b,h0,h1,L,m,n)
% alpha: sparse vector which is taken from Wavelet transform of image x
% A: random projection matrix K x N
% h0, h1: lowpass and highpass filter at the analysis part
% L: level of decomposition
% m, n: size of image
% Return b: vector K x 1

% converting measurements into samples
if ~isa(At, 'function_handle')
    x = At*b;
else
    x = At(b);
end
% converting samples into wavelet coefficients (sparse representation)
im = reshape(x,m,n);
u = dwt2d(im,h0,h1,L);
alpha = u(:);


⌨️ 快捷键说明

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