Help using idwt3 - high and low pass filters
1 次查看(过去 30 天)
显示 更早的评论
I am trying to use idwt3 on my data after applying soft thresholding but I am not sure how to do this exactly; I used dwt3(x, sym2) on my data but as I understand it in order to get back to the original displacement domain I can just use idwt3(x, sym2) I must decide low and high pass filters and input characters such as aaa etc. Is anyone well versed with this toolbox and can guide me through it
thanks bran
0 个评论
回答(2 个)
Wayne King
2013-5-16
dwt3 returns a structure array. The 3-D wavelet coefficients are in the dec field and are ordered as explained in the documentation for dwt3.m
For example, wt.dec{1,1,1} contains the LLL subband so to construct an image approximation solely based on the the LLL image, I can set all the others to zero and invert.
X = reshape(1:64,4,4,4);
wt = dwt3(X,'sym2','mode','per');
decnew = cell(2,2,2);
decnew(:) = {zeros(2,2,2)};
decnew{1,1,1} = wt.dec{1,1,1};
wt.dec = decnew;
X1 = idwt3(wt);
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Discrete Multiresolution Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!