load woman; %小波包2尺度(层)分解 t=wpdec2(X,2,\'haar\'); plot(t);%绘制小波包树 %提取(1,2)处结点。也可以点击上图结点,观察 c12=wpcoef(t,[1,2]); figure, subplot(1,2,1),imshow(X,map),title(\'原图\'); subplot(1,2,2),imshow(c,map),title(\'结点(1,2)系数\');
load woman; %小波包2尺度(层)分解 t=wpdec2(X,2,\'haar\'); plot(t);%绘制小波包树 %提取(1,2)处结点。也可以点击上图结点,观察 c12=wpcoef(t,[1,2]); figure, subplot(1,2,1),imshow(X,map),title(\'原图\'); subplot(1,2,2),imshow(c,map),title(\'结点(1,2)系数\');
相关文章: