university computervision week1 theory
Discretization
Source:
- HC1a Images and Interpolation
- https://rvdboomgaard.github.io/ComputerVision_LectureNotes/LectureNotes/IP/Images/index.html

Big picture
The lecture starts with a continuous image:
But computers cannot store infinitely many positions and infinitely precise values.
So we must make the image discrete in two ways:
- Discretize the domain: sampling
- Discretize the range: quantization
One-sentence summary
Sampling answers: “At which positions do we measure?”
Quantization answers: “Which numbers are we allowed to store?”
Mental model
Imagine a smooth brightness surface.
- Sampling puts a grid on top of it
- Quantization rounds the values so the computer can store them
Without these two steps, digital images would not exist.
Formula view
Continuous image:
Discrete image:
And in practice, the stored values are often also quantized to integers such as:
Why interpolation appears after discretization
Once you only know the image values on a grid, you often still want the value in between grid points.
That is why interpolation comes next: