vqencode encodes datfile (DAT format) using vector quantization (VQ). vqencode uses input codebookfile (CBK format) as the VQ codebook and outputs a channel of VQ indices to channelfile (CHN format). vqencode implements full-search VQ with a squared-error distortion measure. The channel symbols range from 0 to N-1, where N is the number of codewords in codebookfile. The VQ codebook, codebookfile, can be trained using gla(1) .
A. Gersho and R. Gray, Vector Quantization and Signal Compression. Norwell, MA: Kluwer Academic Publishers, 1992.