dwt

how to get dwt of gray texture, and see the four part of dwt image

回答(1 个)

Wayne King
Wayne King 2012-5-13

0 个投票

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 的更多信息

标签

提问:

ivy
2012-5-13

Community Treasure Hunt

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

Start Hunting!

Translated by