FCV Notes Module-1
FCV Notes Module-1
OF
ELECTRONICS & COMMUNICATION ENGINEERING
CLASS NOTES
of
UG - B.E. COURSE
IN
FUNDAMENTALS OF COMPUTER VISION-FCV
Staff Incharges
Dr. Pavithra G.
1
COURSE OBJECTIVES:
COURSE OUTCOMES:
Relate human visual system with the fundamentals of IP techniques and describe
CO1 the process of image formation in the eye and its implications with its image file
formats and demonstrate and analyze the different relationships between the pixels.
Apply and analyze various image enhancement techniques in spatial and frequency
CO2
domain
Apply and analyze the properties and applications of different image transforms
CO3
with effectiveness in various image compression schemes.
CO4 Analyze the various applications of Computer Vision.
Module-1
Introduction to Image Processing
1) Introduction
2
An analog image can be mathematically represented as a continuous range of values
representing position and intensity. An analog image is characterised by a physical
magnitude varying continuously in space. For example, the image produced on the screen of
a CRT monitor is analog in nature.
Digital Image
A digital image is composed of picture elements called pixels. Pixels are the smallest sample
of an image. A pixel represents the brightness at one point. Conversion of an analog image
into a digital image involves two important operations, namely, sampling and quantisation,
which are illustrated in Fig. 1.1. Analog image Sampling Quantisation Digital image Fig. 1.1
Advantages of Digital Images The advantages of digital images are summarised below:
The processing of images is faster and cost-effective.
Digital images can be effectively stored and efficiently transmitted from one place to
another.
When shooting a digital image, one can immediately see if the image is good or not.
Copying a digital image is easy.
The quality of the digital image will not be degraded even if it is copied for several times.
Whenever the image is in digital format, the reproduction of the image is both faster and
cheaper.
Digital technology offers plenty of scope for versatile image manipulation.
Drawbacks of Digital Images Some of the drawbacks of digital image are given below:
Misuse of copyright has become easier because images can be copied from the Internet just
by clicking the mouse a couple of times.
A digital file cannot be enlarged beyond a certain size without compromising on quality.
The memory required to store and process good-quality digital images is very high.
For real-time implementation of digital-image-processing algorithms,
The processor has to be very fast because the volume of data is very high.
3
2) Elements of Visual Perception .
The Human Visual System (HVS) is one of the most complex systems in existence. Our
visual system allows us to organise and understand the many complex elements in our
environment. The visual system consists of an eye that transforms light into neural signals,
and the related parts of the brain that process the neural signals and extract necessary
information.
Anatomy of the Human Visual System
The human eye is a slightly asymmetrical sphere with an approximate sagittal diameter or
length of 24 to 25 mm and a transverse diameter of 24 mm. It has a volume of about 6.5 cc.
The view of a human eye is shown in Fig. below
4
1) The cross-sectional view of the eye shows three different layers. They are (i) the external
layer formed by the sclera and cornea, (ii) the intermediate layer, divided into two parts—
anterior (iris and ciliary body) and posterior choroids, (iii) the internal layer or the sensory
part of the eye, the retina
2) The cornea is tough transparent tissue that covers the anterior surface of the eyes
Continuous with cornea , the sclera is an opaque membrane that encloses the remainder of
the optic globe
3) The choroid lies directly below the sclera . The membrane contains a network of blood
vessels that serve as the major source of nutrition to the eye
4) The choroid coat is heavily pigmented and helps to reduce the amount of extraneous light
entering the eye and backscatter within the optic globe. At its anterior extreme , the choroid
is divided into ciliary body and the iris. The latter contracts or expands to control the
amount of light that enters eye. The central opening of the iris(the pupil) varies in diameter
from approx. 2 to 8 mm. The front of the iris contains visible pigment of the eye, whereas
contains a black pigment
5) The lens is made up of concentric layers of fibrous cells and is suspended by fibres that
attach to the ciliary body . It contains 60 to 70 % water,about 6% fat and more protein than
any other tissue in the eye. The lens is coloured by slightly yellow pigmentation that
increases with age
6) The innermost membrane of the eye is retina , which lines the inside of the wall’s entire
posterior portion .When the eye is properly focussed, the light from an object outside the eye
is imaged on retina . Pattern vision is afforded by the distribution of the discrete light
receptors over the surface of retina.
7) There are two classes of receptors : cones and rods . The cones in each eye number
between 6 to 7 million . They are located primarily in central position of the retina , called
the fovea , and are highly sensitive to colour . Humans can resolve fine details with these
cones because one is connected to it’s own nerve end. Muscles controlling the eye rotate the
eyeball until the image of an object of interest falls on fovea . Cone vision is called photopic
or bright light vision
8) The number of rods is much larger .Some 75 to 150 million are distributed over the retinal
surface . The larger area of distribution and the fact that several rods are connected to single
nerve and reduces the amount of details discernible by these receptors . Rods serve to give a
5
general , overall picture of the field of view. They are not involved on color vision and are
sensitive to low levels of illumination For example, objects appear brightly in daylight ,
when seen by moon appears colourless forms because only rods are stimulated . This
phenomenon is known as scotopic or dim - light vision.
Image formation in the eye
The distance between the centre of the lens and the retina along the visual axis is approx 14
mm to 17 mm, the latter taking place when the eye is relaxed and focused at distance greater
than about 3m.
The geometry in fig illustrate how to obtain the dimension of an image formed on the
retina. For example , suppose that a person is looking at a tree 15m high at a distance of
100m. Letting h denote the height of the object in the retinal image, the geometry of fig 2.3
yields 15/100 = h/17 or h=2.55mm. The retinal image primarily focuses on the region of the
fovea
1) Image acquisition
6
2)Image enhancement-
Image enhancement is the process of adjusting digital images so that the results are more
suitable for display or further image analysis
3)Image Restoration
7
8
4) Morphological processing
5) Segmentation
6) Object Recognition
9
7) Representation & Description
8) Compression
10
9) Color image processing
11
Brightness and Contrast
Brightness is the psychological concept or sensation associated with the amount of light
stimulus. Light source intensity depends upon the total light emitted and the size of the
solid angle from which it is emitted. Two sources of equal intensity do not appear equally
bright. Luminance, the intensity per unit area, is a psychophysical property that can be
measured. The term contrast is used to emphasise the difference in luminance of objects. The
perceived brightness of a surface depends upon the local background which is illustrated in
Fig. . In Fig. , the small square on the right-hand side appears brighter when compared to
the brightness of the square on the left-hand side, even though the gray level of both the
squares are the same. This phenomenon is termed ‘simultaneous contrast’
12
5) ELEMENTS / Components OF AN IMAGE-PROCESSING SYSTEM
124
13
14
6) Representing Digital image
15
2)ADJACENCY
16
3) DISTANCE MEASURES
17
18
19
20
21
22
23
24
25
26
7) IMAGE TYPES
Images can be broadly classified under four categories: (i) Black and white or binary images,
(ii) grayscale images, (iii) colour images, and (iv) multispectral image
Binary Images
27
Gray scale image
Color image
28
Multispectral imaging captures image data within specific wavelength ranges across the
electromagnetic spectrum. The wavelengths may be separated by filters or detected with the
use of instruments that are sensitive to particular wavelengths, including light from
frequencies beyond the visible light range, i.e. infrared and ultra-violet. It can allow
extraction of additional information the human eye fails to capture with its visible receptors
for red, green and blue
8) APPLICATIONS OF DIGITAL IMAGE PROCESSING
29
56
30
31
Question Bank
Module 1
[1] What is Digital image processing. Explain its pros and cons
[5] With a neat diagram explain the elements / Components of an Digital image
processing
[9] How do we represent a digital image ? Explain the advantages & disadvantages of
digital image
TEXTBOOKS:
1. R.C. Gonzalez, R.E. Woods, “Digital Image Processing”, 3rd edition, Pearson Education,
2009.
2. S. Jayaraman, S. Esakkirajan, T. Veerakumar, “Digital Image Processing”, 2009, Mc Graw
Hill Education, India.
3. Dr. Vipula Singh,” Digital Image Processing with MATLAB & LabVIEW”, Reed Elsevier
India Pvt. Ltd., India.
4. Dr. Pavithra G., et.al., “Image Processing & Machine Vision”, Notion Press Publications,
2021, India.
REFERENCE BOOKS:
1. R.C. Gonzalez, R.E. Woods, S.L. Eddins, “Digital Image Processing using MATLAB”, 2nd
Edition, Addison Wesley, 2009.
2. Anil. K. Jain, “Fundamentals of Digital Image Processing”, Pearson Education, 2002.
3. B. Chanda and D. Dutta Majumdar, “Digital image processing and analysis”, PHI, New
Delhi, India, 2003.
4. Dr. Pavithra G. et.al., “Computer Vision & Techniques”, ISBN 978-1-68509-224-5, Notion
Press Publications, 2021, India.
32
Vision & Mission of the Institute
Vision:
To impart quality technical education with a focus on Research and Innovation emphasizing
on Development of Sustainable and Inclusive Technology for the benefit of society.
Mission:
To provide an environment that enhances creativity and Innovation in pursuit of Excellence.
To nurture teamwork in order to transform individuals as responsible leaders and
entrepreneurs.
To train the students to the changing technical scenario and make them to understand the
importance of sustainable and inclusive technologies.
Vision :
To achieve continuous improvement in quality technical education for global competence
with focus on industry, societal needs, research and professional success.
Mission:
Offering quality education in Electronics and Communication Engineering with effective
teaching learning process in multidisciplinary environment.
Training the students to take-up projects in emerging technologies and work with team
spirit.
To imbibe professional ethics, development of skills and research culture for better
placement opportunities.
PSO1 : Design, develop and integrate electronic circuits and systems using current practices and
standards.
PSO2 : Apply knowledge of hardware and software in designing Embedded and
Communication systems.
33