No BSD License
-
atrousdec(x,fname,Nlevels);
ATROUSDEC - computes the 2-D atrous decomposition using symmetric extension.
-
atrousfilters(fname);
ATROUSFILTERS Generate pyramid 2D filters
-
decdemo( im, option )
DECDEMO demonstrates nonsubsampled Contourlet decomposition and reconstruction.
-
dfilters(fname, type)
DFILTERS Generate directional 2D filters
-
dmaxflat(N,d)
returns 2-D diamond maxflat filters of order 'N'
-
efilter2(x, f, extmod, shift)
EFILTER2 2D Filtering with edge handling (via extension)
-
extend2(x, ru, rd, cl, cr, ex...
EXTEND2 2D extension
-
ho=upsample2df(h, power);
upsample filter by 2^power;
-
ld2quin(beta)
LD2QUIN Quincunx filters from the ladder network structure
-
ldfilter(fname)
LDFILTER Generate filter for the ladder structure network
-
mctrans(b,t)
MCTRANS McClellan transformation
-
modulate2(x, type, center)
MODULATE2 2D modulation
-
nsctdec(x, levels, dfilt, pfi...
NSSCDEC Nonsubsampled Contourlet Transform Decomposition
-
nsdfbdec( x, dfilter, clevels...
NSDFBDEC Nonsubsampled directional filter bank decomposition.
-
nsdfbrec( x, dfilter )
NSDFBREC Nonsubsampled directional filter bank reconstruct.
-
nsfbdec( x, h0, h1, lev )
nsfbdec - computes the ns pyramid decomposition
-
nsfbrec( y0, y1, g0, g1, lev ...
nsfbrec - computes the inverse of 2-D atrous decomposition at level lev
-
nsscrec(y, dfilt, pfilt)
NSCTREC Nonsubsampled Contourlet Reconstruction
-
nssfbdec( x, f1, f2, mup )
NSSFBDEC Two-channel nonsubsampled filter bank decomposition with periodic extension.
-
nssfbrec( x1, x2, f1, f2, mup...
NSSFBREC Two-channel nonsubsampled filter bank reconstruction with periodic extension.
-
parafilters( f1, f2 )
PARAFILTERS Generate four groups of parallelogram filters.
-
qupz(x, type)
QUPZ Quincunx Upsampling (with zero-pad and matrix extending)
-
resampz(x, type, shift)
RESAMPZ Resampling of matrix
-
shownsct( y )
SHOWNSSC Show nonsubsampled Contourlet transform coefficients.
-
wfilters(wname,o)
WFILTERS Wavelet filters.
-
x=satrousrec(y,fname);
SATROUSREC - computes the inverse of 2-D atrous decomposition computed with ATROUSDEC
-
yT=symext(x,h,shift);
FUNCTION Y = SYMEXT
-
dfbdecdemo.m
-
View all files
|
|
| ld2quin(beta)
|
function [h0, h1] = ld2quin(beta)
% LD2QUIN Quincunx filters from the ladder network structure
%
% Construct the quincunx filters from an allpass filter (beta) using the
% ladder network structure
%
% Ref: Phong et al., IEEE Trans. on SP, March 1995
if all(size(beta) ~= 1)
error('The input must be an 1-D fitler');
end
% Make sure beta is a row vector
beta = beta(:)';
lf = length(beta);
n = lf / 2;
if n ~= floor(n)
error('The input allpass filter must be even length');
end
% beta(z1) * beta(z2)
sp = beta' * beta;
% beta(z1*z2^{-1}) * beta(z1*z2)
% Obtained by quincunx upsampling type 1 (with zero padded)
h = qupz(sp, 1);
% Lowpass quincunx filter
h0 = h;
h0(2*n, 2*n) = h0(2*n, 2*n) + 1;
h0 = h0 / 2;
% Highpass quincunx filter
h1 = -conv2(h, h0);
h1(4*n-1, 4*n-1) = h1(4*n-1, 4*n-1) + 1;
|
|
Contact us at files@mathworks.com