1 function y = sfb2D_A(lo, hi, sf, d)
3 % 2D Synthesis Filter Bank
4 % (along single dimension only)
6 % y = sfb2D_A(lo, hi, sf, d);
7 % sf - synthesis filters
8 % d - dimension of filtering
12 lpf = sf(:, 1); % lowpass filter
13 hpf = sf(:, 2); % highpass filter
22 y = upfirdn(lo, lpf, 2, 1) + upfirdn(hi, hpf, 2, 1);
23 y(1:L-2, :) = y(1:L-2, :) + y(N+[1:L-2], :);
25 y = cshift2D(y, 1-L/2);