i get an error. ,whats wrong in DWT? how LoD and HiD works in DWT ?

3 vues (au cours des 30 derniers jours)
Sultan Mehmood
Sultan Mehmood le 10 Juil 2019
X=imread('camera man.png');
imagesc(X)
colormap gray
[LoD,HiD] = wfilters('haar','d');
[cA,cH,cV,cD] = dwt2(X,LoD,HiD);
subplot(2,2,1)
imagesc(cA)
colormap gray
title('Approximation')
subplot(2,2,2)
imagesc(cH)
colormap gray
title('Horizontal')
subplot(2,2,3)
imagesc(cV)
colormap gray
title('Vertical')
subplot(2,2,4)
imagesc(cD)
colormap gray
title('Diagonal')
S = idwt2(cA,cH,cV,cD,LoD,HiD);
K = mat2gray(S);

Réponses (0)

Catégories

En savoir plus sur Wavelet Toolbox dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by