SlideShare a Scribd company logo
University of Ioannina - Department of Computer Science
Chapter2:
Digital Imaging Fundamentals
Digital Image Processing
Images taken from:
R. Gonzalez and R. Woods. Digital Image Processing, Prentice Hall, 2008.
Digital Image Processing course by Brian Mac Namee, Dublin Institute of Technology.
2
C. Nikou – Digital Image Processing (E12)
Contents
This lecture will cover:
– The human visual system
– Light and the electromagnetic spectrum
– Image representation
– Resolution
3
C. Nikou – Digital Image Processing (E12)
Human Visual System
The best vision model we have!
Knowledge of how images form in the eye
can help us with processing digital images
We will take just a whirlwind tour of the
human visual system.
4
C. Nikou – Digital Image Processing (E12)
Human Visual System
5
C. Nikou – Digital Image Processing (E12)
Elements of Visual Perception
6
C. Nikou – Digital Image Processing (E12)
Structure of Human Eye
7
C. Nikou – Digital Image Processing (E12)
Structure of Human Eye
8
C. Nikou – Digital Image Processing (E12)
Structure Of The Human Eye
The lens focuses light from objects onto the retina
The retina is covered with
light receptors called
cones (6-7 million) and
rods (75-150 million)
Cones are concentrated
around the fovea and are
very sensitive to colour
Rods are more spread out
and are sensitive to low levels
of illumination
Images
taken
from
Gonzalez
&
Woods,
Digital
Image
Processing
(2002)
9
C. Nikou – Digital Image Processing (E12)
The optic nerve is comprised of millions of nerve fibers that send
visual messages to your brain to help you see.
10
C. Nikou – Digital Image Processing (E12)
Image Formation in the Eye
11
C. Nikou – Digital Image Processing (E12)
Blind-Spot Experiment
Draw an image similar to that below on a piece of
paper (the dot and cross are about 6 inches apart)
Close your right eye and focus on the cross with
your left eye
Hold the image about 20 inches away from your
face and move it slowly towards you
The dot should disappear!
12
C. Nikou – Digital Image Processing (E12)
Image Formation In The Eye
Muscles within the eye can be used to
change the shape of the lens allowing us
focus on objects that are near or far away
An image is focused onto the retina causing
rods and cones to become excited which
ultimately send signals to the brain
13
C. Nikou – Digital Image Processing (E12)
Brightness Adaptation & Discrimination
The human visual system can perceive
approximately 1010 different light intensity
levels.
However, at any one time we can only
discriminate between a much smaller
number – brightness adaptation.
Similarly, the perceived intensity of a region
is related to the light intensities of the
regions surrounding it.
14
C. Nikou – Digital Image Processing (E12)
Brightness Adaptation & Discrimination
(cont…)
An example of Mach bands
Images
taken
from
Gonzalez
&
Woods,
Digital
Image
Processing
(2002)
15
C. Nikou – Digital Image Processing (E12)
Brightness Adaptation & Discrimination
(cont…)
Images
taken
from
Gonzalez
&
Woods,
Digital
Image
Processing
(2002)
16
C. Nikou – Digital Image Processing (E12)
Brightness Adaptation & Discrimination
(cont…)
An example of simultaneous contrast
Images
taken
from
Gonzalez
&
Woods,
Digital
Image
Processing
(2002)
17
C. Nikou – Digital Image Processing (E12)
Optical Illusions
Our visual
systems play lots
of interesting
tricks on us
18
C. Nikou – Digital Image Processing (E12)
Optical Illusions (cont…)
Stare at the cross
in the middle of
the image and
think circles
19
C. Nikou – Digital Image Processing (E12)
Light And The Electromagnetic
Spectrum
Light is just a particular part of the
electromagnetic spectrum that can be
sensed by the human eye
The electromagnetic spectrum is split up
according to the wavelengths of different
forms of energy
20
C. Nikou – Digital Image Processing (E12)
Human Visual System
21
C. Nikou – Digital Image Processing (E12)
Reflected Light
The colours that we perceive are determined
by the nature of the light reflected from an
object
For example, if white
light is shone onto a
green object most
wavelengths are
absorbed, while green
light is reflected from
the object
Colours
Absorbed
22
C. Nikou – Digital Image Processing (E12)
Image Representation
col
row
f (row, col)
Before we discuss image acquisition recall
that a digital image is composed of M rows
and N columns of pixels
each storing a value
Pixel values are most
often grey levels in the
range 0-255(black-white)
We will see later on
that images can easily
be represented as
matrices
Images
taken
from
Gonzalez
&
Woods,
Digital
Image
Processing
(2002)
23
C. Nikou – Digital Image Processing (E12)
Colour images
Images
taken
from
Gonzalez
&
Woods,
Digital
Image
Processing
(2002)
24
C. Nikou – Digital Image Processing (E12)
Colour images
Images
taken
from
Gonzalez
&
Woods,
Digital
Image
Processing
(2002)
25
C. Nikou – Digital Image Processing (E12)
Image Acquisition
Images are typically generated by
illuminating a scene and absorbing the
energy reflected by the objects in that scene
– Typical notions of
illumination and
scene can be way off:
• X-rays of a skeleton
• Ultrasound of an
unborn baby
• Electro-microscopic
images of molecules
Images
taken
from
Gonzalez
&
Woods,
Digital
Image
Processing
(2002)
26
C. Nikou – Digital Image Processing (E12)
Resolution: How Much Is Enough?
The big question with resolution is always
how much is enough?
– This all depends on what is in the image and
what you would like to do with it
– Key questions include
• Does the image look aesthetically pleasing?
• Can you see what you need to see within the
image?
27
C. Nikou – Digital Image Processing (E12)
Resolution: How Much Is Enough?
(cont…)
The picture on the right is fine for counting
the number of cars, but not for reading the
number plate
28
C. Nikou – Digital Image Processing (E12)
Intensity Level Resolution (cont…)
Images
taken
from
Gonzalez
&
Woods,
Digital
Image
Processing
(2002)
Low Detail Medium Detail High Detail
29
C. Nikou – Digital Image Processing (E12)
Spatial Resolution
The Clarity of an image can’t be determined
by pixel resolution, The number of pixels in
an image does not matter.
• Definition: Smallest discernible detail in an
image. i.e., number of independent pixels
values per inch.
• Pixel Resolution: Total number of count of
pixels
30
C. Nikou – Digital Image Processing (E12)
Spatial Resolution
31
C. Nikou – Digital Image Processing (E12)
Spatial Resolution Example
32
C. Nikou – Digital Image Processing (E12)
Spatial Resolution
33
C. Nikou – Digital Image Processing (E12)
Spatial Resolution
34
C. Nikou – Digital Image Processing (E12)
Spatial Resolution
35
C. Nikou – Digital Image Processing (E12)
Intensity Level Resolution
Intensity level resolution refers to the
number of intensity levels used to represent
the image
– The more intensity levels used, the finer the level of
detail discernable in an image
– Intensity level resolution is usually given in terms of
the number of bits used to store each intensity level
Number of Bits
Number of Intensity
Levels
Examples
1 2 0, 1
2 4 00, 01, 10, 11
4 16 0000, 0101, 1111
8 256 00110011, 01010101
16 65,536 1010101010101010
36
C. Nikou – Digital Image Processing (E12)
Intensity Level Resolution (cont…)
128 grey levels (7 bpp) 64 grey levels (6 bpp) 32 grey levels (5 bpp)
16 grey levels (4 bpp) 8 grey levels (3 bpp) 4 grey levels (2 bpp) 2 grey levels (1 bpp)
256 grey levels (8 bits per pixel)
Images
taken
from
Gonzalez
&
Woods,
Digital
Image
Processing
(2002)
37
C. Nikou – Digital Image Processing (E12)
Conversion of Analog Signal into
Digital Signal
38
C. Nikou – Digital Image Processing (E12)
Image Sampling And Quantisation
A digital sensor can only measure a limited
number of samples at a discrete set of
energy levels
Quantisation is the process of converting a
continuous analogue signal into a digital
representation of this signal
Images
taken
from
Gonzalez
&
Woods,
Digital
Image
Processing
(2002)
39
C. Nikou – Digital Image Processing (E12)
Image Sampling And Quantisation
(cont…)
Remember that a digital image is always
only an approximation of a real world
scene
40
C. Nikou – Digital Image Processing (E12)
Sampling and Quantization
41
C. Nikou – Digital Image Processing (E12)
Sampling and Quantization
Quantization determines how many different colors an image can have.
42
C. Nikou – Digital Image Processing (E12)
Sampling and Quantization

