A compression and decompression system in which a reversible wavelet
filter are used to generates coefficients from input data, such as image
data. The reversible wavelet filter is an efficient transform implemented
with integer arithmetic that has exact reconstruction. The present
invention uses the reversible wavelet filter in a lossless system (or
lossy system) in which an embedded codestream is generated from the
coefficients produced by the filter. An entropy coder performs entropy
coding on the embedded codestream to produce the compressed data stream.