Put Wavelet/Cosine Packet Coefficients into 2-d Table
pkt2 = Calc2dPktTable(TFType,img,D,TFPar)
string, 'CP' or 'WP' selecting type of time-frequency analysis
2-d image, n by n, n dyadic
maximum depth of splitting
if 'WP', qmf, if 'CP', bellname
packet table
Creates a packet table of maximum depth D for the image specified by img.