Quantization is to digitize each pixel to pixel-value. If 8 bits are used, delimit as 256 gradation. Or if 16 bits are used, delimit as 65536 gradation.