Lecture 2 image processing
Lecture 2 image processing
Radiometry
• It means the measurement of light. Pixel intensity in an image
depends on the amount of light reflected by the surface.
• So that’s why measurement of light is quite important and is called
radiometry.
A Simple Image Formation Model
The key difference between uniform and nonuniform quantization is that uniform quantization
has equal step sizes while, in nonuniform quantization, the step sizes are not equal. Another
important difference between uniform and nonuniform quantization is that, in the uniform
quantization, some amount of quantization error can happen, but nonuniform quantization reduces
the quantization error.
Image Sampling and
Quantization
• Discretization: Process in which signals or data samples are
considered at regular intervals. It is the process of transferring
continuous functions, models, variables, and equations into discrete
counterparts. This process is usually carried out as a first step toward
making them suitable for numerical evaluation and implementation
on digital computers.
• Sampling: It is the discretization of image data in spatial coordinates.
(Digitizing the Coordinate value is called Sampling)
• Quantization: It is the discretization of image intensity (gray level)
values. (Digitizing the amplitude value is called Quantization)
Image Sampling and
Quantization
Image Sampling and
Quantization
• Figure (b) is a plot of amplitude values of the continuous image along the line segment
AB in fig (a).
• Samples are shown as small white squares superimposed on the function. The set of
these discrete locations gives the sampled function.
• Then the intensity values are converted (quantized) into discrete quantities .
The continuous intensity levels are quantized by assigning one of the eight values to
each sample.
• By Repeating this process line by line from top of the image can generate a 2D digital
image.
Image Sampling and
Quantization
• Sampling: digitizing the 2-dimensional spatial coordinate values.
• Quantization: digitizing the amplitude values (brightness level)
• Accuracy in quantization is highly dependent on the noise content of the sampled signal
Result of sampling and quantization
Image before sampling and
quantization
Differences between Sampling and
Quantization
Sampling Quantization
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.
A single amplitude value is selected from different values of Values representing the time intervals are rounded off to
the time interval to represent it. create a defined set of possible amplitude values.
Image Sampled w.r.t. ‘x’ and ‘y’
coordinates
• N – no. of samples along x axis (i.e. no. of columns in the matrix).
• M – no. of samples along y axis (i.e. no. of rows in the matrix).
M = 2m and N = 2n
• If M = N, then:
b = N2 * k
k-bit (An Image having 2k gray levels)2k gray levels
-Prepared by
Mrs. Jheelam Mondal
Asst. Prof, CSE department
Haldia Institute of Technology