Code covered by the BSD License
-
SNR(in, est)
-
filtdn(x, f, dim, extmod, shi...
FILTDN Filter and downsample (by 2) along a dimension
-
imageshow(im, range)
Show image with proper scalling
-
lp2vec(y)
LP2VEC Convert the output of the LP into a vector form
-
lpd(x, pfilt, nlev)
LPD Multi-level Laplacian pyramid decomposition
-
lpdec1(x, h, g, extmod)
LPDEC1 One-level Laplacian pyramid decomposition
-
lpr(y, pfilt)
LPR Multi-level Laplacian pyramid reconstruction
-
lpr_old(y, pfilt)
LPR_OLD Multi-level Laplacian pyramid reconstruction using the old method
-
lprec1(c, d, h, g, extmod)
LPREC1 One-level Laplacian pyramid reconstruction
-
lprec1_old(c, d, h, g, extmod)
LPREC1_OLD Laplacian pyramid reconstruction using the old method
-
pfilters(fname)
PFILTERS Generate filters for the Laplacian pyramid
-
upfilt(x, f, dim, extmod, shi...
UPFILT Upsample (by 2) and filter along a dimension
-
vec2lp(c, s)
VEC2LP Convert the vector output back to the LP cell array form
-
lpdemo.m
-
View all files
from
Laplacian Pyramid Toolbox
by Minh Do
Matlab toolbox that implements the Laplacian pyramid (LP) decomposition and a new pseudo-inverse rec
|
| lpr(y, pfilt) |
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
% Get the pyramidal filters from the filter name
[h, g] = pfilters(pfilt);
% Decide extension mode
switch pfilt
case {'9-7', '9/7', '5-3', '5/3', 'Burt'}
extmod = 'sym';
otherwise
extmod = 'per';
end
x = y{1};
for n = 2:length(y)
x = lprec1(x, y{n}, h, g, extmod);
end
|
|
Contact us at files@mathworks.com