Quantization maps a continuous (or large) set of values to a smaller discrete set.
There are two maps to keep track of:
- The quantization map sends a real value to a code: \[ Q: X \rightarrow \{0,\dots,|Y|-1\} \]
- The dequantization map reconstructs an approximate real value from that code: \[ Q^{-1}: \{0,\dots,|Y|-1\} \rightarrow \mathbb{R} \]