dwt3

2 views (last 30 days)
slama najla
slama najla on 20 Apr 2012
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

Answers (2)

Wayne King
Wayne King on 20 Apr 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
  1 Comment
slama najla
slama najla on 23 Apr 2012
yes, i'm sorry i mean th 8 sub bands,but i can't arrive to to know how can i use only the mid frequencies(LHL and LLH) because it give A+D not
LLL,HLL,LHL,HHL,LLH,HLH,LHH,HHH.Thanks to help me please.

Sign in to comment.


Wayne King
Wayne King on 23 Apr 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.

Categories

Find more on Discrete Multiresolution Analysis in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!