1 function w = cplxdual2D(x, J, Faf, af)
3 % Dual-Tree Complex 2D Discrete Wavelet Transform
6 % w = cplxdual2D(x, J, Faf, af)
10 % Faf{i}: first stage filters for tree i
11 % af{i}: filters for remaining stages on tree i
13 % w{j}{i}{d1}{d2} - wavelet coefficients
15 % i = 1 (real part); i = 2 (imag part)
16 % d1 = 1,2; d2 = 1,2,3 (orientations)
17 % w{J+1}{m}{n} - lowpass coefficients
22 % [Faf, Fsf] = FSfarras;
23 % [af, sf] = dualfilt1;
24 % w = cplxdual2D(x, J, Faf, af);
25 % y = icplxdual2D(w, J, Fsf, sf);
29 % WAVELET SOFTWARE AT POLYTECHNIC UNIVERSITY, BROOKLYN, NY
30 % http://taco.poly.edu/WaveletSoftware/
37 [lo w{1}{m}{n}] = afb2D(x, Faf{m}, Faf{n});
39 [lo w{j}{m}{n}] = afb2D(lo, af{m}, af{n});
47 [w{j}{1}{1}{m} w{j}{2}{2}{m}] = pm(w{j}{1}{1}{m},w{j}{2}{2}{m});
48 [w{j}{1}{2}{m} w{j}{2}{1}{m}] = pm(w{j}{1}{2}{m},w{j}{2}{1}{m});