MATLAB Help Center
Add elementary lifting steps
Since R2021a
lsn = addlift(lscheme,els)
lsn = addlift(lscheme,els,loc)
lsn = addlift(lscheme,els) appends the array of elementary lifting steps els to the lifting scheme object lscheme.
lsn
lscheme
els
lsn = addlift(lscheme,els,loc) inserts the array of elementary lifting steps els in the lifting scheme lscheme at the specified location loc.
loc
example
collapse all
Create a lifting scheme associated with the db2 wavelet.
db2
lscheme = liftingScheme('Wavelet','db2')
lscheme = Wavelet : 'db2' LiftingSteps : [3 × 1] liftingStep NormalizationFactors : [1.9319 0.5176] CustomLowpassFilter : [ ] Details of LiftingSteps : Type: 'predict' Coefficients: -1.7321 MaxOrder: 0 Type: 'update' Coefficients: [-0.0670 0.4330] MaxOrder: 1 Type: 'predict' Coefficients: 1 MaxOrder: -1
Create an array that consists of two elementary lifting steps.
elsA = liftingStep('Type','predict',... 'Coefficients',[-sqrt(3) 1],'MaxOrder',0); elsB = liftingStep('Type','update',... 'Coefficients',[2 sqrt(2)],'MaxOrder',0); els = [elsA;elsB];
Insert the array at the second position.
loc = 2; lsn = addlift(lscheme,els,loc)
lsn = Wavelet : 'custom' LiftingSteps : [5 × 1] liftingStep NormalizationFactors : [1.9319 0.5176] CustomLowpassFilter : [ ] Details of LiftingSteps : Type: 'predict' Coefficients: -1.7321 MaxOrder: 0 Type: 'predict' Coefficients: [-1.7321 1] MaxOrder: 0 Type: 'update' Coefficients: [2 1.4142] MaxOrder: 0 Type: 'update' Coefficients: [-0.0670 0.4330] MaxOrder: 1 Type: 'predict' Coefficients: 1 MaxOrder: -1
liftingScheme
Lifting scheme, specified as a liftingScheme object.
Lifting steps, specified as a structure.
length(lscheme.LiftingSteps)
Location to add the lifting steps in lscheme, specified as a positive integer between 1 and length(lscheme.LiftingSteps) inclusive.
If loc is 1, the lifting steps are inserted at the beginning of the lifting scheme.
If loc is length(lscheme.LiftingSteps), the lifting steps are added at the end of the lifting scheme.
If loc is greater than 1 and less than length(lscheme.LiftingSteps), the lifting steps are inserted after the (loc-1)th step of lsc.
lsc
Data Types: double
double
Lifting scheme, returned as a liftingScheme object.
expand all
Introduced in R2021a
liftingStep | liftingScheme | deletelift
liftingStep
deletelift
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
Europe
Asia Pacific
Contact your local office