next up previous contents index
Next: Fwlbg_adap Up: Reference Previous: Fwivq   Contents   Index

fwivq

$ \bigcirc$Name


fwivq Decompress an image compressed by vector quantization of its wavelet transform




$ \bigcirc$Command Synopsis


fwivq [-e EdgeIR] [-b ImpulseResponse2] [-n FilterNorm] [-w WeightFac] [-x CodeBook2] [-y CodeBook3] [-A ResCodeBook1] [-B ResCodeBook2] [-C ResCodeBook3] [-D ResResCodeBook1] [-E ResResCodeBook2] Cimage CodeBook1 ImpulseResponse Result



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

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

-n FilterNorm : Normalization mode for filter bank

-w WeightFac : Scaling factor for wavelet coefficients

-x CodeBook2 : Sequence of codebooks for second class (fimage)

-y CodeBook3 : Sequence of codebooks for third class (fimage)

-A ResCodeBook1 : Sequence of codebooks for residu quantization after quantization with CodeBook1 (fimage)

-B ResCodeBook2 : Sequence of codebooks for residu quantization after quantization with CodeBook2 (fimage)

-C ResCodeBook3 : Sequence of codebooks for residu quantization after quantization with CodeBook3 (fimage)

-D ResResCodeBook1 : Sequence of codebooks for residu quantization after quantization with CodeBook1 and ResCodeBook1 (fimage)

-E ResResCodeBook2 : Sequence of codebooks for residu quantization after quantization with CodeBook2 and ResCodeBook2 (fimage)

Cimage : Input string of codewords (cimage)

CodeBook1 : Sequence of codebooks for first class (fimage)

ImpulseResponse : Impulse response of inner filters (fsignal)

Result : Reconstructed image (fimage)




$ \bigcirc$Function Summary


void fwivq (Edge_Ri , Ri2 , FilterNorm , WeightFac , CodeBook2 , CodeBook3 , ResCodeBook1 , ResCodeBook2 , ResCodeBook3 , ResResCodeBook1 , ResResCodeBook2 , Compress , CodeBook1 , Ri , Output )

Fimage Edge_Ri ;

Fsignal Ri2 ;

int *FilterNorm ;

float *WeightFac ;

Fimage CodeBook2 , CodeBook3 ;

Fimage ResCodeBook1 , ResCodeBook2 , ResCodeBook3 ;

Fimage ResResCodeBook1 ;

Fimage ResResCodeBook2 ;

Cimage Compress ;

Fimage CodeBook1 ;

Fimage Output ;

Fsignal Ri ;




$ \bigcirc$Description


This module reconstructs an image from the compressed file Compress, which has been generated using the wavelet transform + vector quantization module fwvq. The reconstructed image is put in Result.

First the wavelet transform of Result is reconstructed, using the codebooks CodeBook1, CodeBook2, CodeBook3, ResCodeBook1, ResCodeBook2, ResCodeBook3, ResResCodeBook1 and ResResCodeBook2 (see fwvq program documentation for information on these codebooks). 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 Result.

All the options should be selected and tuned in exactly the same manner at the compression (fwvq) and decompression (fwivq) steps. Likewise, CodeBook1 and ImpulseResponse should be the same at the compression (fwvq) and decompression (fwivq) steps. Then Result should be identical to the image QImage obtained with fwvq.




$ \bigcirc$See Also


fiscalq, fivq, ibiowave2, iowave2.




$ \bigcirc$Version 2.00


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


$ \bigcirc$Author


Jean-Pierre D'Ales






next up previous contents index
Next: Fwlbg_adap Up: Reference Previous: Fwivq   Contents   Index
mw 2004-05-05