quantization and contrast