Two Dimentional Stationary Wavelet Transform
[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)
wavelet name, haar( "haar"), daubechies ("db1" to "db36"), coiflets ("coif1" to "coif17"), symlets ("sym2" to "sym20"), legendre ("leg1" to "leg9"), bathlets("bath4.0" to "bath4.15" and "bath6.0" to "bath6.15"), dmey ("dmey"), beyklin ("beylkin"), vaidyanathan ("vaidyanathan"), biorthogonal B-spline wavelets ("bior1.1" to "bior6.8"), "rbior1.1" to "rbior6.8"
double matrix
lowpass analysis filter
highpass analysis filter
decomposition level, integer larger than zero
approximation coefficient, 3 dimensional matrix if N is larger than one, or 2 dimensional matrix if N equals to one.
Horizontal Detail coefficient, 3 dimensional matrix if N is larger than one, or 2 dimensional matrix if N equals to one.
Vertical Detail coefficient, 3 dimensional matrix if N is larger than one, or 2 dimensional matrix if N equals to one.
detail coefficent, 3 dimensional matrix if N larger than one, or 2 dimensional if N equals to one.
composite coefficent, 3 dimensional matrix, SWC(:,:,$) is the last level approximation coefficient.
swt2 is two dimensional discrete stationary wavelet transform utility. Input matrix size must be multiples of power N of 2.
x=rand(512,512); [A,H,V,D]=swt2(x,3,'db2'); | ![]() | ![]() |