1 function [lo, hi] = afb2D(x, af1, af2)
3 % 2D Analysis Filter Bank
6 % [lo, hi] = afb2D(x, af1, af2);
9 % 1) M, N are both even
10 % 2) M >= 2*length(af1)
11 % 3) N >= 2*length(af2)
12 % af1 - analysis filters for columns
13 % af2 - analysis filters for rows
15 % lo - lowpass subband
16 % hi{1} - 'lohi' subband
17 % hi{2} - 'hilo' subband
18 % hi{3} - 'hihi' subband
22 % [lo, hi] = afb2D(x, af, af);
23 % y = sfb2D(lo, hi, sf, sf);
27 % WAVELET SOFTWARE AT POLYTECHNIC UNIVERSITY, BROOKLYN, NY
28 % http://taco.poly.edu/WaveletSoftware/
34 % filter along columns
35 [L, H] = afb2D_A(x, af1, 1);
38 [lo, hi{1}] = afb2D_A(L, af2, 2);
39 [hi{2}, hi{3}] = afb2D_A(H, af2, 2);