SlideShare ist ein Scribd-Unternehmen logo
1 von 41
Course: Machine Vision
Human Visual System and
Digital Camera
Session 02
D5627 – I Gede Putra Kusuma Negara, B.Eng., PhD
Outline
• Human Visual System
• Digital Cameras
• Image Formation
• Camera and Image Plane Coordinates
• Image Sensing
Human Visual System
The Human Eye
• Diameter: 20 mm
• 3 membranes enclose the eye
• Cornea & sclera
• Choroid
• Lens
• Retina
• The human eye is a camera:
photoreceptor cells (rods and
cones) in the retina have the
same function as
film/CCD/CMOS sensor in a
camera
The Human Eye
The Choroid
• The choroid contains blood
vessels for eye nutrition and is
heavily pigmented to reduce
extraneous light entrance and
backscatter.
• It is divided into the ciliary body
and the iris diaphragm, which
controls the amount of light that
enters the pupil (2 mm ~ 8 mm).
The Human Eye
The Lens
• The lens is made up of fibrous
cells and is suspended by fibers
that attach it to the ciliary body.
• It is slightly yellow and absorbs
approx. 8% of the visible light
spectrum
The Human Eye
The Retina
• The retina lines the entire
posterior portion.
• Discrete light receptors are
distributed over the surface of
the retina:
– cones (6-7 million per eye) and
– rods (75-150 million per eye)
Light Receptors
• Cones
– Cones are located in the fovea and
are sensitive to color
– Each one is connected to its own
nerve end
– Cone vision is called photopic (or
bright-light vision)
• Rods
– Rods are giving a general, overall
picture of the field of view and are
not involved in color vision
– Several rods are connected to a
single nerve and are sensitive to
low levels of illumination (scotopic
or dim-light vision)
Light Receptors Distribution
• The distribution of receptors is
radially symmetric about the
fovea.
• Cones are most dense in the
center of the fovea while rods
increase in density from the
center out to approximately 20%
off axis and then decrease.
The Fovea
• The fovea is circular (1.5 mm in
diameter) but can be assumed to
be a square sensor array (1.5 mm
x 1.5 mm).
• The density of cones: 150,000
elements/mm2 ~ 337,000 for the
fovea.
• A CCD imaging chip of medium
resolution needs 5 mm x 5 mm
for this number of elements
Image Formation in the Eye
• The eye lens (if compared to an
optical lens) is flexible
• It gets controlled by the fibers of
the ciliary body and to focus on
distant objects it gets flatter (and
vice versa)
• Distance between the center of the
lens and the retina (focal length):
– varies from 17 mm to 14 mm
(refractive power of lens goes from
minimum to maximum)
– Objects farther than 3 m use
minimum refractive lens powers
(and vice versa)
Image Formation in the Eye
• Perception takes place by the relative excitation of light receptors
• These receptors transform radiant energy into electrical impulses that
are ultimately decoded by the brain
• Example: calculation of retinal image of an object
Brightness Adaptation &
Discrimination
• Range of light intensity levels
to which HVS (human visual
system) can adapt: on the
order of 1010
• Subjective brightness (i.e.
intensity as perceived by the
HVS) is a logarithmic function
of the light intensity incident
on the eye
Brightness Adaptation &
Discrimination
• The HVS cannot operate over
such a range simultaneously
• If one is at Ba intensity outside
and walk into a dark theater,
he/she can only distinguish up to
Bb. It will take much longer for
eye to adapt for the stocopic
vision to pick up
• For any given set of conditions,
the current sensitivity level of
HVS is called the brightness
adaptation level
The typical
observer can
discern one to two
dozen different
intensity changes
Brightness Adaptation &
Discrimination
• Eye response to the signal
intensity is not determined by
the nominal change in physical
stimulus (light energy), rather by
its change relative to its initial
level
• In general, there is a minimum
required change in signal
intensity needed to produce
change in sensation, and the
latter is not necessarily
proportional to the former
• Eye brightness response is not
proportional to light's nominal
(physical) intensity, but
proportional to its intensity level.
This threshold ratio, which he
found to be 1/64 (around 1.5%)
ratio
Weber

