二维离散平稳小波重构iswt2
clc,clear all,close all; load woman; [cA,cH,cV,cD]=swt2(X,2,'haar');%用haar小波基进行2尺度平稳小波分解 Y=iswt2(cA,cH,cV,cD,'haar'); figure; subplot(1,2,1),imshow(uint8(X)),title('原图'); subplot(1,2,2),imshow(uint8(Y)),title('重构');
clc,clear all,close all; load woman; [cA,cH,cV,cD]=swt2(X,2,'haar');%用haar小波基进行2尺度平稳小波分解 Y=iswt2(cA,cH,cV,cD,'haar'); figure; subplot(1,2,1),imshow(uint8(X)),title('原图'); subplot(1,2,2),imshow(uint8(Y)),title('重构');