Wavelet Toolbox |
Apply elementary lifting steps on quadruplet of filters.
Syntax
[LoDN,HiDN,LoRN,HiRN] = liftfilt(LoD,HiD,LoR,HiR,ELS) [LoDN,HiDN,LoRN,HiRN] = liftfilt(LoD,HiD,LoR,HiR,ELS,TYPE,VALUE)
Description
[LoDN,HiDN,LoRN,HiRN] = liftfilt(LoD,HiD,LoR,HiR,ELS) returns the four filters LoDN, HiDN, LoRN, and HiRN obtained by an elementary lifting step (ELS) starting from the four filters LoD, HiD, LoR, and HiR. The four input filters verify the perfect reconstruction condition.
laurpoly
). If VALUE is a vector, the associated Laurent polynomial T is equal to laurpoly(VALUE,0).
In addition, ELS may be a scaling step. In that case, TYPE is equal to 's' (scaling) and VALUE is a scalar different from zero.
liftfilt(LoD,HiD,LoR,HiR,ELS,TYPE,VALUE) gives the same outputs.
liftfilt(...,FLAGPLOT) plots the successive biorthogonal pairs--scaling function and wavelet.
Examples
% Get Haar filters. [LoD,HiD,LoR,HiR] = wfilters('haar'); % Lift the Haar filters. twoels(1) = struct('type','p','value',... laurpoly([0.125 -0.125],0)); twoels(2) = struct('type','p','value',... laurpoly([0.125 -0.125],1)); [LoDN,HiDN,LoRN,HiRN] = liftfilt(LoD,HiD,LoR,HiR,twoels); % The biorthogonal wavelet bior1.3 is obtained up to % an unsignificant sign. [LoDB,HiDB,LoRB,HiRB] = wfilters('bior1.3'); samewavelet = isequal([LoDB,HiDB,LoRB,HiRB],[LoDN,-HiDN,LoRN,HiRN]) samewavelet = 1
See Also
laurpoly
leaves | liftwave |
© 1994-2005 The MathWorks, Inc.