Image Sampling And Quantization With Example