二维小波包重构wprec2wprcoef

clc,clear all,close all;
load woman;
t=wpdec2(X,2,'haar');%小波包2层分解
r_X=wprec2(t);%重构小波包
r_X10=wprcoef(t,[1,0]);%重构小波包(1,0)结点
figure;
subplot(1,3,1),imshow(uint8(X)),title('原图');
subplot(1,3,2),imshow(uint8(r_X)),title('重构');
subplot(1,3,3),imshow(uint8(r_X10)),title('重构(1,0)结点');

  

原文地址:https://www.cnblogs.com/xixixing/p/5834050.html