what is sampling and quantization in digital image processing