dwt3
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
hello, can some body help me to show the 4 subbands (approximation+ 3 subbands of details )getting from dwt3, because any code i find it give just the approximation + details and not the 4 subbands us in dwt2, please help me
0 comentarios
Respuestas (2)
Wayne King
el 20 de Abr. de 2012
Hi Slama, There are more than 4 subbands in the 3D discrete wavelet transform. There are 8 subbands. This are listed on the reference page for wavedec3
They are:
LLL,HLL,LHL,HHL,LLH,HLH,LHH,HHH
Wayne King
el 23 de Abr. de 2012
I'm not sure what you are asking. You can zero out everything in the output of wavedec3 except those subbands you are interested in, and then use waverec3 to reconstruct based on those subbands.
M = magic(8);
% Make data 3-D
X = repmat(M,[1 1 8]);
% Decompose X at level 1 using db1.
wd1 = wavedec3(X,1,'db1');
As it states in the documentation I referred you wd1.dec{3} and wd1.dec{5} contain the LHL and LLH subbands you wish.
So you can extract them directly
LHL = wd1.dec{3};
LLH = wd1.dec{5};
Or you can create an approximation to the data based on just these details and use waverec3.
0 comentarios
Ver también
Categorías
Más información sobre Discrete Multiresolution Analysis en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!