Afficher commentaires plus anciens
how to get dwt of gray texture, and see the four part of dwt image
Réponses (1)
Wayne King
le 13 Mai 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
Catégories
En savoir plus sur Discrete Multiresolution Analysis dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!