This document provides an overview of a digital image processing lecture given by Dr. Moe Moe Myint at Technological University in Kyaukse, Myanmar. It includes information about the instructor's contact information and office hours. The document then summarizes the contents of Chapter 2, which covers topics like visual perception, light and the electromagnetic spectrum, image sensing and acquisition, and basic relationships between pixels. Examples and diagrams are provided to illustrate concepts like the structure of the human eye, image formation, brightness adaptation, and the electromagnetic spectrum. Optical illusions are also discussed as examples of how visual perception does not always match physical light intensities.
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Digital Image Processing Techniques
1. DIGITAL IMAGE PROCESSING
(2ND EDITION)
RAFAEL C. GONZALEZ
RICHARD E.WOODS
Dr Moe Moe Myint
(Assistant Lecturer)
Technological University (Kyaukse)
1
3. CONTENTS FOR CHAPTER 2
2.1 Elements of Visual Perception
2.2 Light and the Electromagnetic Spectrum
2.3 Image Sensing and Acquisition
2.4 Image Sampling and Quantization
2.5 Some Basic Relationships Between Pixels
2.6 Linear and Nonlinear Operations
3
4. 4
Digital Image
Digital image = a multidimensional
array of numbers (such as intensity image)
or vectors (such as color image)
Each component in the image
called pixel associates with
the pixel value (a single number in
the case of intensity images or a
vector in the case of color images).
39871532
22132515
372669
28161010
39656554
42475421
67965432
43567065
99876532
92438585
67969060
78567099
5. 2.1 ELEMENTS OF VISUAL PERCEPTION
In many image processing applications, the objective is to help a human
observer perceive the visual information in an image. Therefore, it is
important to understand the 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
5
- Structure of the Human Eye
- Image Formation in the Eye
- Brightness Adaptation and Discrimination
6. STRUCTURE OF THE HUMAN EYE
Eye characteristics
– nearly spherical
– approximately 20 mm in diameter
– three membranes
• cornea (transparent) & sclera (opaque) outer cover
• choroid contains a network of blood vessels, heavily pigmented to reduce amount
of extraneous light entering the eye. Also contains the iris diaphragm (2-8 mm to
allow variable amount of light into the eye)
• retina is the inner most membrane, objects are imaged on the surface.
6
7. RETINAL SURFACE
Retinal surface is covered in discrete light receptors
Two classes
– Cones
• 6-7 million located primarily near the center of the retina (the fovea)
• highly sensitive to color
• can resolve fine details because each is attached to a single nerve ending
• Cone vision is called photopic or bright-light vision
– Rods
• 75-150 million distributed over the retinal surface
• multiple rods connected to a single nerve ending
• give a general overall picture of the field of illumination
• not color sensitive but are sensitive to low levels of illumination
• Rod vision is called scotopic or dim-light vision
7
8. Rods are thin cells with slender rodlike projections that are the photoreceptors
for:
Black and white vision
Vision in dim light
Cones are the receptors for:
Color vision
Visual acuity
There are three types of cones, each with a different visual pigment
One sensitive to green light
One sensitive to blue light
One sensitive to red light
The perceived color of an object depends on the quantity and combination of
cones that are stimulated
In very dim light, cones do not function
Color blindness occurs because there is an absence or deficiency of one or
more of the visual pigments in the cones. So the person cannot distinguish
certain colors.
CONT’D…
8
10. Pupil allows varying
amounts of light to
enter the eye.
Cornea is a transparent structure that
covers the iris and pupil
Cones are
concentrated in
the center of the
retina - the fovea
Lens helps to focus
light on the retina.
Retina includes
- Rods (94%)
(light sensitive)
- Cones (6%)
(color sensitive)
10
11. •Fovea size is 1.5 mm in diameter
•1.5 mm 1.5 mm square contain 337000 cones
5mm 5mm CCD imaging chip 11
CONT’D…
12. IMAGE FORMATION IN THE EYE
2.1- Elements of
Visual Perception
2.2- Light and the
Electromagnetic
Spectrum
2.3- Image Sensing
and Acquisition
2.4- Image Sampling
and Quantization
2.5- Some Basic
Relationships
Between Pixels
2.6- An Introduction
to the Mathematical
Tools Used in Digital
Image Processing
The principal difference between the lens of the eyee and an
ordinary optical lens is that the former is flexible.
The radius of curvature of the anterior surface of the lens is
greater than the radius of its posterior or surface.
The shape of the lens is controlled by tension in the fibers of
the ciliary body.
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.
The distance between the center of the lens and the retina
(called the focal length) varies from approximately 17mm to
about 14mm, as the refractive power of the lens increases
from its minimum to its maximum.
When the eye focuses on an object farther away than about
3m, the lens exhibits its lowest refractive power.
When the eye focuses on a nearby object, the lens is most
strongly refractive.
This information makes it easy to calculate the size of the
retinal image of any objects.
12
13. 13
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!
Blind-Spot Experiment
15. IMAGE FORMATION IN THE EYE
Example:
Calculation of retinal image of an object
15/100=h/17 or h=2.55 mm
15
- 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
Light receptor
radiant
energy
electrical
impulses
Brain
16. BRIGHTNESS ADAPTATION AND
DISCRIMINATION
Range of light intensity levels to which HVS (human
visual system) can adapt: on the order of 1010 _ from the
scotopic threshold to the glare limit.
Subjective brightness (i.e. intensity as perceived by the
HVS) is a logarithmic function of the light intensity
incident on the eye.
• The visual system does not operate simultaneously
over the 1010 range. It accomplishes this large
variation by changes in its overall sensitivity, a
phenomenon known as brightness adaptation.
For any given set of conditions, the current sensitivity
level of HVS is called the brightness adaptation level.
16mL = millilambert
17. CONT’D
• Brightness discrimination is the ability of the eye to discriminate
between changes in light intensity at any specific adaptation level.
• The quantity Ic/I, where Ic is the increment of illumination
discriminable 50% of the time with background illumination I, is
called the Weber ratio. A small value of Weber ratio, means good
brightness discrimination.
The eye also discriminates between changes in brightness at any specific
adaptation level.
ratioWeber
I
Ic
Where: ∆𝐼𝑐: the increment of illumination discriminable 50% of the time
I : background illumination
17
18. Typical Weber ratio
as a function of
intensity
18
CONT’D
Weber ratio (the experiment) Ic/I
I: the background illumination
Ic : the increment of illumination
Small Weber ratio indicates good discrimination
Larger Weber ratio indicates poor discrimination
• Brightness discrimination is poor at low levels of illumination. The two
branches in the curve indicate that at low levels of illumination vision is
carried out by the rods, whereas at high level by the cones.
19. 19
Psychovisual effects
The perceived
brightness is not a
simple function of
intensity
– Mach band pattern
– Simultaneous
contrast
– And more… (see
link)
20. Two phenomena clearly demonstrate that
perceived brightness is not a simple function of
intensity.
20
Perceived Brightness
Position
Intensity
21. 21
AN EXAMPLE OF MACH BAND
First Phenomena
Visual system tends to
undershoot or overshoot
around boundary of
regions of different
intensities.
Intensities of surrounding points
effect perceived brightness at each
point.
In this image, edges between bars
appear brighter on the right side
and darker on the left side.
22. 22
The second phenomena, called simultaneous contrast, a
spot may appears to the eye to become darker as the
background gets lighter.
23. 23
Simultaneous contrast. All small squares have exactly the same intensity
but they appear progressively darker as background becomes lighter.
Brightness Adaptation of Human Eye : Simultaneous Contrast
28. 28
Stare at the cross in
the middle of the
image and think
circles
29. 29
Mind Map Exercise: Mind Mapping For
Note Taking
Beau Lotto: Optical Illusions Show How We See
http://www.ted.com/talks/lang/eng/beau_lotto_optical_illusions_show_how_we_see.html
31. LIGHT AND THE ELECTROMAGNETIC
SPECTRUM
In 1666, Sir Isaac Newton discovered that when a beam of
sunlight is passed through a glass prism, the emerging beam of
light is not white but consists instead of a continuous spectrum
of colors ranging from violet at one end to red at the other.
The range of colors we perceive in visible light represents a very
small portion of the electromagnetic spectrum.
On one end of the spectrum are radio waves with wavelengths
billions of times longer than those of visible light.
On the other end of the spectrum are gamma rays with
wavelengths millions of times smaller than those of visible light.
31
32. 32
CONT’D
The Wavelength of an Electromagnetic Wave Required to “SEE” an
Object Must be of the Same Size as or Smaller Than the Object.
33. Fig. The electromagnetic spectrum arranged according to energy per photon
The Electromagnetic Spectrum
33
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
34. 34
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
35. 35
• The colors that humans perceive in an object are determined
by the nature of the light reflected from the object.
• Achromatic or monochromatic light is void of color, and is
described by its intensity (gray level).
• Chromatic light spans the electromagnetic energy spectrum
from 0.43 to 0.79 m, and is described by
Radiance: Total amount of energy that flows from the
light source, and measured in watts (W)
Luminance: Measured in lumens (lm), gives a measure
of the amount of energy an observer perceives from a
light source
Brightness: Subjective descriptor of light perception that
is practically impossible to measure.
Light and the Electromagnetic Spectrum
36. The electromagnetic spectrum can be expressed in terms
of wavelength (), frequency (), or energy (E).
• h is Planck’s constant.
• The units of wavelength are meters, with the terms
microns and nanometers being used just as
frequently.
• Frequency is measured in Hertz (Hz), with one
Hertz being equal to one cycle of a sinusoidal wave
per second.
• unit of energy is the electron-volt.
=
36
CONT’D
Wavelength (), frequency (), and
energy (E) are related by the
expressions
37. Electromagnetic waves can be visualized as propagating
sinusoidal waves with wavelength, or they can be
thought of as a stream of mass-less particles, each
traveling in a wavelike pattern and moving at the speed
of light. Each mass-less particle contains a certain
amount (or bundle) of energy. Each bundle of energy is
called a photon.
Energy is proportional to frequency,
Higher-frequency (shorter wavelength)
electromagnetic phenomena carry more energy per
photon.
Gamma rays are so dangerous to living organisms.
37
CONT’D
38. Light is a particular type of electromagnetic radiation that
can be seen and sensed by the human eye.
The visible band of the electromagnetic spectrum spans
the range from approximately 0.43 micro m (violet) to
about 0.79 micro m (red).
For convenience, the color spectrum is divided into six
broad regions: Violet, Blue, Green, Yellow, Orange, and
Red.
38
CONT’D
39. THE ORIGINS OF DIGITAL IMAGE
PROCESSING (COLOR)
The colors that humans perceive in an object are
determined by the nature of the light reflected from the
object.
A body that reflects light and is relatively balanced in all
visible wavelengths appears white to the observer.
A body that favors reflectance in a limited range of the
visible spectrum exhibits some shades of color.
For example, green objects reflect light with
wavelengths primarily in the 500 to 570 nm range
while absorbing most of the energy at other
wavelengths.
39
40. THE ORIGINS OF DIGITAL IMAGE
PROCESSING (ACHROMATIC OR
MONOCHROMATIC)
Light that is void of color is called achromatic or
monochromatic light.
The only attribute of such light is its intensity, or
amount.
The term gray level generally is used to describe
monochromatic intensity because it ranges from black,
to grays, and finally to white.
40
41. THE ORIGINS OF DIGITAL IMAGE
PROCESSING (CHROMATIC LIGHT)
Radiance is the total amount of energy that flows from the light
source, and it is usually measured in watts (W).
Luminance, measured in lumens (lm), gives a measure of the
amount of energy an observer perceives from a light source.
For example, light emitted from a source operating in the far
infrared region of the spectrum could have significant
energy (radiance), but an observer would hardly perceive it;
its luminance would be almost zero.
Brightness is a subjective descriptor of light perception that is
practically impossible to measure. It embodies the achromatic
notion of intensity and is one of the key factors in describing
color sensation.
41
42. REFERENCES
“Digital Image Processing”, 2/ E, Rafael C. Gonzalez & Richard
E. Woods, www.prenhall.com/gonzalezwoods.
Only Original Owner has full rights reserved for copied
images.
This PPT is only for fair academic use.
42
43. CHAPTER 2 – NEXT SECTION
(COMING SOON)
43
Questions?
Editor's Notes
Rods are thin cells with slender rodlike projections that are the photoreceptors for:
Black and white vision
Vision in dim light
The visual system does not operate simultaneously over the 1010 range. It accomplishes this large variation by changes in its overall sensitivity, a phenomenon known as brightness adaptation.
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