next up previous contents index
Next: Filtering and convolution using Up: Wavelet transform Previous: Wavelet file format   Contents   Index

File format for wavelet-transformed images

Wavelet-transformed images are saved in the following format. All values are in ASCII format. Lines are separated by newline or return characters which may be platform-dependent. The data are stored in a rectangular array with 0's added if necessary to maintain an equal number of coefficients per line.

  1. Line 1: Wavelet transform of followed by the title of the original image.
  2. Line 2: xsize followed by the number of coefficients per line.
  3. Line 3: ysize followed by the number lines of coefficients.
  4. Line 4: bits/pixel followed by the bits/pixel of the original image.
  5. Line 5: format followed by the name of the format used by the transform. This could be ``mallat'', ``Laplace'', ``pyramidal'', ``multiresolution'', etc. The format determines the meaning of the coefficients (see filtering below).
  6. Line 6: levels followed by the number of levels used by the transform.
  7. Line 7: xminres followed by the x size in pixels of the low-pass component.
  8. Line 8: yminres followed by the y size in pixels of the low-pass component.
  9. Line 9: wavelet followed by a path or filename indicating which wavelet function was used.
  10. Subsequent lines contain ysize lines of data with xsize coefficients per line, with coefficients separated by spaces.


next up previous contents index
Next: Filtering and convolution using Up: Wavelet transform Previous: Wavelet file format   Contents   Index
root 2008-10-10