f=idtwfbreal(c,info); f=idtwfbreal(c,dualwt,Ls);
c | Input coefficients. |
info | Transform params. struct |
dualwt | Dual-tree Wavelet Filterbank definition |
Ls | Length of the reconstructed signal. |
f | Reconstructed data. |
f = idtwfbreal(c,info) reconstructs real-valued signal f from the coefficients c using parameters from info struct. both returned by dtwfbreal function.
f = idtwfbreal(c,dualwt,Ls) reconstructs real-valued signal f from the coefficients c using dual-tree filterbank defined by dualwt. Plese see dtwfbreal for supported formats. The Ls parameter is mandatory due to the ambiguity of reconstruction lengths introduced by the subsampling operation. Note that the same flag as in the dtwfbreal function have to be used, otherwise perfect reconstruction cannot be obtained. Please see help for dtwfbreal for description of the flags.
A simple example showing perfect reconstruction using idtwfbreal:
f = gspi; J = 7; wtdef = {'qshift3',J}; c = dtwfbreal(f,wtdef); fhat = idtwfbreal(c,wtdef,length(f)); % The following should give (almost) zero norm(f-fhat)