ls2filt
(To be removed) Transform lifting scheme to quadruplet of filters
This version of ls2filt
will be removed in a future release. Use
the new version of ls2filt
and
liftingScheme
.
For more information, see Compatibility Considerations.
Description
Examples
Obtain Filters From Lifting Scheme
Obtain the lifting scheme associated with the db2
wavelet.
LS = liftwave("db2")
LS=4×3 cell array
{'d' } {[ -1.7321]} {[ 0]}
{'p' } {[-0.0670 0.4330]} {[ 1]}
{'d' } {[ 1]} {[ -1]}
{[1.9319]} {[ 0.5176]} {0x0 double}
Visualize the lifting scheme.
displs(LS);
LS = {... 'd' [ -1.73205081] [0] 'p' [ -0.06698730 0.43301270] [1] 'd' [ 1.00000000] [-1] [ 1.93185165] [ 0.51763809] [] };
Obtain the filters associated with the lifting scheme.
[LoD,HiD,LoR,HiR] = ls2filt(LS)
LoD = 1×4
-0.1294 0.2241 0.8365 0.4830
HiD = 1×4
-0.4830 0.8365 -0.2241 -0.1294
LoR = 1×4
0.4830 0.8365 0.2241 -0.1294
HiR = 1×4
-0.1294 -0.2241 0.8365 -0.4830
Get the db2
filters using the wfilters
function. Check the equality.
[LoDref,HiDref,LoRref,HiRref] = wfilters("db2")
LoDref = 1×4
-0.1294 0.2241 0.8365 0.4830
HiDref = 1×4
-0.4830 0.8365 -0.2241 -0.1294
LoRref = 1×4
0.4830 0.8365 0.2241 -0.1294
HiRref = 1×4
-0.1294 -0.2241 0.8365 -0.4830
Input Arguments
LS
— Lifting scheme
cell array
Lifting scheme, specified as a cell array. The format of
LS
is identical to the format of the output of
liftwave
.
Note
liftwave
is no longer recommended and will be
removed in a future release. Use liftingScheme
.
Data Types: cell
Output Arguments
LoD,HiD
— Wavelet decomposition filters
vectors
Wavelet decomposition filters, returned as a pair of even-length real-valued
vectors. LoD
is the lowpass decomposition filter, and
HiD
is the highpass decomposition filter. See wfilters
for additional
information.
Data Types: double
LoR,HiR
— Wavelet reconstruction filters
vectors
Wavelet reconstruction filters, returned as a pair of even-length real-valued
vectors. LoR
is the lowpass reconstruction filter, and
HiR
is the highpass reconstruction filter. See wfilters
for additional
information.
Data Types: double
Version History
Introduced before R2006aR2021a: ls2filt
will be removed
ls2filt
will be removed in a future release. Use ls2filt
,
the new version of ls2filt
, and liftingScheme
. To update your code, follow these steps:
Create a lifting scheme using
liftingScheme
.Extract the wavelet filters using
ls2filt
.
See Also
MATLAB 명령
다음 MATLAB 명령에 해당하는 링크를 클릭했습니다.
명령을 실행하려면 MATLAB 명령 창에 입력하십시오. 웹 브라우저는 MATLAB 명령을 지원하지 않습니다.
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
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)