Image Sampling And Quantization