Reordering Process

Why would you?

In order to actually compress an image, we need to take advantage of redundancy in the data. A very simple way to do this without a complicated prediction mechanism, is run-length coding. In fact, we only run-length code subsequent 0s. We still want to take advantage of the original 2D nature of the data, which implies that coefficients close to each other have a higher probability of being similar, but without the complication of a 2D context-model like quad- or zero- trees.

Another reason for this reordering is that we can preserve the progressive nature of wavelet coding by first writing the important coefficients and then the less and less important ones (which we call the levels of the decomposition).

How do we reorder?

Then the coefficients are "reordered" into a one-dimensional array by octave-bands (and using a Hilbert space-filling curve within each octave, first is a block of coefficients with HD (horizontal detail), followed by a block of VD (vertical detail) coefficients, and finally a block the DD (diagonal detail) coefficients.

Now, we are able to write the coefficients of each block to disk via Coding Process.


Generated on Tue Jul 10 20:44:34 2007 for wavelet by  doxygen 1.5.2