Main Content

liftwave

(To be removed) Lifting schemes

liftwave will be removed in a future release. For 1-D lifting, use liftingScheme. For more information, see Compatibility Considerations.

Syntax

LS = liftwave(WNAME)
LS = liftwave(WNAME,'Int2Int')

Description

LS = liftwave(WNAME) returns the lifting scheme associated with the wavelet specified by WNAME. LS is a structure, not an integer, and used by lwt2 and ilwt2.

LS = liftwave(WNAME,'Int2Int') performs an integer-to-integer wavelet transform. Using 'Int2Int' produces an LS such that when you use [CA,CH,CV,CD] = lwt2(X,LS) or Y = lwt2(X,LS) and X is an array of integers, the resulting CA, CH, CV, CD, and Y are matrices of integers. If you omit 'Int2Int' then lwt2 produces matrices of real numbers.

The valid values for WNAME are

WNAME Values

'lazy'
'haar'
'db1', 'db2', 'db3', 'db4', 'db5', 'db6', 'db7', 'db8'
'sym2', 'sym3', 'sym4', 'sym5', 'sym6', 'sym7', 'sym8'
Cohen-Daubechies-Feauveau wavelets
'cdf1.1','cdf1.3','cdf1.5'
'cdf3.1','cdf3.3','cdf3.5'
'cdf5.1','cdf5.3','cdf5.5'
'cdf2.2','cdf2.4','cdf2.6'
'cdf4.2','cdf4.4','cdf4.6'
'cdf6.2','cdf6.4','cdf6.6'
'biorX.Y'
'rbioX.Y'
'bs3'
'rbs3'
'9.7'
'r9.7'

For more information about lifting schemes, see lsinfo.

Examples

% Start from the db2 wavelet and get the
% corresponding lifting scheme.
lsdb2 = liftwave('db2');

% Visualize the obtained lifting scheme.
displs(lsdb2);

lsdb2 = {...                                         
'd'             [ -1.73205081]              [0]   
'p'             [ -0.06698730  0.43301270]  [1]   
'd'             [  1.00000000]              [-1]  
[  1.93185165]  [  0.51763809]              []    
};

Compatibility Considerations

expand all

Not recommended starting in R2021a

Introduced before R2006a