can anyone help in getting idwt2 image
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
i have attached input image after applying my algorithm with dwt2 i have got the a1,a2,a3 now ,on which i have to apply idwt2 using haar wavelet ,,am not getting the input image back in decoding stage . can anyone help
a1 = izigzag(b1, 512, 512); a2 = izigzag(b2, 512, 512); a3 = izigzag(b3, 512, 512);
a = cat(3,a1,a2,a3);
% Step 9 : Inverse Quantization
%%Inverse Quantization
ReconstructedImage=a*quantizedvalue;
% disp('recon Image')
% size(ReconstructedImage)
sX = size(a);
cA1 = ReconstructedImage(1:(sX(1)/2), 1:(sX(1)/2));
cH1 = ReconstructedImage(1:(sX(1)/2), (sX(1)/2 + 1):sX(1));
cV1 = ReconstructedImage((sX(1)/2 + 1):sX(1), 1:(sX(1)/2));
cD1 = ReconstructedImage((sX(1)/2 + 1):sX(1), (sX(1)/2 + 1):sX(1));
ReconstructedImage = idwt2(cA1,cH1,cV1,cD1,'haar');
0 Commenti
Risposte (0)
Vedere anche
Categorie
Scopri di più su Discrete Multiresolution Analysis in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!