Next: Filtering and convolution using
Up: Wavelet transform
Previous: Wavelet file format
Contents
Index
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.
- Line 1: Wavelet transform of followed by the title of the original image.
- Line 2: xsize followed by the number of coefficients per line.
- Line 3: ysize followed by the number lines of coefficients.
- Line 4: bits/pixel followed by the bits/pixel of the original image.
- 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).
- Line 6: levels followed by the number of levels used by the transform.
- Line 7: xminres followed by the x size in pixels of the low-pass component.
- Line 8: yminres followed by the y size in pixels of the low-pass component.
- Line 9: wavelet followed by a path or filename indicating which wavelet
function was used.
- Subsequent lines contain ysize lines of data with xsize coefficients per line, with coefficients separated by spaces.
Next: Filtering and convolution using
Up: Wavelet transform
Previous: Wavelet file format
Contents
Index
root
2008-10-10