function [wi,x1,y1,x2,y2] = bandins(bnd,wx,k,q,a,sizx,sizy) %BANDINS inserts a wavelet band into a wavelet transform. % % BANDINS (BAND,WT,K,Q,BT) inserts the subband BAND into % the K-scales Wavelet transform WT, at the location of % the subband BT of scale Q. % The Q parameter must be less than or equal to K, and the % subband specification BT can be set to: % 0 : Lowpass residue if Q=K. If Q