|
|
For other uses, see VQ.Vector quantization is a classical quantization technique from signal processing which allows the modeling of probability density functions by the distribution of prototype vectors. It was originally used for data compression. It works by dividing a large set of points (vectors) into groups having approximately the same number of points closest to them. Each group is represented by its centroid point, as in k-means and some other clustering algorithms.The density matching property of vector quantization is powerful, particularly for identifying the density of large and high-dimensioned data. Since data points are represented by the index of their closest centroid, frequently occurring data have low error, and rare data high error. This is why VQ is suitable for lossy data compression. It can also be used for lossy data correction and density estimation.Vector quantization is based on the competitive learning paradigm, so it is closely related to the self-organizing map model. Training
A simple training algorithm for vector quantization is:Pick a sample point at randomMove the nearest quantization vector centroid towards this sample point, by a small fraction of the distanceRepeatA more sophisticated algorithm reduces the bias in the density matching estimation, and ensures that all points are used, by including an extra sensitivity parameter:Increase each centroid's sensitivity by a small amountPick a sample point at randomFind the quantization vector centroid with the smallest Move the chosen centroid toward the sample point by a small fraction of the distanceSet the chosen centroid's sensitivity to zeroRepeatIt is desirable to use a cooling schedule to produce convergence: see Simulated annealing.The algorithm can be iteratively updated with 'live' data, instead of by picking random points from a data set, but this will introduce some bias if the data is temporally correlated over many samples. Applications
Vector quantization is used for lossy data compression, lossy data correction and density estimation.Lossy data correction, or prediction, is used to recover data missing from some dimensions. It is done by finding the nearest group with the data dimensions available, then predicting the result based on the values for the missing dimensions, assuming that they will have the same value as the group's centroid.For density estimation, the area/volume that is closer to a specific centroid than to any other is inversely proportional to the density (due to the density matching property of the algorithm). Use in data compression
Vector quantization, also called "block quantization" or "pattern matching quantization" is often used in lossy data compression. It works by encoding values from a multidimensional vector space into a finite set of values from a discrete subspace of lower dimension. A lower-space vector requires less storage space, so the data is compressed. Thanks to the density matching property of vector quantization, the compressed data have errors that are inversely proportional to their density.The transformation is typically done by projection or by using a codebook. In some cases, a codebook can be also used to entropy code the discrete value in the same step, by generating a prefix coded variable-length encoded value as its output.The set of discrete amplitude levels is quantized jointly instead of each sample being quantized separately. Consider a K-dimensional vector [x1,x2,...,xk] of amplitude levels. It is compressed by choosing the nearest matching vector from a set of N-dimensional vectors [y1,y2,...,yn].All possible combinations of the N-dimensional vector [y1,y2,...,yn] form the codebook.Block Diagram: A simple vector quantizer is shown belowOnly the index of the codeword in the codebook is sent instead of the quantized values. This conserves space and achieves more compression.Twin vector quantization (VQF) is part of the MPEG-4 standard dealing with time domain weighted interleaved vector quantization. Video codecs based on vector quantization
This list is incomplete; you can help by expanding it. Cinepakand old versions of its spiritual successors: Sorenson codecIndeoWestwood's VQA format, used in many gamesAll of which are superseded by the MPEG family. Audio codecs based on vector quantization
This list is incomplete; you can help by expanding it. CELPG.729TwinVQOgg Vorbis AMR-WB+DTS
Related Ads
|
|