# For image quantization, is it necessary to sample image?

When we want to quantize an image, is it necessary to do sampling? When we know that image is a discrete signal, is it necessary to find the best samples with Nyquist rate?

Quantization of a continuous signal is the process of representing an infinite set of input values, $x(t)$, that fall into an interval $I_k=[a_k,b_k]$, with a single level $y_k(t)$, the output, that represents all the inputs to that interval with some optimality criterion.