要创建数字图像,我们需要将连续感知的数据转换为数字形式。
这个过程包括2个过程:
- 采样:将坐标值数字化称为采样。
- 量化:将幅度值数字化称为量化。
要将连续图像 f(x, y) 转换为数字形式,我们必须在坐标和幅度上对函数进行采样。
图像采样和量化的区别:
Sampling | Quantization |
---|---|
Digitization of co-ordinate values. | Digitization of amplitude values. |
x-axis(time) – discretized. | x-axis(time) – continuous. |
y-axis(amplitude) – continuous. | y-axis(amplitude) – discretized. |
Sampling is done prior to the quantization process. | Quantizatin is done after the sampling process. |
It determines the spatial resolution of the digitized images. | It determines the number of grey levels in the digitized images. |
It reduces c.c. to a series of tent poles over a time. | It reduces c.c. to a continuous series of stair steps. |
A single amplitude value is selected from different values of the time interval to represent it. | Values representing the time intervals are rounded off to create a defined set of possible amplitude values. |