2d Wavelet Packet Analysis in Adaptively Chosen Basis
[bb,stats,coef] = WP2dTour(img,MaxDeep,qmf[,titlestr])
2-d image; size n by n, n dyadic
integer; limit on max depth of tree in best basis search
quadrature mirror filter
string; name of signal
basis quadtree of best basis
stat quadtree of best basis
coefficients in best basis
Perform an adaptive wavelet packet analysis on the given image, selecting the best basis and then plotting the WP coefficients for this basis along with the image overlaid by its 2-d partition.