can anyone help in getting idwt2 image

1 回表示 (過去 30 日間)
juveria fatima
juveria fatima 2018 年 4 月 29 日
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 件)

カテゴリ

Help Center および File ExchangeDiscrete Multiresolution Analysis についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by