Image Sampling and Quantization