Show older comments
how to get dwt of gray texture, and see the four part of dwt image
Answers (1)
Wayne King
on 13 May 2012
Use wavedec2, or dwt2.
wavedec2 is appropriate if you want a multi-level transform. If you just want the first level, you can use dwt2
load woman;
[A,H,V,D] = dwt2(X,'db2');
subplot(221)
imagesc(A)
colormap gray
subplot(222)
imagesc(H)
subplot(223)
imagesc(V)
subplot(224)
imagesc(D)
You can also do it by starting the Wavelet Toolbox GUI
>> wavemenu
and then selecting Wavelet 2-D
Categories
Find more on Discrete Multiresolution Analysis in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!