fiezw Decompress an image compressed by EZW algorithm
fiezw [-e EdgeIR] [-b ImpulseResponse2] [-w WeightFac] Compress ImpulseResponse QImage
-e EdgeIR : Impulse reponses of edge and preconditionning filters for orthogonal transform (fimage)
-b ImpulseResponse2 : Impulse response of filter 2 for biorthogonal transform (fsignal)
-w WeightFac : Scaling factor for wavelet coefficients
Compress : Input string of codewords (cimage)
ImpulseResponse : Impulse response of inner filters (fsignal)
QImage : Output reconstructed image (fimage)
void fiezw (Edge_Ri , Ri2 , WeightFac , Compress , Ri , Output )
Fimage Edge_Ri ;
Fsignal Ri2 ;
float *WeightFac ;
Cimage Compress ;
Fsignal Ri ;
Fimage Output ;
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.
ibiowave2, iezw, iowave2.
Last Modification date : Thu Nov 29 20:23:57 2001