D
I
Ic
Brightness Adaptation &
Discrimination
• Overall intensity discrimination is
broad due to different set of
incremental changes to be
detected at each new adaptation
level.
• Perceived brightness is not a
simple function of intensity
– Scalloped effect, Mach band
pattern
– Simultaneous contrast
Digital Camera
Traditional Photography
• Camera obscura: Known during classical period in China and Greece
(e.g. Mo-Ti, China, 470BC to 390BC)
Camera Obscura
First Photograph
• Oldest surviving photograph by Joseph Niepce, 1826
• It took 8 hours on pewter plate
• It stored at UT Austin
Image Formation
• Images are typically generated by illuminating a scene and absorbing
the energy reflected by the objects in that scene
Imaging Device
• Basic elements of an imaging
device
– Aperture: an opening (or
“pupil”) to limit amount of light,
and angle of incoming light
rays
• Optical system
– Lenses: purpose is to focus light
from a scene point to a single
image point
• – Imaging photosensitive
surface
– Film or sensors, usually a plane
Pinhole Camera
• Light enters a darkened chamber through pinhole opening
and forms an image on the further surface
f
f = focal length
c = center of the camera
c
Digital SLR (Single-lens Reflex)
Camera
DSLR vs Mirrorless
Perspective Projection Equations
By similar triangles,
x=f X/Z, y=f Y/Z
Field of view (θ)
tan(θ/2) = (w/2)/f
Camera vs Image Plane
Coordinates
Camera coordinate system {C}
• A 3D coordinate system (X,Y,Z) – units
say, in meters
• Origin at the center of projection
• Z axis points outward along optical axis
• X points right, Y points down
Image plane coordinate system {π}
• A 2D coordinate system (x,y) – units in
mm
• Origin at the intersection of the optical
axis with the image plane
• In real systems, this is where the CCD or
CMOS plane is
Examples
• Assume focal length = 5 mm
• A scene point is located at (X,Y,Z) = (1m, 2m, 5m)
• What are the image plane coordinates (x,y) in mm?
x = f X/Z = (5 mm) (1 m)/(5 m) = 1 mm
y = f Y/Z = (5 mm) (2 m)/(5 m) = 2 mm
• If the image plane is 10mm x 10mm, what is the field of view?
tan(θ/2) = (w/2)/f = 5/5 = 1
θ/2 = 45 deg, fov is 90x90 deg
• A building is 100m wide. How far away do we have to be in order that
it fills the field of view?
tan(θ/2) = (W/2)/Z= 50/Z
so Z = 50 m
Image Buffer
Image plane
• The real image is formed on the
CCD plane
• (x,y) units in mm
• Origin in center (principal point)
Image buffer
• Digital (or pixel) image
• (row,col) indices
• We can also use (xim,yim)
• Origin in upper left
(0,0)
(1,1)
x
y
xim
yim
Conversion between real image
and pixel image coordinates
Assume
• The image center (principal
point) is located at pixel (cx,cy) in
the pixel image
• The spacing of the pixels is (sx,sy)
in millimeters
Then
• x=(xim –cx)sx
• xim = x/sx + cx
• y=(yim –cy)sy
• yim = y/sy +cy
(Cx,Cy)
x
y
xim
yim
Note on Focal Length
• Recall
x=(xim –cx)sx
y=(yim –cy)sy
• or
xim = x/sx + cx
yim = y/sy + cy
• and
x = f X/Z
y = f Y/Z
• So
xim = (f/sx) X/Z + cx
yim = (f/sy) Y/Z + cy
• All we really need is
fx = (f/sx)
fy = (f/sy)
• We don’t need to know the
actual values of f and sx,sy; just
their ratios
• We can alternatively express
focal length in units of pixels
Image Sensing
• Incoming energy lands on a
sensor material responsive to
that type of energy and this
generates a voltage
• Collections of sensors are
arranged to capture images
• Currently there are two kind
of popular image sensors: CCD
(Charge Coupled Device) and
CMOS (Complimentary Metal
Oxide on Silicon)
Image Sensing
Flatbed scanner
Magnetic Resonance
Imaging (MRI)
Image Sampling
and Quantization
• A digital sensor can only measure a limited number of samples at a
discrete set of energy levels
• Quantization is the process of converting a continuous analogue signal
into a digital representation of this signal
Image Sampling
and Quantization
Image Sampling
and Quantization
• Always remember that a
digital image is always only
an approximation of a real
world scene
Digital Image Representation
• 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)
• Images can easily
be represented as
matrices
col
row
f (row, col)
Digital Image Representation
Digital SLR Simulation
Acknowledgment
Some of slides in this PowerPoint presentation are adaptation from
various slides, many thanks to:
1. Professor Peggy Agouris, Department of Geography and
GeoInformation Science, George Mason University
(http://ggs.gmu.edu/People/Agouris/Agouris.html)
2. Professor William Hoff, Department of Electrical Engineering &
Computer Science (http://inside.mines.edu/~whoff/)
3. Dr. Brian Mac Namee, School of Computing at the Dublin Institute of
Technology (http://www.comp.dit.ie/bmacnamee/gaip.htm)
Thank You

Weitere ähnliche Inhalte

Was ist angesagt?

Image segmentation
Image segmentationImage segmentation
Image segmentation
Deepak Kumar
 
Exploring Methods to Improve Edge Detection with Canny Algorithm
Exploring Methods to Improve Edge Detection with Canny AlgorithmExploring Methods to Improve Edge Detection with Canny Algorithm
Exploring Methods to Improve Edge Detection with Canny Algorithm
Prasad Thakur
 
Image segmentation 2
Image segmentation 2 Image segmentation 2
Image segmentation 2
Rumah Belajar
 
Threshold Selection for Image segmentation
Threshold Selection for Image segmentationThreshold Selection for Image segmentation
Threshold Selection for Image segmentation
Parijat Sinha
 
Image processing
Image processingImage processing
Image processing
abuamo
 

Was ist angesagt? (20)

Image segmentation
Image segmentationImage segmentation
Image segmentation
 
Image segmentation
Image segmentationImage segmentation
Image segmentation
 
Image segmentation
Image segmentationImage segmentation
Image segmentation
 
IMAGE SEGMENTATION TECHNIQUES
IMAGE SEGMENTATION TECHNIQUESIMAGE SEGMENTATION TECHNIQUES
IMAGE SEGMENTATION TECHNIQUES
 
Image segmentation using wvlt trnsfrmtn and fuzzy logic. ppt
Image segmentation using wvlt trnsfrmtn and fuzzy logic. pptImage segmentation using wvlt trnsfrmtn and fuzzy logic. ppt
Image segmentation using wvlt trnsfrmtn and fuzzy logic. ppt
 
Image segmentation
Image segmentation Image segmentation
Image segmentation
 
IMAGE SEGMENTATION BY USING THRESHOLDING TECHNIQUES FOR MEDICAL IMAGES
IMAGE SEGMENTATION BY USING THRESHOLDING TECHNIQUES FOR MEDICAL IMAGESIMAGE SEGMENTATION BY USING THRESHOLDING TECHNIQUES FOR MEDICAL IMAGES
IMAGE SEGMENTATION BY USING THRESHOLDING TECHNIQUES FOR MEDICAL IMAGES
 
Image segmentation
Image segmentationImage segmentation
Image segmentation
 
Image segmentation
Image segmentationImage segmentation
Image segmentation
 
Review of Image Segmentation Techniques based on Region Merging Approach
Review of Image Segmentation Techniques based on Region Merging ApproachReview of Image Segmentation Techniques based on Region Merging Approach
Review of Image Segmentation Techniques based on Region Merging Approach
 
Image processing, Noise, Noise Removal filters
Image processing, Noise, Noise Removal filtersImage processing, Noise, Noise Removal filters
Image processing, Noise, Noise Removal filters
 
Exploring Methods to Improve Edge Detection with Canny Algorithm
Exploring Methods to Improve Edge Detection with Canny AlgorithmExploring Methods to Improve Edge Detection with Canny Algorithm
Exploring Methods to Improve Edge Detection with Canny Algorithm
 
Image enhancement
Image enhancementImage enhancement
Image enhancement
 
Image segmentation 2
Image segmentation 2 Image segmentation 2
Image segmentation 2
 
Feature detection and matching
Feature detection and matchingFeature detection and matching
Feature detection and matching
 
IMAGE SEGMENTATION.
IMAGE SEGMENTATION.IMAGE SEGMENTATION.
IMAGE SEGMENTATION.
 
Threshold Selection for Image segmentation
Threshold Selection for Image segmentationThreshold Selection for Image segmentation
Threshold Selection for Image segmentation
 
Image processing
Image processingImage processing
Image processing
 
Region-based Semi-supervised Clustering Image Segmentation
Region-based Semi-supervised Clustering Image SegmentationRegion-based Semi-supervised Clustering Image Segmentation
Region-based Semi-supervised Clustering Image Segmentation
 
Video Segmentation
Video SegmentationVideo Segmentation
Video Segmentation
 

Ähnlich wie PPT s02-machine vision-s2

A representation of the original image by a discrete set of data points
A representation of the original image by a discrete set of data pointsA representation of the original image by a discrete set of data points
A representation of the original image by a discrete set of data points
Manoj Pandey
 
DIGITAL IMAGE FUNDAS.ppt
DIGITAL IMAGE FUNDAS.pptDIGITAL IMAGE FUNDAS.ppt
DIGITAL IMAGE FUNDAS.ppt
Hari M
 
2 basic imaging and radiometry
2 basic imaging and radiometry2 basic imaging and radiometry
2 basic imaging and radiometry
zjnsrbt
 
Visionbf 1h-fin
Visionbf 1h-finVisionbf 1h-fin
Visionbf 1h-fin
MUBOSScz
 
03-Digital Image Fundamentals (1) Computer .pptx
03-Digital Image Fundamentals (1) Computer .pptx03-Digital Image Fundamentals (1) Computer .pptx
03-Digital Image Fundamentals (1) Computer .pptx
meharwanw
 

Ähnlich wie PPT s02-machine vision-s2 (20)

A representation of the original image by a discrete set of data points
A representation of the original image by a discrete set of data pointsA representation of the original image by a discrete set of data points
A representation of the original image by a discrete set of data points
 
Image processing.pptx
Image processing.pptxImage processing.pptx
Image processing.pptx
 
DIGITAL IMAGE FUNDAS.ppt
DIGITAL IMAGE FUNDAS.pptDIGITAL IMAGE FUNDAS.ppt
DIGITAL IMAGE FUNDAS.ppt
 
2 basic imaging and radiometry
2 basic imaging and radiometry2 basic imaging and radiometry
2 basic imaging and radiometry
 
Dip 4 ece-1 & 2
Dip 4 ece-1 & 2Dip 4 ece-1 & 2
Dip 4 ece-1 & 2
 
Module 1
Module 1Module 1
Module 1
 
6 biophysics of vision 2015
6 biophysics of vision 20156 biophysics of vision 2015
6 biophysics of vision 2015
 
Biometric simulator for visually impaired (1)
Biometric simulator for visually impaired (1)Biometric simulator for visually impaired (1)
Biometric simulator for visually impaired (1)
 
Visionbf 1h-fin
Visionbf 1h-finVisionbf 1h-fin
Visionbf 1h-fin
 
COM2304: Digital Image Fundamentals - I
COM2304: Digital Image Fundamentals - I COM2304: Digital Image Fundamentals - I
COM2304: Digital Image Fundamentals - I
 
Chap_1_Digital_Image_Fundamentals_DD (2).pdf
Chap_1_Digital_Image_Fundamentals_DD (2).pdfChap_1_Digital_Image_Fundamentals_DD (2).pdf
Chap_1_Digital_Image_Fundamentals_DD (2).pdf
 
digitalimagefundamentals.ppt
digitalimagefundamentals.pptdigitalimagefundamentals.ppt
digitalimagefundamentals.ppt
 
03-Digital Image Fundamentals (1) Computer .pptx
03-Digital Image Fundamentals (1) Computer .pptx03-Digital Image Fundamentals (1) Computer .pptx
03-Digital Image Fundamentals (1) Computer .pptx
 
03-Digital Image Fundamentals (5)as.pptx
03-Digital Image Fundamentals (5)as.pptx03-Digital Image Fundamentals (5)as.pptx
03-Digital Image Fundamentals (5)as.pptx
 
Digital image processing2.pptx
Digital image processing2.pptxDigital image processing2.pptx
Digital image processing2.pptx
 
Aberrometry
AberrometryAberrometry
Aberrometry
 
Ch2
Ch2Ch2
Ch2
 
michleson inter ferometer
michleson inter ferometermichleson inter ferometer
michleson inter ferometer
 
Digital image processing 2
Digital image processing   2Digital image processing   2
Digital image processing 2
 
Computer Vision - cameras
Computer Vision - camerasComputer Vision - cameras
Computer Vision - cameras
 

Mehr von Binus Online Learning

Mehr von Binus Online Learning (20)

LN s12-machine vision-s2
LN s12-machine vision-s2LN s12-machine vision-s2
LN s12-machine vision-s2
 
LN s11-machine vision-s2
LN s11-machine vision-s2LN s11-machine vision-s2
LN s11-machine vision-s2
 
LN s10-machine vision-s2
LN s10-machine vision-s2LN s10-machine vision-s2
LN s10-machine vision-s2
 
LN s09-machine vision-s2
LN s09-machine vision-s2LN s09-machine vision-s2
LN s09-machine vision-s2
 
LN s08-machine vision-s2
LN s08-machine vision-s2LN s08-machine vision-s2
LN s08-machine vision-s2
 
LN s07-machine vision-s2
LN s07-machine vision-s2LN s07-machine vision-s2
LN s07-machine vision-s2
 
LN s06-machine vision-s2
LN s06-machine vision-s2LN s06-machine vision-s2
LN s06-machine vision-s2
 
LN s05-machine vision-s2
LN s05-machine vision-s2LN s05-machine vision-s2
LN s05-machine vision-s2
 
LN s04-machine vision-s2
LN s04-machine vision-s2LN s04-machine vision-s2
LN s04-machine vision-s2
 
LN s03-machine vision-s2
LN s03-machine vision-s2LN s03-machine vision-s2
LN s03-machine vision-s2
 
LN s02-machine vision-s2
LN s02-machine vision-s2LN s02-machine vision-s2
LN s02-machine vision-s2
 
LN s01-machine vision-s2
LN s01-machine vision-s2LN s01-machine vision-s2
LN s01-machine vision-s2
 
PPT s11-machine vision-s2
PPT s11-machine vision-s2PPT s11-machine vision-s2
PPT s11-machine vision-s2
 
PPT s10-machine vision-s2
PPT s10-machine vision-s2PPT s10-machine vision-s2
PPT s10-machine vision-s2
 
PPT s07-machine vision-s2
PPT s07-machine vision-s2PPT s07-machine vision-s2
PPT s07-machine vision-s2
 
PPT s05-machine vision-s2
PPT s05-machine vision-s2PPT s05-machine vision-s2
PPT s05-machine vision-s2
 
PPT s04-machine vision-s2
PPT s04-machine vision-s2PPT s04-machine vision-s2
PPT s04-machine vision-s2
 
PPT s01-machine vision-s2
PPT s01-machine vision-s2PPT s01-machine vision-s2
PPT s01-machine vision-s2
 
LN sesi 2 delivering quality-1
LN sesi 2 delivering quality-1LN sesi 2 delivering quality-1
LN sesi 2 delivering quality-1
 
PPT Sesi 2 FO the guest delivering quality-1
PPT Sesi 2 FO the guest delivering quality-1PPT Sesi 2 FO the guest delivering quality-1
PPT Sesi 2 FO the guest delivering quality-1
 

Kürzlich hochgeladen

FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
dollysharma2066
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Christo Ananth
 

Kürzlich hochgeladen (20)

Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
 
Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
NFPA 5000 2024 standard .
NFPA 5000 2024 standard                                  .NFPA 5000 2024 standard                                  .
NFPA 5000 2024 standard .
 
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 

PPT s02-machine vision-s2

  • 1. Course: Machine Vision Human Visual System and Digital Camera Session 02 D5627 – I Gede Putra Kusuma Negara, B.Eng., PhD
  • 2. Outline • Human Visual System • Digital Cameras • Image Formation • Camera and Image Plane Coordinates • Image Sensing
  • 4. The Human Eye • Diameter: 20 mm • 3 membranes enclose the eye • Cornea & sclera • Choroid • Lens • Retina • The human eye is a camera: photoreceptor cells (rods and cones) in the retina have the same function as film/CCD/CMOS sensor in a camera
  • 5. The Human Eye The Choroid • The choroid contains blood vessels for eye nutrition and is heavily pigmented to reduce extraneous light entrance and backscatter. • It is divided into the ciliary body and the iris diaphragm, which controls the amount of light that enters the pupil (2 mm ~ 8 mm).
  • 6. The Human Eye The Lens • The lens is made up of fibrous cells and is suspended by fibers that attach it to the ciliary body. • It is slightly yellow and absorbs approx. 8% of the visible light spectrum
  • 7. The Human Eye The Retina • The retina lines the entire posterior portion. • Discrete light receptors are distributed over the surface of the retina: – cones (6-7 million per eye) and – rods (75-150 million per eye)
  • 8. Light Receptors • Cones – Cones are located in the fovea and are sensitive to color – Each one is connected to its own nerve end – Cone vision is called photopic (or bright-light vision) • Rods – Rods are giving a general, overall picture of the field of view and are not involved in color vision – Several rods are connected to a single nerve and are sensitive to low levels of illumination (scotopic or dim-light vision)
  • 9. Light Receptors Distribution • The distribution of receptors is radially symmetric about the fovea. • Cones are most dense in the center of the fovea while rods increase in density from the center out to approximately 20% off axis and then decrease.
  • 10. The Fovea • The fovea is circular (1.5 mm in diameter) but can be assumed to be a square sensor array (1.5 mm x 1.5 mm). • The density of cones: 150,000 elements/mm2 ~ 337,000 for the fovea. • A CCD imaging chip of medium resolution needs 5 mm x 5 mm for this number of elements
  • 11. Image Formation in the Eye • The eye lens (if compared to an optical lens) is flexible • It gets controlled by the fibers of the ciliary body and to focus on distant objects it gets flatter (and vice versa) • Distance between the center of the lens and the retina (focal length): – varies from 17 mm to 14 mm (refractive power of lens goes from minimum to maximum) – Objects farther than 3 m use minimum refractive lens powers (and vice versa)
  • 12. Image Formation in the Eye • Perception takes place by the relative excitation of light receptors • These receptors transform radiant energy into electrical impulses that are ultimately decoded by the brain • Example: calculation of retinal image of an object
  • 13. Brightness Adaptation & Discrimination • Range of light intensity levels to which HVS (human visual system) can adapt: on the order of 1010 • Subjective brightness (i.e. intensity as perceived by the HVS) is a logarithmic function of the light intensity incident on the eye
  • 14. Brightness Adaptation & Discrimination • The HVS cannot operate over such a range simultaneously • If one is at Ba intensity outside and walk into a dark theater, he/she can only distinguish up to Bb. It will take much longer for eye to adapt for the stocopic vision to pick up • For any given set of conditions, the current sensitivity level of HVS is called the brightness adaptation level The typical observer can discern one to two dozen different intensity changes
  • 15. Brightness Adaptation & Discrimination • Eye response to the signal intensity is not determined by the nominal change in physical stimulus (light energy), rather by its change relative to its initial level • In general, there is a minimum required change in signal intensity needed to produce change in sensation, and the latter is not necessarily proportional to the former • Eye brightness response is not proportional to light's nominal (physical) intensity, but proportional to its intensity level. This threshold ratio, which he found to be 1/64 (around 1.5%) ratio Weber  D I Ic
  • 16. Brightness Adaptation & Discrimination • Overall intensity discrimination is broad due to different set of incremental changes to be detected at each new adaptation level. • Perceived brightness is not a simple function of intensity – Scalloped effect, Mach band pattern – Simultaneous contrast
  • 18. Traditional Photography • Camera obscura: Known during classical period in China and Greece (e.g. Mo-Ti, China, 470BC to 390BC)
  • 20. First Photograph • Oldest surviving photograph by Joseph Niepce, 1826 • It took 8 hours on pewter plate • It stored at UT Austin
  • 21. Image Formation • Images are typically generated by illuminating a scene and absorbing the energy reflected by the objects in that scene
  • 22. Imaging Device • Basic elements of an imaging device – Aperture: an opening (or “pupil”) to limit amount of light, and angle of incoming light rays • Optical system – Lenses: purpose is to focus light from a scene point to a single image point • – Imaging photosensitive surface – Film or sensors, usually a plane
  • 23. Pinhole Camera • Light enters a darkened chamber through pinhole opening and forms an image on the further surface f f = focal length c = center of the camera c
  • 24. Digital SLR (Single-lens Reflex) Camera
  • 26. Perspective Projection Equations By similar triangles, x=f X/Z, y=f Y/Z Field of view (θ) tan(θ/2) = (w/2)/f
  • 27. Camera vs Image Plane Coordinates Camera coordinate system {C} • A 3D coordinate system (X,Y,Z) – units say, in meters • Origin at the center of projection • Z axis points outward along optical axis • X points right, Y points down Image plane coordinate system {π} • A 2D coordinate system (x,y) – units in mm • Origin at the intersection of the optical axis with the image plane • In real systems, this is where the CCD or CMOS plane is
  • 28. Examples • Assume focal length = 5 mm • A scene point is located at (X,Y,Z) = (1m, 2m, 5m) • What are the image plane coordinates (x,y) in mm? x = f X/Z = (5 mm) (1 m)/(5 m) = 1 mm y = f Y/Z = (5 mm) (2 m)/(5 m) = 2 mm • If the image plane is 10mm x 10mm, what is the field of view? tan(θ/2) = (w/2)/f = 5/5 = 1 θ/2 = 45 deg, fov is 90x90 deg • A building is 100m wide. How far away do we have to be in order that it fills the field of view? tan(θ/2) = (W/2)/Z= 50/Z so Z = 50 m
  • 29. Image Buffer Image plane • The real image is formed on the CCD plane • (x,y) units in mm • Origin in center (principal point) Image buffer • Digital (or pixel) image • (row,col) indices • We can also use (xim,yim) • Origin in upper left (0,0) (1,1) x y xim yim
  • 30. Conversion between real image and pixel image coordinates Assume • The image center (principal point) is located at pixel (cx,cy) in the pixel image • The spacing of the pixels is (sx,sy) in millimeters Then • x=(xim –cx)sx • xim = x/sx + cx • y=(yim –cy)sy • yim = y/sy +cy (Cx,Cy) x y xim yim
  • 31. Note on Focal Length • Recall x=(xim –cx)sx y=(yim –cy)sy • or xim = x/sx + cx yim = y/sy + cy • and x = f X/Z y = f Y/Z • So xim = (f/sx) X/Z + cx yim = (f/sy) Y/Z + cy • All we really need is fx = (f/sx) fy = (f/sy) • We don’t need to know the actual values of f and sx,sy; just their ratios • We can alternatively express focal length in units of pixels
  • 32. Image Sensing • Incoming energy lands on a sensor material responsive to that type of energy and this generates a voltage • Collections of sensors are arranged to capture images • Currently there are two kind of popular image sensors: CCD (Charge Coupled Device) and CMOS (Complimentary Metal Oxide on Silicon)
  • 33. Image Sensing Flatbed scanner Magnetic Resonance Imaging (MRI)
  • 34. Image Sampling and Quantization • A digital sensor can only measure a limited number of samples at a discrete set of energy levels • Quantization is the process of converting a continuous analogue signal into a digital representation of this signal
  • 36. Image Sampling and Quantization • Always remember that a digital image is always only an approximation of a real world scene
  • 37. Digital Image Representation • 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) • Images can easily be represented as matrices col row f (row, col)
  • 40. Acknowledgment Some of slides in this PowerPoint presentation are adaptation from various slides, many thanks to: 1. Professor Peggy Agouris, Department of Geography and GeoInformation Science, George Mason University (http://ggs.gmu.edu/People/Agouris/Agouris.html) 2. Professor William Hoff, Department of Electrical Engineering & Computer Science (http://inside.mines.edu/~whoff/) 3. Dr. Brian Mac Namee, School of Computing at the Dublin Institute of Technology (http://www.comp.dit.ie/bmacnamee/gaip.htm)