An Adaptive Approach to Quantization for Video Image Compression