Performing 2D Wavelet decomposition
Afficher commentaires plus anciens
I am performing 2D wavelet decomposition of a color image using this code. Is the ok or i need to perform 1D decomposition too ?
X= imread('hi.jpg');
[c,s]=wavedec2(X,2,'haar');
[H2,V2,D2] = detcoef2('all',c,s,2);
A2 = appcoef2(c,s,'haar',2);
figure,imshow(H2);figure,imshow(V2);figure,imshow(D2);
Réponses (0)
Catégories
En savoir plus sur Image 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!