More Related Content

PDF
Lecture 4 Relationship between pixels
PPSX
Color Image Processing: Basics
PPTX
Region based segmentation
PPTX
Hough Transform By Md.Nazmul Islam
PPTX
Transform coding
PPTX
digital image processing
PPTX
Image processing second unit Notes
PPTX
Homomorphic filtering
Lecture 4 Relationship between pixels
Color Image Processing: Basics
Region based segmentation
Hough Transform By Md.Nazmul Islam
Transform coding
digital image processing
Image processing second unit Notes
Homomorphic filtering

What's hot (20)

PPTX
Lect 02 first portion
PPT
Thresholding.ppt
PPTX
Histogram Processing
PPTX
Chapter 9 morphological image processing
PPSX
Edge Detection and Segmentation
PPTX
Predictive coding
PDF
Image compression
PPT
Image formation
PDF
Digital Image Fundamentals
PPTX
Image Sensing and Acquisition.pptx
ODP
image compression ppt
PPTX
Image Representation & Descriptors
PPTX
Image Sampling and Quantization.pptx
PPTX
COM2304: Intensity Transformation and Spatial Filtering – I (Intensity Transf...
PPTX
Region based segmentation
PDF
Image Segmentation
PPTX
Image compression models
PPTX
Color Image Processing
PDF
Digital Image Processing - Image Compression
Lect 02 first portion
Thresholding.ppt
Histogram Processing
Chapter 9 morphological image processing
Edge Detection and Segmentation
Predictive coding
Image compression
Image formation
Digital Image Fundamentals
Image Sensing and Acquisition.pptx
image compression ppt
Image Representation & Descriptors
Image Sampling and Quantization.pptx
COM2304: Intensity Transformation and Spatial Filtering – I (Intensity Transf...
Region based segmentation
Image Segmentation
Image compression models
Color Image Processing
Digital Image Processing - Image Compression
Ad

Similar to Human Visual System in Digital Image Processing.ppt (20)

PPTX
Basics of digital image processing and human vision
PPTX
471112728-DIGITAL-IMAGE-PROCESSING-NOTES-VTU.pptx
PPTX
DIP PPT (1).pptx
PPT
CEC366 Unit -1 FUNDAMENTALS OF DIGITAL IMAGE PROCESSING
PPT
Chapter01 (2)
DOCX
Module 1
PPT
Chapter_01_Introduction.ppt
PPT
Chapter_01_Introduction Two differen.ppt
PPT
Chapter_01_Introduction.ppt
PDF
Chap_1_Digital_Image_Fundamentals_DD (2).pdf
PDF
DIP-Questions.pdf
PPTX
Digital Image Processing Unit 1 NotesPPT
PPTX
DIP-CHAPTERs
PPT
newest human eye anatomy.ppt human eye perception
PPTX
Advance image processing
PPT
ImageProcessing1-Introduction.ppt
PPT
Image processing1 introduction
PPT
Weeks 1 Introductions_V1_1.ppt
PPTX
DIP-CHAPTERs
PDF
Lecture 1
Basics of digital image processing and human vision
471112728-DIGITAL-IMAGE-PROCESSING-NOTES-VTU.pptx
DIP PPT (1).pptx
CEC366 Unit -1 FUNDAMENTALS OF DIGITAL IMAGE PROCESSING
Chapter01 (2)
Module 1
Chapter_01_Introduction.ppt
Chapter_01_Introduction Two differen.ppt
Chapter_01_Introduction.ppt
Chap_1_Digital_Image_Fundamentals_DD (2).pdf
DIP-Questions.pdf
Digital Image Processing Unit 1 NotesPPT
DIP-CHAPTERs
newest human eye anatomy.ppt human eye perception
Advance image processing
ImageProcessing1-Introduction.ppt
Image processing1 introduction
Weeks 1 Introductions_V1_1.ppt
DIP-CHAPTERs
Lecture 1
Ad

More from GSCWU (7)

PPTX
XMPP and SIP Presence Protocols for Messaging and Session Control.pptx
PPTX
ORACLE NET ARCHITECTURE and Its Components.pptx
PPTX
Index and types of Index used in Oracle.pptx
PPTX
Amazon Web Services(AWS) in cloud Computing .pptx
PPTX
Amazon Web Services and its Global Infrastructure.pptx
PPT
Image Enhancement and Histogram Equalization in Digital Image Processing.ppt
PPTX
1.Service Models of Cloud Computing .pptx
XMPP and SIP Presence Protocols for Messaging and Session Control.pptx
ORACLE NET ARCHITECTURE and Its Components.pptx
Index and types of Index used in Oracle.pptx
Amazon Web Services(AWS) in cloud Computing .pptx
Amazon Web Services and its Global Infrastructure.pptx
Image Enhancement and Histogram Equalization in Digital Image Processing.ppt
1.Service Models of Cloud Computing .pptx

Recently uploaded (20)

PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PDF
Classroom Observation Tools for Teachers
PDF
Complications of Minimal Access Surgery at WLH
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PDF
VCE English Exam - Section C Student Revision Booklet
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PDF
Computing-Curriculum for Schools in Ghana
PDF
Sports Quiz easy sports quiz sports quiz
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PPTX
Pharma ospi slides which help in ospi learning
PDF
Pre independence Education in Inndia.pdf
PDF
TR - Agricultural Crops Production NC III.pdf
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PPTX
Cell Types and Its function , kingdom of life
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PPTX
Microbial diseases, their pathogenesis and prophylaxis
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
STATICS OF THE RIGID BODIES Hibbelers.pdf
Classroom Observation Tools for Teachers
Complications of Minimal Access Surgery at WLH
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
VCE English Exam - Section C Student Revision Booklet
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
Computing-Curriculum for Schools in Ghana
Sports Quiz easy sports quiz sports quiz
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
Pharma ospi slides which help in ospi learning
Pre independence Education in Inndia.pdf
TR - Agricultural Crops Production NC III.pdf
Supply Chain Operations Speaking Notes -ICLT Program
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
Renaissance Architecture: A Journey from Faith to Humanism
Cell Types and Its function , kingdom of life
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
Microbial diseases, their pathogenesis and prophylaxis

Human Visual System in Digital Image Processing.ppt

  • 1. University of Ioannina - Department of Computer Science Chapter2: Digital Imaging Fundamentals Digital Image Processing Images taken from: R. Gonzalez and R. Woods. Digital Image Processing, Prentice Hall, 2008. Digital Image Processing course by Brian Mac Namee, Dublin Institute of Technology.
  • 2. 2 C. Nikou – Digital Image Processing (E12) Contents This lecture will cover: – The human visual system – Light and the electromagnetic spectrum – Image representation – Resolution
  • 3. 3 C. Nikou – Digital Image Processing (E12) Human Visual System The best vision model we have! Knowledge of how images form in the eye can help us with processing digital images We will take just a whirlwind tour of the human visual system.
  • 4. 4 C. Nikou – Digital Image Processing (E12) Human Visual System
  • 5. 5 C. Nikou – Digital Image Processing (E12) Elements of Visual Perception
  • 6. 6 C. Nikou – Digital Image Processing (E12) Structure of Human Eye
  • 7. 7 C. Nikou – Digital Image Processing (E12) Structure of Human Eye
  • 8. 8 C. Nikou – Digital Image Processing (E12) Structure Of The Human Eye The lens focuses light from objects onto the retina The retina is covered with light receptors called cones (6-7 million) and rods (75-150 million) Cones are concentrated around the fovea and are very sensitive to colour Rods are more spread out and are sensitive to low levels of illumination Images taken from Gonzalez & Woods, Digital Image Processing (2002)
  • 9. 9 C. Nikou – Digital Image Processing (E12) The optic nerve is comprised of millions of nerve fibers that send visual messages to your brain to help you see.
  • 10. 10 C. Nikou – Digital Image Processing (E12) Image Formation in the Eye
  • 11. 11 C. Nikou – Digital Image Processing (E12) Blind-Spot Experiment Draw an image similar to that below on a piece of paper (the dot and cross are about 6 inches apart) Close your right eye and focus on the cross with your left eye Hold the image about 20 inches away from your face and move it slowly towards you The dot should disappear!
  • 12. 12 C. Nikou – Digital Image Processing (E12) Image Formation In The Eye Muscles within the eye can be used to change the shape of the lens allowing us focus on objects that are near or far away An image is focused onto the retina causing rods and cones to become excited which ultimately send signals to the brain
  • 13. 13 C. Nikou – Digital Image Processing (E12) Brightness Adaptation & Discrimination The human visual system can perceive approximately 1010 different light intensity levels. However, at any one time we can only discriminate between a much smaller number – brightness adaptation. Similarly, the perceived intensity of a region is related to the light intensities of the regions surrounding it.
  • 14. 14 C. Nikou – Digital Image Processing (E12) Brightness Adaptation & Discrimination (cont…) An example of Mach bands Images taken from Gonzalez & Woods, Digital Image Processing (2002)
  • 15. 15 C. Nikou – Digital Image Processing (E12) Brightness Adaptation & Discrimination (cont…) Images taken from Gonzalez & Woods, Digital Image Processing (2002)
  • 16. 16 C. Nikou – Digital Image Processing (E12) Brightness Adaptation & Discrimination (cont…) An example of simultaneous contrast Images taken from Gonzalez & Woods, Digital Image Processing (2002)
  • 17. 17 C. Nikou – Digital Image Processing (E12) Optical Illusions Our visual systems play lots of interesting tricks on us
  • 18. 18 C. Nikou – Digital Image Processing (E12) Optical Illusions (cont…) Stare at the cross in the middle of the image and think circles
  • 19. 19 C. Nikou – Digital Image Processing (E12) Light And The Electromagnetic Spectrum Light is just a particular part of the electromagnetic spectrum that can be sensed by the human eye The electromagnetic spectrum is split up according to the wavelengths of different forms of energy
  • 20. 20 C. Nikou – Digital Image Processing (E12) Human Visual System
  • 21. 21 C. Nikou – Digital Image Processing (E12) Reflected Light The colours that we perceive are determined by the nature of the light reflected from an object For example, if white light is shone onto a green object most wavelengths are absorbed, while green light is reflected from the object Colours Absorbed
  • 22. 22 C. Nikou – Digital Image Processing (E12) Image Representation col row f (row, col) Before we discuss image acquisition recall that a digital image is composed of M rows and N columns of pixels each storing a value Pixel values are most often grey levels in the range 0-255(black-white) We will see later on that images can easily be represented as matrices Images taken from Gonzalez & Woods, Digital Image Processing (2002)
  • 23. 23 C. Nikou – Digital Image Processing (E12) Colour images Images taken from Gonzalez & Woods, Digital Image Processing (2002)
  • 24. 24 C. Nikou – Digital Image Processing (E12) Colour images Images taken from Gonzalez & Woods, Digital Image Processing (2002)
  • 25. 25 C. Nikou – Digital Image Processing (E12) Image Acquisition Images are typically generated by illuminating a scene and absorbing the energy reflected by the objects in that scene – Typical notions of illumination and scene can be way off: • X-rays of a skeleton • Ultrasound of an unborn baby • Electro-microscopic images of molecules Images taken from Gonzalez & Woods, Digital Image Processing (2002)
  • 26. 26 C. Nikou – Digital Image Processing (E12) Resolution: How Much Is Enough? The big question with resolution is always how much is enough? – This all depends on what is in the image and what you would like to do with it – Key questions include • Does the image look aesthetically pleasing? • Can you see what you need to see within the image?
  • 27. 27 C. Nikou – Digital Image Processing (E12) Resolution: How Much Is Enough? (cont…) The picture on the right is fine for counting the number of cars, but not for reading the number plate
  • 28. 28 C. Nikou – Digital Image Processing (E12) Intensity Level Resolution (cont…) Images taken from Gonzalez & Woods, Digital Image Processing (2002) Low Detail Medium Detail High Detail
  • 29. 29 C. Nikou – Digital Image Processing (E12) Spatial Resolution The Clarity of an image can’t be determined by pixel resolution, The number of pixels in an image does not matter. • Definition: Smallest discernible detail in an image. i.e., number of independent pixels values per inch. • Pixel Resolution: Total number of count of pixels
  • 30. 30 C. Nikou – Digital Image Processing (E12) Spatial Resolution
  • 31. 31 C. Nikou – Digital Image Processing (E12) Spatial Resolution Example
  • 32. 32 C. Nikou – Digital Image Processing (E12) Spatial Resolution
  • 33. 33 C. Nikou – Digital Image Processing (E12) Spatial Resolution
  • 34. 34 C. Nikou – Digital Image Processing (E12) Spatial Resolution
  • 35. 35 C. Nikou – Digital Image Processing (E12) Intensity Level Resolution Intensity level resolution refers to the number of intensity levels used to represent the image – The more intensity levels used, the finer the level of detail discernable in an image – Intensity level resolution is usually given in terms of the number of bits used to store each intensity level Number of Bits Number of Intensity Levels Examples 1 2 0, 1 2 4 00, 01, 10, 11 4 16 0000, 0101, 1111 8 256 00110011, 01010101 16 65,536 1010101010101010
  • 36. 36 C. Nikou – Digital Image Processing (E12) Intensity Level Resolution (cont…) 128 grey levels (7 bpp) 64 grey levels (6 bpp) 32 grey levels (5 bpp) 16 grey levels (4 bpp) 8 grey levels (3 bpp) 4 grey levels (2 bpp) 2 grey levels (1 bpp) 256 grey levels (8 bits per pixel) Images taken from Gonzalez & Woods, Digital Image Processing (2002)
  • 37. 37 C. Nikou – Digital Image Processing (E12) Conversion of Analog Signal into Digital Signal
  • 38. 38 C. Nikou – Digital Image Processing (E12) Image Sampling And Quantisation A digital sensor can only measure a limited number of samples at a discrete set of energy levels Quantisation is the process of converting a continuous analogue signal into a digital representation of this signal Images taken from Gonzalez & Woods, Digital Image Processing (2002)
  • 39. 39 C. Nikou – Digital Image Processing (E12) Image Sampling And Quantisation (cont…) Remember that a digital image is always only an approximation of a real world scene
  • 40. 40 C. Nikou – Digital Image Processing (E12) Sampling and Quantization
  • 41. 41 C. Nikou – Digital Image Processing (E12) Sampling and Quantization Quantization determines how many different colors an image can have.
  • 42. 42 C. Nikou – Digital Image Processing (E12) Sampling and Quantization