Professional Documents
Culture Documents
2
DIGITAL IMAGE PROCESSING SYSTEMS
Unit structure :
2.0 Objectives
2.1 Structure Of Human Eye
2.2 Image Formation In The Human Eye
2.3 Brightness Adaptation And Discrimination
2.4 Image Sensing And Acquisition
2.5 A Simple Image Formation Model
2.6 Image Sampling And Quantization
2.7 Representing Digital Image
2.8 Spatial and Gray-Level Resolution
2.9 Summary
2.10 Unit end exercise
2.11 Further Reading
2.0 OBJECTIVES
www.rocktheit.com www.facebook.com/rocktheit
2 Digital Image Processing Systems
Human Eye
The focal length (distance between the center lens and the retina) of the lens varies
between 14 mm and 17 mm.
To focus on distant objects, the controlling muscles cause the lens to be relatively flattened.
Similarly, these muscles allow the lens to become thicker in order to focus on objects near
the eye.
An inverted image of the object is formed on the fovea region of the retina.
www.rocktheit.com www.facebook.com/rocktheit
5 Digital Image Processing Systems
In above figure the observer is looking at a tree 72.5 m high at a distance of 100m.
If h is the height in mm of an object in the retinal image, it is easy to calculate the size of
the retinal image of any object.
15/100=h/17 or h=2.55mm
Example
If we stand in a brightly lit area we cannot discern details in a dark area since it will appear
totally dark.
Our photo-receptors cannot respond to the low level of intensity because the level of
sensitivity has been adapted to the bright light.
www.rocktheit.com www.facebook.com/rocktheit
6 Digital Image Processing Systems
However a few minutes after moving into the dark room, our eyes would adapt to the
required sensitivity level and we would be able to see in the dark area.
This shows that though our visual system can respond to a wide dynamic range, it is
possible only by adapting to different lighting conditions.
At a given point of time our eye can respond well to only particular brightness levels.
The response of the visual system can be characterized with respect to a particular
brightness adaption level.
How many different intensities can we see at a given brightness adaption level?
At a given brightness adaption level, a typical human observer can discern between 1 to 2
dozen different intensity changes.
If a person is looking at some point on a grayscale image (monochrome image), he would
be able to discern about 1 to 2 dozen intensity levels.
However, as the eyes are moved to look at some other point on the image, the brightness
adaption level would change, and a different set of intensity levels will now become
discernable.
Hence at a given adaption level the eye cannot discriminate between too many intensity
levels, but by varying the adaption level the eye is capable of discriminating a much
broader range of intensity levels.
www.rocktheit.com www.facebook.com/rocktheit
7 Digital Image Processing Systems
For the weight of magnitude, I, of 2.0 kg, the increment threshold for detecting a difference
was a I (pronounces, delta I) of 0.2 kg.
A plot of log∆I / I, as a function of log I has the general shape shown in above fig.
This shows brightness discrimination is poor at low levels of illumination, and improves
significantly as background illumination increases.
Mach-band effect
www.rocktheit.com www.facebook.com/rocktheit
8 Digital Image Processing Systems
Simultaneous contrast
The perceived brightness of a region does not depend on the intensity of the region, but on
the context (background or surrounding‟s) on which it is seen.
All the center squares have exactly same intensity.
However, they appear to the eye to become darker as the background gets lighter.
Light
The light as we see it illuminating the objects is a very small portion of the electromagnetic
spectrum.
This is the visible color spectrum which can be sensed by the human eye.
Its wavelength spans between 0.43 mm for violet to 0.79 mm for red.
The wavelengths outside this range correspond to radiations which cannot be sensed by
human eye.
For example, the ultra-violet rays, the X-rays and the Gamma rays have progressively
shorter wavelengths, and on the other hand, infrared rays, microwaves, and radio waves
have progressively larger wavelengths.
The color that we perceive for an object is basically that of the light reflected from the
object.
Light which gets perceived as gray shades from black to white is called as monochromatic
or achromatic light (without color).
Light which gets perceived as colored is called as chromatic light.
Important terms which characterize a chromatic light source are:
Radiance The total amount of energy that flows from the
light source.
Measured in watts.
www.rocktheit.com www.facebook.com/rocktheit
10 Digital Image Processing Systems
Luminance It measures the amount of energy an observer
perceives from a light source.
Measured in lumens.
Brightness Indicates how a subject perceives the light in a
sense similar to that of achromatic intensity.
Introduction
Imaging sensors
www.rocktheit.com www.facebook.com/rocktheit
11 Digital Image Processing Systems
The most common sensor of this type is the photodiode, which is constructed of silicon
materials and whose output voltage waveform is proportional to light.
The use of a filter in front of a sensor improves selectivity.
For example, a green (pass) filter in front of a light sensor favors light in the green band of
the color spectrum.
As a consequence, the sensor output will be stronger for green light than for other
components in the visible spectrum.
In order to generate a 2-D image using a single sensor, there have to be relative
displacements in both the x- and y-directions between the sensor and the area to be
imaged.
A film negative is mounted onto a drum whose mechanical rotation provides displacement
in one dimension.
The single sensor is mounted on a lead screw that provides motion in the perpendicular
direction.
This method is an inexpensive (but slow) way to obtain high-resolution images.
www.rocktheit.com www.facebook.com/rocktheit
12 Digital Image Processing Systems
www.rocktheit.com www.facebook.com/rocktheit
13 Digital Image Processing Systems
www.rocktheit.com www.facebook.com/rocktheit
14 Digital Image Processing Systems
Example of typical ranges of illumination i(x,y) for visible light (average values):
Sun on a clear day: ~ 90,000 lm/m2, down to 10,000 lm/m2 on a cloudy day
Full moon on a clear evening: ~0.1 lm/m2
Typical illumination level in a commercial office: ~1000 lm/m2
Typical values of reflectance r(x,y):
www.rocktheit.com www.facebook.com/rocktheit
15 Digital Image Processing Systems
0.01 for black velvet
0.65 for stainless steel
0.8 for flat white wall paint
0.9 for silver-plated metal
0.93 for snow
Monochrome image
www.rocktheit.com www.facebook.com/rocktheit
16 Digital Image Processing Systems
Fiture 2.12 Image source :Digital Image Processing Third Edition Rafael C. Gonzalez
The one dimensional function shown in fig 2.16(b) is a plot of amplitude (gray level) values of
the continuous image along the line segment AB in fig 2.16(a).
The random variation is due to the image noise.
To sample this function, we take equally spaced samples along line AB as shown in fig 2.16
(c).
In order to form a digital function, the gray level values also must be converted(quantizes)
into discrete quantities.
The right side of fig 2.16 (c) shows the gray level scale divided into eight discrete levels,
ranging from black to white.
The result of both sampling and quantization are shown in fig 2.16 (d).
www.rocktheit.com www.facebook.com/rocktheit
17 Digital Image Processing Systems
An image may be defined as a two-dimensional function, f(x, y), where x and y are spatial
(plane) coordinates, and the amplitude of
‘ f ‘ at any pair of coordinates (x, y) is called the intensity or gray level of the image at that
point.
When x, y, and the amplitude values of f are all finite, discrete quantities, we call the image
a digital image.
The field of digital image processing refers to processing digital images by means of a
digital computer.
If k is the number of bits per pixel, then the number of gray levels, L, is an integer power of
2.
L = 2k
www.rocktheit.com www.facebook.com/rocktheit
18 Digital Image Processing Systems
When an image can have gray levels, it is common practice to refer to the image as a “k-bit
image”.
For example, an image with 256 possible grey level values is called an 8 bit image.
Therefore the number of bits required to store a digitalized image of size M*N is
b=M*N*k
Spatial resolution is the smallest discernable (detect with difficulty )change in an image.
Gray-level resolution is the smallest discernable (detect with difficulty) change in gray level.
Image resolution quantifies how much close two lines (say one dark and one light) can be
to each other and still be visibly resolved.
The resolution can be specified as number of lines per unit distance, say 10 lines per mm
or 5 line pairs per mm.
Another measure of image resolution is dots per inch, i.e. the number of discernible dots
per inch.
1024
Figure 2.14 : A 1024 x 2014, 8 bit image subsampled down to size 32 x 32 pixels. The
number of allowable kept at 256.
Image of size 1024*1024 pixels whose gray levels are represented by 8 bits is as shown in
fig above.
The results of subsampling the 1024*1024 image.
The subsampling was accomplished by deleting the appropriate number of rows and
columns from the original image.
www.rocktheit.com www.facebook.com/rocktheit
19 Digital Image Processing Systems
For example, the 512*512 image was obtained by deleting every other row and column
from the 1024*1024 image.
The 256*256 image was generated by deleting every other row and column in the512*512
image, and so on.
The number of allowed gray levels was kept at 256.
These images show dimensional proportions between various sampling densities, but their
size differences make it difficult to see the effects resulting from a reduction in the number
of samples.
The simplest way to compare these effects is to bring all the subsampled images up to size
1024 x 1024.
Figure 2.15 : (a) 1024 x 1024, 8 bit image (b) 512 x 512 image resampled into 1024 x
1024 pixels by row and column duplication. (c) through (f) 256 x 256, 128 x 128, 64 x
64, and 32 x 32 images resampled into 1024 x 1024 pixels.
Gray-Level Resolution
www.rocktheit.com www.facebook.com/rocktheit
20 Digital Image Processing Systems
Figure 2.16 : 452 x 374, 256 level image. (b)- (d) Image displayed in 128, 64, 32,16,8,4 and
2 grey level, while keeping spatial resolution constant.
Inthis example, we keep the number of samples constant and reduce the number of grey
levels from 256 to 2.
2.9 SUMMARY
An inverted image of the object is formed on the fovea region of the retina.
The sensitivity level for a given lighting condition is called as the brightness adaption level.
Light which gets perceived as gray shades from black to white is called as monochromatic
or achromatic light (without color).
Types of Imaging sensors are :Single imaging sensor, Line sensor and Array sensor
Measure of image resolution is dots per inch, i.e. the number of discernible dots per inch.
1) With the help of a neat figure, explain the main elements of the human eye.
2) Describe the principle of image formation in Human eye
3) What is Scotopic and Photopic vision?
4) Why can’t the human eye identify colors under dim light conditions?
5) Write a short note on:
i. Brightness adaptation and discrimination
ii. Mach band effect
iii. Simultaneous contrast
6) Explain the following term as applicable to image processing with necessary graphs.
i. Cones and Rods
ii. Brightness adaptation
iii. Is preference
7) Discuss Image Sensing & Acquisition
8) Explain how image acquisition is done using single sensor?
9) Explain Microdensitometer type of image acquisition system
10) Explain how image acquisition is done using sensor strips?
11) With An example explain digital image acquisition process.
12) Explain the Illumination & reflectance model of the image.
13) Discuss the role of sampling & quantization processes with an example.
14) Explain the following
a. False contouring
b. Aliasing& Moiré patterns
www.rocktheit.com www.facebook.com/rocktheit
22 Digital Image Processing Systems
15) Explain Spatial Resolution and Intensity level resolution.
16) Write a short note on image formation model.
www.rocktheit.com www.facebook.com/rocktheit