Name
swt2 — Two Dimentional Stationary Wavelet Transform
Calling Sequence
[A,H,V,D]=swt2(X,N,wname])
[A,H,V,D]=swt2(X,N,Lo_D,Hi_D)
SWC=swt2(X,N,wname])
SWC=swt2(X,N,Lo_D,Hi_D)
Parameters
- wname
-
: wavelet name
- X
-
: double matrix
- Lo_D
-
: lowpass analysis filter
- Hi_D
-
: highpass analysis filter
- N
-
: decomposition level, integer larger than zero
- A
-
: approximation coefficient, 3 dimensional matrix if N is larger than one, or 2 dimensional matrix if N equals to one.
- H
-
: Horizontal Detail coefficient, 3 dimensional matrix if N is larger than one, or 2 dimensional matrix if N equals to one.
- V
-
: Vertical Detail coefficient, 3 dimensional matrix if N is larger than one, or 2 dimensional matrix if N equals to one.
- D
-
: detail coefficent, 3 dimensional matrix if N larger than one, or 2 dimensional if N equals to one.
- SWC
-
: composite coefficent, 3 dimensional matrix, SWC(:,:,$) is the last level approximation coefficient.
Description
swt2 is two dimensional discrete stationary wavelet transform utility. Input matrix size must be multiples of power N of 2.
Examples
x=rand(512,512);
[A,H,V,D]=swtw(X,3,'db2');
Authors
Roger Liu and Isaac Zhi