next up previous contents index
Next: flbg_adap Up: Reference Previous: fscalq   Contents   Index

fivq

$ \bigcirc$Name


fivq Reconstruction of a vector quantized image




$ \bigcirc$Command Synopsis


fivq [-p Print] [-r NRow] [-h NCol] [-x CodeBook2] [-y CodeBook3] [-z CodeBook4] [-a ResCodeBook1] [-b ResCodeBook2] [-c ResCodeBook3] [-d ResCodeBook4] [-e ResResCodeBook1] [-f ResResCodeBook2] Compress CodeBook1 Result



-p Print : Do not print info on reconstrction process

-r NRow : Number of rows in reconstructed image

-h NCol : Number of columns in reconstructed image

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

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

-z CodeBook4 : Sequence of codebooks for fourth class (fimage)

-a ResCodeBook1 : Codebook for residu quantization after CodeBook1 quantization (fimage)

-b ResCodeBook2 : Codebook for residu quantization after CodeBook2 quantization (fimage)

-c ResCodeBook3 : Codebook for residu quantization after CodeBook3 quantization (fimage)

-d ResCodeBook4 : Codebook for residu quantization after CodeBook4 quantization (fimage)

-e ResResCodeBook1 : Codebook for residu quantization after CodeBook1 and ResCodeBook1 quantization (fimage)

-f ResResCodeBook2 : Codebook for residu quantization after CodeBook2 and ResCodeBook2 quantization (fimage)

Compress : Compressed image (cimage)

CodeBook1 : Sequence of codebooks for first class (fimage)

Result : Reconstructed image (fimage)

screen output : Compression rate




$ \bigcirc$Function Summary


void fivq (Print , NRow , NCol , CodeBook2 , CodeBook3 , CodeBook4 , ResCodeBook1 , ResCodeBook2 , ResCodeBook3 , ResCodeBook4 , ResResCodeBook1 , ResResCodeBook2 , Compress , CodeBook1 , Result , Rate )

int *Print ;

int *NRow , *NCol ;

Fimage CodeBook2 , CodeBook3 , CodeBook4 ;

Fimage ResCodeBook1 , ResCodeBook2 , ResCodeBook3 , ResCodeBook4 ;

Fimage ResResCodeBook1 , ResResCodeBook2 ;

Cimage Compress ;

Fimage CodeBook1 ;

Fimage Result ;

double *Rate ;




$ \bigcirc$Description


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

Result is reconstructed using the sequences of codebooks contained in CodeBook1, CodeBook2, CodeBook3, CodeBook4, ResCodeBook1, ResCodeBook2, ResCodeBook3, ResCodeBook4, ResResCodeBook1 and ResResCodeBook2 (see fvq module documentation for information on these codebooks). The same codebooks should be used during the encoding (fvq) and decoding (fivq) phases. Then Result should be identical to the image QImage obtained with fvq.

The -r and -h options enable to specify the number of rows and columns in the reconstructed image. They must be activated if the -h option has been activated during the encoding process (fvq) because then this information is not included in the header of Compress.




$ \bigcirc$See Also


ardecode2.

fwivq.


$ \bigcirc$Version 1.00


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


$ \bigcirc$Author


Jean-Pierre D'Ales






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