**Name**

**fiezw** Decompress an image compressed by EZW algorithm

**Command Synopsis**

**fiezw** [-e *EdgeIR*] [-b *ImpulseResponse2*] [-w *WeightFac*] *Compress* *ImpulseResponse* *QImage*

-eEdgeIR: Impulse reponses of edge and preconditionning filters for orthogonal transform (fimage)

-bImpulseResponse2: Impulse response of filter 2 for biorthogonal transform (fsignal)

-wWeightFac: Scaling factor for wavelet coefficients

Compress: Input string of codewords (cimage)

ImpulseResponse: Impulse response of inner filters (fsignal)

QImage: Output reconstructed image (fimage)

**Function Summary**

void fiezw (Edge_Ri , Ri2 , WeightFac , Compress , Ri , Output )

Fimage Edge_Ri ;

Fsignal Ri2 ;

float *WeightFac ;

Cimage Compress ;

Fsignal Ri ;

Fimage Output ;

**Description**

This module reconstructs an image from the compressed file *Compress*,
which has been generated using the compression modules *ezw*
or *fezw*. The reconstructed image is put in Qimage.

First the wavelet transform of *Qimage* is reconstructed from
the information contained in the *Compress* file.
Then a scaling of the coefficients is made if he -w option is selected.
Finally an inverse wavelet transform is applied to reconstruct the image
*Qimage*.

All the options should be selected and tuned in exactly the same
manner at the compresion (*fezw*) and decompression (*fiezw*).
Likewise, *ImpulseResponse* should be the same
at the compresion and decompression.

**See Also**

**Version 1.10**

Last Modification date : Thu Nov 29 20:23:57 2001

**Author**

Jean-Pierre D'Ales