can anyone help in getting idwt2 image
1 回表示 (過去 30 日間)
古いコメントを表示
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 件のコメント
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Discrete Multiresolution Analysis についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!