显示 更早的评论
how to get dwt of gray texture, and see the four part of dwt image
回答(1 个)
Wayne King
2012-5-13
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
类别
在 帮助中心 和 File Exchange 中查找有关 Discrete Multiresolution Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!