📄 lpr.m
字号:
function x = lpr(y, pfilt)% LPR Multi-level Laplacian pyramid reconstruction%% x = lpr(y, pfilt)%% Input:% y: output of a Laplacian pyramid in a cell vector% pfilt: pyramid filter name (see PFILTERS)%% Output:% x: reconstructed signal%% See also: LPD%% Note: 1-D input signals have to be in column vectorsnd = ndims(y{end});% Consider column vectors as 1-D signals if nd == 2 & size(y{end}, 2) == 1 nd = 1;end% Get the pyramidal filters from the filter name[h, g] = pfilters(pfilt);% Decide extension modeswitch pfilt case {'9-7', '9/7', '5-3', '5/3', 'Burt'} extmod = 'sym'; otherwise extmod = 'per'; endx = y{1};for n = 2:length(y) x = lprec1(x, y{n}, nd, h, g, extmod);end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -