can anyone help in getting idwt2 image

1 view (last 30 days)
juveria fatima
juveria fatima on 29 Apr 2018
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');

Answers (0)

Categories

Find more on Discrete Multiresolution Analysis in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!