1 function y = idualtree2D(w, J, Fsf, sf)
3 % Inverse 2-D Dual-Tree Discrete Wavelet Transform
6 % y = idualtree2D(w, J, Fsf, sf)
9 % Fsf - synthesis filters for final stage
10 % sf - synthesis filters for preceeding stages
15 % WAVELET SOFTWARE AT POLYTECHNIC UNIVERSITY, BROOKLYN, NY
16 % http://taco.poly.edu/WaveletSoftware/
23 w{k}{1}{m} = (A+B)/sqrt(2);
24 w{k}{2}{m} = (A-B)/sqrt(2);
31 y1 = sfb2D(y1, w{j}{1}, sf{1});
33 y1 = sfb2D(y1, w{1}{1}, Fsf{1});
38 y2 = sfb2D(y2, w{j}{2}, sf{2});
40 y2 = sfb2D(y2, w{1}{2}, Fsf{2});
43 y = (y1 + y2)/sqrt(2);