[g,a] = dtwfb2filterbank(dualwt) [g,a,info] = dtwfb2filterbank(...)
dualwt | Dual-tree wavelet filterbank specification. |
g | Cell array of filters. |
a | Downsampling rate for each channel. |
info | Additional information. |
[g,a] = dtwfb2filterbank(dualwt) constructs a set of filters g and subsampling factors a of a non-iterated filterbank, which is equivalent to the dual-tree wavelet filterbank defined by dualwt. The returned parameters can be used directly in filterbank and other routines. The format of dualwt is the same as in dtwfb and dtwfbreal.
The function internally calls dtwfbinit and passes dualwt and all additional parameters to it.
[g,a,info] = dtwfb2filterbank(...) additionally outputs a info struct containing equivalent filterbanks of individual real-valued trees as fields info.g1 and info.g2.
The following two examples create a multirate identity filterbank using a duel-tree of depth 3:
[g,a] = dtwfb2filterbank({'qshift3',3},'real'); filterbankfreqz(g,a,1024,'plot','linabs');
In the second example, the filterbank is identical to the full wavelet tree:
[g,a] = dtwfb2filterbank({'qshift3',3,'full'},'real'); filterbankfreqz(g,a,1024,'plot','linabs');