Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 19

FOR M A T I O N O F D I G I T A L

IMA GE

NAME – Soham Chakraborty Stream – CSE


University Roll No.- 11000120032 Subject – Image Processing
OVERVIEW
• WHAT IS IMAGE?
• IMAGING
• COLOUR AND PIXELATION
• SIMPLE MODEL OF IMAGE FORMATION
• GEOMETRIC TRANSFORMATION
• DIGITIZATION
• SAMPLING
• QUANTIZATION
What is Image?
 An image is defined as a two dimensional function, f(x,y) where x and y
are spatial coordinates, and f at any pair of coordinates (x,y) is called the
intensity or gray level of the image at that point.
 There are two types:
 Analog Image – When above mathematical representation has continuous
range of values representing position and intensity, image is analog
image.
 Digital Image – When x, y and f are all finite, discrete quantities, image is
a digital image.
 Digital Image is composed of a finite number of elements, each of which
elements have a particular value at a particular location. These elements
are referred to as picture elements, image elements, and pixels. A Pixel
is most widely used to denote the elements of a Digital Image.
DIGITAL IMAGE
 The representation of an M×N numerical
array as
IMAGING

 The mapping of a 3D world object into a 2D digital image plane is called imaging. In order to do
so, each point on the 3D object must correspond to the image plane.
COLOUR AND PIXELATION:
 In digital imaging, a frame grabber is placed at the image plane which is like a sensor. It aims to
focus the light on it and the continuous image is pixelated via the reflected light by the 3D object.
The light that is focused on the sensor generates an electronic signal. 
 Each pixel that is formed may be colored or grey depending on the intensity of the sampling and
quantization of the light that is reflected and the electronic signal that is generated via them.
 All these pixels form a digital image. The density of these pixels determines the image quality.
The more the density the more the clear and high-resolution image we will get.
 The scene is illuminated
by a single source.
 The scene reflects
radiation towards the
camera.
 The camera senses it via
A Simple solid state cells (CCD
cameras)
model of
image
formation
GEOMETRIC
TRANSFORMATION
 A set of image transformations where the geometry of image is changed without altering its
actual pixel values are commonly referred to as “Geometric” transformation. In general, you
can apply multiple operations on it, but, the actual pixel values will remain unchanged. 
 In these transformations, pixel values are not changed, the positions of pixel values are
changed.
 An affine transformation is a transformation that preserves collinearity and the ratio of
distances (for example – the midpoint of a line segment is still the midpoint even after the
transformation))
 The parallel lines in an original image will be parallel in the output image.
 In general, an affine transformation is a composition of translations, rotations, shears, and
magnifications.
Digitization

 In Digital Image Processing, signals captured from the physical world need to be translated into
digital form by “Digitization” Process. 
 In order to become suitable for digital processing, an image function f(x,y) must be digitized
both spatially and in amplitude. This digitization process involves two main processes :
 Sampling: Digitizing the co-ordinate value is called sampling.
 Quantization: Digitizing the amplitude value is called quantization
 Typically, a frame grabber or digitizer is used to sample and quantize.
Sampling
 Since an analogue image is continuous not just in its co-
ordinates (x axis), but also in its amplitude (y axis), so the part
that deals with the digitizing of co-ordinates is known as
sampling.
 In digitizing sampling is done on independent variable. In case
of equation y = sin(x), it is done on x variable.
 It is obvious that more samples we take, the quality of the image would be
more better, the noise would be more removed and same happens vice
versa.
 However, if you take sampling on the x axis, the signal is not converted to
digital format, unless you take sampling of the y-axis too which is known
as quantization.
Image Sampling - Example
 original image sampled by a factor of 2

Images have
been resized
for easier
 sampled by a factor of 4 sampled by a factor of 8 comparison
Uniform Sampling vs Non-uniform
Sampling
Quantization:
 Quantization is opposite to sampling because it is done on “y axis”
while sampling is done on “x axis”.
 Quantization  is a process of transforming a real valued sampled
image to one taking only a finite number of distinct values.
 Under quantization process the amplitude values of the image are
digitized. In simple words, when you are quantizing an image, you
are actually dividing a signal into quanta(partitions).
Image Quantization - Example
 256 gray levels (8bits/pixel) 32 gray levels (5 bits/pixel) 16 gray levels (4 bits/pixel)

 8 gray levels (3 bits/pixel) 4 gray levels (2 bits/pixel) 2 gray levels (1 bit/pixel)


How quantization is done?

 Here we assign levels to the values generated by sampling


process. 
 In the image shown beside, these vertically ranging values
have been quantized into 5 different levels or partitions.
Ranging from 0 black to 4 white.
 This quantized image represents 5 different levels of gray and
that means the image formed from this signal, would only
have 5 different colors. It would be a black and white image
more or less with some colors of gray.
 When we want to improve the quality of image, we can
increase the levels assign to the sampled image.
Uniform Quantization and Non Uniform Quantization

You might also like