title: Data structure to represent wavelet
body: <p>I'm writing a wavelet representation of images in C++ for fast access. What would be the suitable data structure for wavelet?</p>
  
  <p>Here is a typical wavelet, consisting of images at different sizes. It depends on the height and the number of orientations.</p>
  
  <p>1) Highpass: 512x512</p>
  
  <p>2) Subbands with orientations: 256x256 256x256 256x256 256x256</p>
  
  <p>3) Other subbands: 128x128 128x128 128x128 128x128</p>
  
  <p>...</p>
  
  <p>4) Lowpass: 8x8</p>
  
  <p>Should I use recursive data structure? Or simply convert everything to 1-D array?</p>