Applications of vector quantization