SlideShare a Scribd company logo
1 of 55
Download to read offline
Computer Vision
DR. MOMINA MOETESUM
P R O F I L E : L I N K E D I N P R O F I L E
E M A I L : r e a c h . m o m i n a @ g m a i l . c o m
Week 2: Image Formation
• Geometric Primitives and Transformations
• Photometric Image Formation
• Digital Cameras and Image Representations
Computer Vision Week 2: Image Formation 2
What we see What a computer sees
3
Computer Vision Week 2: Image Formation
Computer Vision is Making sense of these numbers
4
Computer Vision Week 2: Image Formation
255
255
255
255
239
238
247
252
255
232
248
255
255
240
255
255









3D to 2D Conversion implies information loss
graphics
vision
Computer Graphics vs. Computer Vision
5
Computer Vision Week 2: Image Formation
Geometric Primitives and Transformations
• Basic building blocks used to describe the projection of 3D features into 2D features.
• Points
• Lines
• Planes
• Projections
6
Computer Vision Week 2: Image Formation
Points
• 2D points (pixel coordinates in an image) can be denoted using
a pair of values, x = (x, y) ∈ R2 , or alternatively, a column
vector x ∈ R2x1 :
• 3D points (coordinates in three dimensions) can be written
using x = (x, y, z) ∈ R3
7
Computer Vision Week 2: Image Formation
Lines
• The general equation of a straight 2D line is given below, where
m is the gradient, and Y is the value where the line cuts the y-
axis.
L = mx + Y
• 3D Lines can be represented by using two points on the line,
(P, X). Any other point on the line can be expressed as a linear
combination of these two points.
L : (x – x1)/l = (y – y1)/m = (z – z1)/n
8
Computer Vision Week 2: Image Formation
3D Lines - Proof
Consider a line which passes through the point P(x1, y1, z1), and has
direction vector d⃗=(l, m, n) , where l , m, and n are non-zero real
numbers. Let X=(x, y, z) be a random point on the line. Then the
vector PX ⃗, which is the red arrow in the figure, will be parallel
to d⃗. Hence, we have:
9
Computer Vision Week 2: Image Formation
3D Lines - Example
Example 1: If a straight line is passing through the two fixed points in the 3-dimensional plane whose
position coordinates are P (2, 3, 5) and Q (4, 6, 12) then find its cartesian equation using the two-point
form.
Solution:
l = (4 – 2), m = (6 – 3), n = (12 – 5)
l = 2, m = 3, n = 7
Choosing the point P (2, 3, 5)
The required equation of the line
L : (x – 2) / 2 = (y – 3) / 3 = (z – 5) / 7
1 0
Computer Vision Week 2: Image Formation
3D Lines - Example
Example 1: If a straight line is passing through the two fixed points in the 3-dimensional whose
position coordinates are X (2, 3, 4) and Y (5, 3, 10) then find its cartesian equation using the two-
point form.
Solution:
l = (5 – 2), m = (3 – 3), n = (10 – 4)
l = 3, m = 0, n = 6
Choosing the point X (2, 3, 4)
The required equation of the line
L : (x – 2) / 3 = (y – 3) / 0 = (z – 4) / 6
L : (x - 2) / 3 = (z – 4) / 6 and y = 3
1 1
Computer Vision Week 2: Image Formation
Image Formation in the Human Eye
1 2
Computer Vision Week 2: Image Formation
• When the eye is properly focused, light from an object
outside the eye is imaged on the retina
• Retina consists of two types of light receptors: rods and
cones
• Rods
Cover all of retina
75-150 Million
Several rods connected to one optical nerve (low-resolution)
Sensitive to small light intensities (dim-light vision)
Equal response to all colours
Image Formation in the Human Eye
1 3
Computer Vision Week 2: Image Formation
• When the eye is properly focused, light from an object outside
the eye is imaged on the retina
• Retina consists of two types of light receptors: rods and
cones
• Cones
Concentrated at fovea
6-7 Million
One cone connected to one optical nerve (high-resolution)
Sensitive to bright light
(bright-light vision)
Sensitive to colours
Image Formation in Human Eye
1 4
Computer Vision Week 2: Image Formation
The Electromagnatic Spectrum
1 5
Computer Vision Week 2: Image Formation
Trichromatic Vision
1 6
Computer Vision Week 2: Image Formation
• Cone cells are of three types, each containing a
photosensitive pigment that responds to a
particular wavelength of light
• S-cones are sensitive to “short” wavelengths,
corresponding to the blue colour
• M-cones are sensitive to “medium” wavelengths,
corresponding to the green colour
• L-cones are sensitive to “long” wavelengths,
corresponding to the red colour
Capturing Images
• Pinhole Cameras
• Lenses
• Digital Cameras
The first photograph on record, “la table
servie”, obtained by Nicephore Niepce in
1822
1 7
Computer Vision Week 2: Image Formation
Pinhole Camera
1 8
Computer Vision Week 2: Image Formation
Pinhole Perspective
1 9
Computer Vision Week 2: Image Formation
Pinhole Perspective
2 0
Computer Vision Week 2: Image Formation
Introducing Lens
• Smaller the pinhole sharper the
images but also darker
• Larger the pinhole brighter the
image but also more blurry
• Most cameras use a converging lens
to allow light to enter the device.
• Zoom lenses found in cameras
utilize a combination of convex and
concave lenses to produce different
types of images.
2 1
Computer Vision Week 2: Image Formation
Optical Geometry
• Snell’s law, if r1 is the ray incident to the interface
between two transparent materials with indices of
refraction n1 and n2, and r2 is the refracted ray,
then r1, r2, and the normal to the interface are
coplanar, and the angles α1 and α2 between the
normal and the two rays are related by:
n1 sin α1 = n2 sin α2
2 2
Computer Vision Week 2: Image Formation
Reflection
2 3
Computer Vision Week 2: Image Formation
• Incident light is reflected in two main
forms
1. Diffuse reflection: light scattered
isotropically in all directions (shows
true colour of the object)
2. Specular reflection: Incident light
reflected in a specific direction
(mirror-like effect)
• Most materials exhibit a mixture of
diffuse and specular reflections
Thin Lens Phenomena
The thin lens equation defines the
relationship between the focal length of a
lens, the distance of an object from that
lens, and the distance of the image formed
by the lens.
2 4
Computer Vision Week 2: Image Formation
Focal Length of a Lens
2 5
Computer Vision Week 2: Image Formation
Focal Length
Focal length, usually represented in millimeters
(mm).
It is a calculation of an optical distance from the point where
light rays converge to form a sharp image of an object to the
digital sensor at the focal plane in the camera.
The focal length of a lens is determined when the lens
is focused at infinity.
Lens focal length tells us the angle of view—how much of the
scene will be captured—and the magnification—how large
individual elements will be.
The longer the focal length, the narrower the angle of
view and the higher the magnification.
The shorter the focal length, the wider the angle of
view and the lower the magnification.
2 6
Computer Vision Week 2: Image Formation
Digital Cameras
• Image sensing
pipeline,
• Various sources of
noise
• Typical digital post-
processing steps
2 7
Computer Vision Week 2: Image Formation
Capturing Digital Images
• Light falling on an imaging sensor is
usually picked up by an active sensing
area
• Charge-Coupled Device (CCD)
• Complementary Metal Oxide on Silicon
(CMOS)
• CCDs are prone to “Blooming”
• CCD sensors outperformed CMOS in
quality-sensitive applications
2 8
Computer Vision Week 2: Image Formation
Digital Cameras – Image Sensing
2 9
Computer Vision Week 2: Image Formation
Digital Camera – Image Formation
3 0
Computer Vision Week 2: Image Formation
Image Formation
3 1
Computer Vision Week 2: Image Formation
𝑓 𝑥, 𝑦 = 𝑖 𝑥, 𝑦 𝑟 𝑥, 𝑦
𝑓 𝑥, 𝑦 is the image
0 < 𝑖 𝑥, 𝑦 < ∞
0 < 𝑟 𝑥, 𝑦 < 1
is the illumination (specular reflection)
𝑖(𝑥, 𝑦)
is the reflection (diffuse reflection)
𝑟(𝑥, 𝑦)
Sampling and Quantization
3 2
Computer Vision Week 2: Image Formation
Continuous Image Projected onto a Sensor Array
3 3
Computer Vision Week 2: Image Formation
Representing Image as a Matrix
3 4
Computer Vision Week 2: Image Formation
Image formation is an analog
to digital conversion of an
image with the help of 2D
Sampling and Quantization
techniques that is done by the
capturing devices like
cameras.
Computer Vision Week 2: Image Formation 3 5
Sampling
• Sampling is a spatial
resolution of the digital
image.
• The rate of sampling
determines the quality of
the digitized image.
3 6
Computer Vision Week 2: Image Formation
Spatial Resolution
• The spatial resolution of an image is
determined by how sampling was carried
out.
• There are 3 measures which we see often
relating to Image Size/Resolution
a. Pixel count - e.g., 3000x2000 pixels
b. Physical size - e.g., 8" x 10"
c. Resolution - e.g., 240 pixels per inch (PPI)
3 7
Computer Vision Week 2: Image Formation
Quantization
• The transition of the continuous values
from the image function to its digital
equivalent is called quantization.
• Quantization is the number of grey levels
in the digital image.
• It is related to the intensity values of the
image.
• 8-bit quantization: 28 =256 gray levels
(0: black, 255: white)
• 1-bit quantization: 2 gray levels
(0: black, 1: white) – binary
3 8
Computer Vision Week 2: Image Formation
Intensity 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 in an image
• Intensity level resolution is usually
given in terms of the number of bits
used to store each intensity level
3 9
Computer Vision Week 2: Image Formation
Resolution: How Much is Enough?
4 0
Computer Vision Week 2: Image Formation
Digital Image is an approximation of a real world scene
4 1
Computer Vision Week 2: Image Formation
Image as a Function
• Consider image as a function f or I, from
R2 to RM:
f(x, y) gives intensity or value at position (x, y)
• Digital image is defined over some bound:
f : [a, b]x [c, d]y → [min, max] gives
intensity or value at position (x, y) where: x
ranges from a to b, and y ranges from c to d and
intensity from min to max.
4 2
Computer Vision Week 2: Image Formation
Image Representations
Image is a collection of light intensities at different locations.
4 3
Computer Vision Week 2: Image Formation
Image Representations
Pixel – Building Block of Digital Image
4 4
Computer Vision Week 2: Image Formation
Image Representation
4 5
Computer Vision Week 2: Image Formation
Image Representations
4 6
Computer Vision Week 2: Image Formation
Image Representations
4 7
Computer Vision Week 2: Image Formation
Image Representations
4 8
Computer Vision Week 2: Image Formation
RGB Images
4 9
Computer Vision Week 2: Image Formation
RGB Images vs Grey Scale Images
5 0
Computer Vision Week 2: Image Formation
Binary vs. Grey-Scale vs. RGB Images
5 1
Computer Vision Week 2: Image Formation
Factors Affecting Performance of Digital Cameras
• Shutter Speed – Under exposed vs Over-Exposed
5 2
Computer Vision Week 2: Image Formation
Factors Affecting Performance of Digital Cameras
• Sampling Pitch - Physical spacing between adjacent sensor cells
5 3
Computer Vision Week 2: Image Formation
Factors Affecting Performance of Digital Cameras
• Fill Factor - active sensing area size as a fraction of the theoretically available sensing area
5 4
Computer Vision Week 2: Image Formation
Factors Affecting Performance of Digital Cameras
• Chip Size- having a larger chip size is preferable, since each sensor cell can be more photo-
sensitive
• Analog Gain - a higher gain allows the camera to perform better under low light conditions
(less motion blur due to long exposure times when the aperture is already maxed out).
• Sensor Noise - noise is added from various sources, which may include fixed pattern noise,
dark current noise, shot noise, amplifier noise, and quantization noise
• ADC Resolution - how many bits it yields and its noise level (how many of these bits are useful
in practice)
5 5
Computer Vision Week 2: Image Formation

More Related Content

What's hot

Digital Image Processing: Image Segmentation
Digital Image Processing: Image SegmentationDigital Image Processing: Image Segmentation
Digital Image Processing: Image SegmentationMostafa G. M. Mostafa
 
Image Processing Basics
Image Processing BasicsImage Processing Basics
Image Processing BasicsA B Shinde
 
Edge linking in image processing
Edge linking in image processingEdge linking in image processing
Edge linking in image processingVARUN KUMAR
 
Projection In Computer Graphics
Projection In Computer GraphicsProjection In Computer Graphics
Projection In Computer GraphicsSanu Philip
 
Lec1: Medical Image Computing - Introduction
Lec1: Medical Image Computing - Introduction Lec1: Medical Image Computing - Introduction
Lec1: Medical Image Computing - Introduction Ulaş Bağcı
 
digital image processing
digital image processingdigital image processing
digital image processingN.CH Karthik
 
Deep VO and SLAM
Deep VO and SLAMDeep VO and SLAM
Deep VO and SLAMYu Huang
 
Object Detection & Tracking
Object Detection & TrackingObject Detection & Tracking
Object Detection & TrackingAkshay Gujarathi
 
Emotion recognition from facial expression using fuzzy logic
Emotion recognition from facial expression using fuzzy logicEmotion recognition from facial expression using fuzzy logic
Emotion recognition from facial expression using fuzzy logicFinalyear Projects
 
Computer vision and robotics
Computer vision and roboticsComputer vision and robotics
Computer vision and roboticsBiniam Asnake
 
03 digital image fundamentals DIP
03 digital image fundamentals DIP03 digital image fundamentals DIP
03 digital image fundamentals DIPbabak danyal
 
Ray casting algorithm by mhm
Ray casting algorithm by mhmRay casting algorithm by mhm
Ray casting algorithm by mhmMd Mosharof Hosen
 
Ray Tracing in Computer Graphics
Ray Tracing in Computer GraphicsRay Tracing in Computer Graphics
Ray Tracing in Computer GraphicsKABILESH RAMAR
 
Cyrus beck line clipping algorithm
Cyrus beck line clipping algorithmCyrus beck line clipping algorithm
Cyrus beck line clipping algorithmPooja Dixit
 
Back face detection
Back face detectionBack face detection
Back face detectionPooja Dixit
 

What's hot (20)

Digital Image Processing: Image Segmentation
Digital Image Processing: Image SegmentationDigital Image Processing: Image Segmentation
Digital Image Processing: Image Segmentation
 
Image Processing Basics
Image Processing BasicsImage Processing Basics
Image Processing Basics
 
Edge linking in image processing
Edge linking in image processingEdge linking in image processing
Edge linking in image processing
 
Projection In Computer Graphics
Projection In Computer GraphicsProjection In Computer Graphics
Projection In Computer Graphics
 
3 d viewing
3 d viewing3 d viewing
3 d viewing
 
Lec1: Medical Image Computing - Introduction
Lec1: Medical Image Computing - Introduction Lec1: Medical Image Computing - Introduction
Lec1: Medical Image Computing - Introduction
 
Computer Vision Introduction
Computer Vision IntroductionComputer Vision Introduction
Computer Vision Introduction
 
digital image processing
digital image processingdigital image processing
digital image processing
 
Deep VO and SLAM
Deep VO and SLAMDeep VO and SLAM
Deep VO and SLAM
 
Object Detection & Tracking
Object Detection & TrackingObject Detection & Tracking
Object Detection & Tracking
 
Emotion recognition from facial expression using fuzzy logic
Emotion recognition from facial expression using fuzzy logicEmotion recognition from facial expression using fuzzy logic
Emotion recognition from facial expression using fuzzy logic
 
Visual Effects
Visual EffectsVisual Effects
Visual Effects
 
Computer vision and robotics
Computer vision and roboticsComputer vision and robotics
Computer vision and robotics
 
03 digital image fundamentals DIP
03 digital image fundamentals DIP03 digital image fundamentals DIP
03 digital image fundamentals DIP
 
visible surface detection
visible surface detectionvisible surface detection
visible surface detection
 
Ray casting algorithm by mhm
Ray casting algorithm by mhmRay casting algorithm by mhm
Ray casting algorithm by mhm
 
Ray Tracing in Computer Graphics
Ray Tracing in Computer GraphicsRay Tracing in Computer Graphics
Ray Tracing in Computer Graphics
 
Watershed
WatershedWatershed
Watershed
 
Cyrus beck line clipping algorithm
Cyrus beck line clipping algorithmCyrus beck line clipping algorithm
Cyrus beck line clipping algorithm
 
Back face detection
Back face detectionBack face detection
Back face detection
 

Similar to Computer Vision - Image Formation.pdf

Computer Vision - Image Formation.pptx
Computer Vision - Image Formation.pptxComputer Vision - Image Formation.pptx
Computer Vision - Image Formation.pptxAmmarahMajeed
 
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).pdfMrNeon5
 
Digital image processing2.pptx
Digital image processing2.pptxDigital image processing2.pptx
Digital image processing2.pptxDivyanshAgarwal78
 
Chapter 10 Optical Instruments-2.ppt slides
Chapter 10 Optical Instruments-2.ppt slidesChapter 10 Optical Instruments-2.ppt slides
Chapter 10 Optical Instruments-2.ppt slidessomethingyouknow786
 
Advance image processing
Advance image processingAdvance image processing
Advance image processingAAKANKSHA JAIN
 
1 [Autosaved].pptx
1 [Autosaved].pptx1 [Autosaved].pptx
1 [Autosaved].pptxSsdSsd5
 
Week06 bme429-cbir
Week06 bme429-cbirWeek06 bme429-cbir
Week06 bme429-cbirIkram Moalla
 
Module 1
Module 1Module 1
Module 1ushaBS2
 
Biometric simulator for visually impaired (1)
Biometric simulator for visually impaired (1)Biometric simulator for visually impaired (1)
Biometric simulator for visually impaired (1)Rahul Bhagat
 
24th IP_Fundamentals.ppt
24th IP_Fundamentals.ppt24th IP_Fundamentals.ppt
24th IP_Fundamentals.pptMphill2018
 
Lectures 1 3 final (4)
Lectures 1 3 final (4)Lectures 1 3 final (4)
Lectures 1 3 final (4)seemakashyap15
 
DIP Notes Unit-1 PPT , engineering, computer Science
DIP Notes Unit-1 PPT , engineering, computer ScienceDIP Notes Unit-1 PPT , engineering, computer Science
DIP Notes Unit-1 PPT , engineering, computer Sciencebaaburao4200
 

Similar to Computer Vision - Image Formation.pdf (20)

Computer Vision - Image Formation.pptx
Computer Vision - Image Formation.pptxComputer Vision - Image Formation.pptx
Computer Vision - Image Formation.pptx
 
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
 
Digital image processing2.pptx
Digital image processing2.pptxDigital image processing2.pptx
Digital image processing2.pptx
 
Image processing.pptx
Image processing.pptxImage processing.pptx
Image processing.pptx
 
M.sc.iii sem digital image processing unit i
M.sc.iii sem digital image processing unit iM.sc.iii sem digital image processing unit i
M.sc.iii sem digital image processing unit i
 
M.sc.iii sem digital image processing unit i
M.sc.iii sem digital image processing unit iM.sc.iii sem digital image processing unit i
M.sc.iii sem digital image processing unit i
 
CG.pptx
CG.pptxCG.pptx
CG.pptx
 
Chapter 10 Optical Instruments-2.ppt slides
Chapter 10 Optical Instruments-2.ppt slidesChapter 10 Optical Instruments-2.ppt slides
Chapter 10 Optical Instruments-2.ppt slides
 
DIP-CHAPTERs-GOPAL SIR.pptx
DIP-CHAPTERs-GOPAL SIR.pptxDIP-CHAPTERs-GOPAL SIR.pptx
DIP-CHAPTERs-GOPAL SIR.pptx
 
Advance image processing
Advance image processingAdvance image processing
Advance image processing
 
1 [Autosaved].pptx
1 [Autosaved].pptx1 [Autosaved].pptx
1 [Autosaved].pptx
 
Module 1.pptx
Module 1.pptxModule 1.pptx
Module 1.pptx
 
Week06 bme429-cbir
Week06 bme429-cbirWeek06 bme429-cbir
Week06 bme429-cbir
 
Module 1
Module 1Module 1
Module 1
 
Lecture1
Lecture1Lecture1
Lecture1
 
Biometric simulator for visually impaired (1)
Biometric simulator for visually impaired (1)Biometric simulator for visually impaired (1)
Biometric simulator for visually impaired (1)
 
DIP PPT (1).pptx
DIP PPT (1).pptxDIP PPT (1).pptx
DIP PPT (1).pptx
 
24th IP_Fundamentals.ppt
24th IP_Fundamentals.ppt24th IP_Fundamentals.ppt
24th IP_Fundamentals.ppt
 
Lectures 1 3 final (4)
Lectures 1 3 final (4)Lectures 1 3 final (4)
Lectures 1 3 final (4)
 
DIP Notes Unit-1 PPT , engineering, computer Science
DIP Notes Unit-1 PPT , engineering, computer ScienceDIP Notes Unit-1 PPT , engineering, computer Science
DIP Notes Unit-1 PPT , engineering, computer Science
 

Recently uploaded

VIP Call Girls Pune Kirti 8617697112 Independent Escort Service Pune
VIP Call Girls Pune Kirti 8617697112 Independent Escort Service PuneVIP Call Girls Pune Kirti 8617697112 Independent Escort Service Pune
VIP Call Girls Pune Kirti 8617697112 Independent Escort Service PuneCall girls in Ahmedabad High profile
 
Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❤️8860477959 Escorts...
Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❤️8860477959 Escorts...Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❤️8860477959 Escorts...
Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❤️8860477959 Escorts...lizamodels9
 
0183760ssssssssssssssssssssssssssss00101011 (27).pdf
0183760ssssssssssssssssssssssssssss00101011 (27).pdf0183760ssssssssssssssssssssssssssss00101011 (27).pdf
0183760ssssssssssssssssssssssssssss00101011 (27).pdfRenandantas16
 
Regression analysis: Simple Linear Regression Multiple Linear Regression
Regression analysis:  Simple Linear Regression Multiple Linear RegressionRegression analysis:  Simple Linear Regression Multiple Linear Regression
Regression analysis: Simple Linear Regression Multiple Linear RegressionRavindra Nath Shukla
 
A DAY IN THE LIFE OF A SALESMAN / WOMAN
A DAY IN THE LIFE OF A  SALESMAN / WOMANA DAY IN THE LIFE OF A  SALESMAN / WOMAN
A DAY IN THE LIFE OF A SALESMAN / WOMANIlamathiKannappan
 
Call Girls In Connaught Place Delhi ❤️88604**77959_Russian 100% Genuine Escor...
Call Girls In Connaught Place Delhi ❤️88604**77959_Russian 100% Genuine Escor...Call Girls In Connaught Place Delhi ❤️88604**77959_Russian 100% Genuine Escor...
Call Girls In Connaught Place Delhi ❤️88604**77959_Russian 100% Genuine Escor...lizamodels9
 
BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,noida100girls
 
Intro to BCG's Carbon Emissions Benchmark_vF.pdf
Intro to BCG's Carbon Emissions Benchmark_vF.pdfIntro to BCG's Carbon Emissions Benchmark_vF.pdf
Intro to BCG's Carbon Emissions Benchmark_vF.pdfpollardmorgan
 
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...anilsa9823
 
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...Dipal Arora
 
VIP Kolkata Call Girl Howrah 👉 8250192130 Available With Room
VIP Kolkata Call Girl Howrah 👉 8250192130  Available With RoomVIP Kolkata Call Girl Howrah 👉 8250192130  Available With Room
VIP Kolkata Call Girl Howrah 👉 8250192130 Available With Roomdivyansh0kumar0
 
Vip Female Escorts Noida 9711199171 Greater Noida Escorts Service
Vip Female Escorts Noida 9711199171 Greater Noida Escorts ServiceVip Female Escorts Noida 9711199171 Greater Noida Escorts Service
Vip Female Escorts Noida 9711199171 Greater Noida Escorts Serviceankitnayak356677
 
Non Text Magic Studio Magic Design for Presentations L&P.pptx
Non Text Magic Studio Magic Design for Presentations L&P.pptxNon Text Magic Studio Magic Design for Presentations L&P.pptx
Non Text Magic Studio Magic Design for Presentations L&P.pptxAbhayThakur200703
 
2024 Numerator Consumer Study of Cannabis Usage
2024 Numerator Consumer Study of Cannabis Usage2024 Numerator Consumer Study of Cannabis Usage
2024 Numerator Consumer Study of Cannabis UsageNeil Kimberley
 
BEST Call Girls In Old Faridabad ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In Old Faridabad ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,BEST Call Girls In Old Faridabad ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In Old Faridabad ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,noida100girls
 
VIP Call Girl Jamshedpur Aashi 8250192130 Independent Escort Service Jamshedpur
VIP Call Girl Jamshedpur Aashi 8250192130 Independent Escort Service JamshedpurVIP Call Girl Jamshedpur Aashi 8250192130 Independent Escort Service Jamshedpur
VIP Call Girl Jamshedpur Aashi 8250192130 Independent Escort Service JamshedpurSuhani Kapoor
 
Monte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSMMonte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSMRavindra Nath Shukla
 
The CMO Survey - Highlights and Insights Report - Spring 2024
The CMO Survey - Highlights and Insights Report - Spring 2024The CMO Survey - Highlights and Insights Report - Spring 2024
The CMO Survey - Highlights and Insights Report - Spring 2024christinemoorman
 
Progress Report - Oracle Database Analyst Summit
Progress  Report - Oracle Database Analyst SummitProgress  Report - Oracle Database Analyst Summit
Progress Report - Oracle Database Analyst SummitHolger Mueller
 
Catalogue ONG NUOC PPR DE NHAT .pdf
Catalogue ONG NUOC PPR DE NHAT      .pdfCatalogue ONG NUOC PPR DE NHAT      .pdf
Catalogue ONG NUOC PPR DE NHAT .pdfOrient Homes
 

Recently uploaded (20)

VIP Call Girls Pune Kirti 8617697112 Independent Escort Service Pune
VIP Call Girls Pune Kirti 8617697112 Independent Escort Service PuneVIP Call Girls Pune Kirti 8617697112 Independent Escort Service Pune
VIP Call Girls Pune Kirti 8617697112 Independent Escort Service Pune
 
Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❤️8860477959 Escorts...
Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❤️8860477959 Escorts...Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❤️8860477959 Escorts...
Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❤️8860477959 Escorts...
 
0183760ssssssssssssssssssssssssssss00101011 (27).pdf
0183760ssssssssssssssssssssssssssss00101011 (27).pdf0183760ssssssssssssssssssssssssssss00101011 (27).pdf
0183760ssssssssssssssssssssssssssss00101011 (27).pdf
 
Regression analysis: Simple Linear Regression Multiple Linear Regression
Regression analysis:  Simple Linear Regression Multiple Linear RegressionRegression analysis:  Simple Linear Regression Multiple Linear Regression
Regression analysis: Simple Linear Regression Multiple Linear Regression
 
A DAY IN THE LIFE OF A SALESMAN / WOMAN
A DAY IN THE LIFE OF A  SALESMAN / WOMANA DAY IN THE LIFE OF A  SALESMAN / WOMAN
A DAY IN THE LIFE OF A SALESMAN / WOMAN
 
Call Girls In Connaught Place Delhi ❤️88604**77959_Russian 100% Genuine Escor...
Call Girls In Connaught Place Delhi ❤️88604**77959_Russian 100% Genuine Escor...Call Girls In Connaught Place Delhi ❤️88604**77959_Russian 100% Genuine Escor...
Call Girls In Connaught Place Delhi ❤️88604**77959_Russian 100% Genuine Escor...
 
BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
 
Intro to BCG's Carbon Emissions Benchmark_vF.pdf
Intro to BCG's Carbon Emissions Benchmark_vF.pdfIntro to BCG's Carbon Emissions Benchmark_vF.pdf
Intro to BCG's Carbon Emissions Benchmark_vF.pdf
 
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
 
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
 
VIP Kolkata Call Girl Howrah 👉 8250192130 Available With Room
VIP Kolkata Call Girl Howrah 👉 8250192130  Available With RoomVIP Kolkata Call Girl Howrah 👉 8250192130  Available With Room
VIP Kolkata Call Girl Howrah 👉 8250192130 Available With Room
 
Vip Female Escorts Noida 9711199171 Greater Noida Escorts Service
Vip Female Escorts Noida 9711199171 Greater Noida Escorts ServiceVip Female Escorts Noida 9711199171 Greater Noida Escorts Service
Vip Female Escorts Noida 9711199171 Greater Noida Escorts Service
 
Non Text Magic Studio Magic Design for Presentations L&P.pptx
Non Text Magic Studio Magic Design for Presentations L&P.pptxNon Text Magic Studio Magic Design for Presentations L&P.pptx
Non Text Magic Studio Magic Design for Presentations L&P.pptx
 
2024 Numerator Consumer Study of Cannabis Usage
2024 Numerator Consumer Study of Cannabis Usage2024 Numerator Consumer Study of Cannabis Usage
2024 Numerator Consumer Study of Cannabis Usage
 
BEST Call Girls In Old Faridabad ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In Old Faridabad ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,BEST Call Girls In Old Faridabad ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In Old Faridabad ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
 
VIP Call Girl Jamshedpur Aashi 8250192130 Independent Escort Service Jamshedpur
VIP Call Girl Jamshedpur Aashi 8250192130 Independent Escort Service JamshedpurVIP Call Girl Jamshedpur Aashi 8250192130 Independent Escort Service Jamshedpur
VIP Call Girl Jamshedpur Aashi 8250192130 Independent Escort Service Jamshedpur
 
Monte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSMMonte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSM
 
The CMO Survey - Highlights and Insights Report - Spring 2024
The CMO Survey - Highlights and Insights Report - Spring 2024The CMO Survey - Highlights and Insights Report - Spring 2024
The CMO Survey - Highlights and Insights Report - Spring 2024
 
Progress Report - Oracle Database Analyst Summit
Progress  Report - Oracle Database Analyst SummitProgress  Report - Oracle Database Analyst Summit
Progress Report - Oracle Database Analyst Summit
 
Catalogue ONG NUOC PPR DE NHAT .pdf
Catalogue ONG NUOC PPR DE NHAT      .pdfCatalogue ONG NUOC PPR DE NHAT      .pdf
Catalogue ONG NUOC PPR DE NHAT .pdf
 

Computer Vision - Image Formation.pdf

  • 1. Computer Vision DR. MOMINA MOETESUM P R O F I L E : L I N K E D I N P R O F I L E E M A I L : r e a c h . m o m i n a @ g m a i l . c o m
  • 2. Week 2: Image Formation • Geometric Primitives and Transformations • Photometric Image Formation • Digital Cameras and Image Representations Computer Vision Week 2: Image Formation 2
  • 3. What we see What a computer sees 3 Computer Vision Week 2: Image Formation
  • 4. Computer Vision is Making sense of these numbers 4 Computer Vision Week 2: Image Formation 255 255 255 255 239 238 247 252 255 232 248 255 255 240 255 255         
  • 5. 3D to 2D Conversion implies information loss graphics vision Computer Graphics vs. Computer Vision 5 Computer Vision Week 2: Image Formation
  • 6. Geometric Primitives and Transformations • Basic building blocks used to describe the projection of 3D features into 2D features. • Points • Lines • Planes • Projections 6 Computer Vision Week 2: Image Formation
  • 7. Points • 2D points (pixel coordinates in an image) can be denoted using a pair of values, x = (x, y) ∈ R2 , or alternatively, a column vector x ∈ R2x1 : • 3D points (coordinates in three dimensions) can be written using x = (x, y, z) ∈ R3 7 Computer Vision Week 2: Image Formation
  • 8. Lines • The general equation of a straight 2D line is given below, where m is the gradient, and Y is the value where the line cuts the y- axis. L = mx + Y • 3D Lines can be represented by using two points on the line, (P, X). Any other point on the line can be expressed as a linear combination of these two points. L : (x – x1)/l = (y – y1)/m = (z – z1)/n 8 Computer Vision Week 2: Image Formation
  • 9. 3D Lines - Proof Consider a line which passes through the point P(x1, y1, z1), and has direction vector d⃗=(l, m, n) , where l , m, and n are non-zero real numbers. Let X=(x, y, z) be a random point on the line. Then the vector PX ⃗, which is the red arrow in the figure, will be parallel to d⃗. Hence, we have: 9 Computer Vision Week 2: Image Formation
  • 10. 3D Lines - Example Example 1: If a straight line is passing through the two fixed points in the 3-dimensional plane whose position coordinates are P (2, 3, 5) and Q (4, 6, 12) then find its cartesian equation using the two-point form. Solution: l = (4 – 2), m = (6 – 3), n = (12 – 5) l = 2, m = 3, n = 7 Choosing the point P (2, 3, 5) The required equation of the line L : (x – 2) / 2 = (y – 3) / 3 = (z – 5) / 7 1 0 Computer Vision Week 2: Image Formation
  • 11. 3D Lines - Example Example 1: If a straight line is passing through the two fixed points in the 3-dimensional whose position coordinates are X (2, 3, 4) and Y (5, 3, 10) then find its cartesian equation using the two- point form. Solution: l = (5 – 2), m = (3 – 3), n = (10 – 4) l = 3, m = 0, n = 6 Choosing the point X (2, 3, 4) The required equation of the line L : (x – 2) / 3 = (y – 3) / 0 = (z – 4) / 6 L : (x - 2) / 3 = (z – 4) / 6 and y = 3 1 1 Computer Vision Week 2: Image Formation
  • 12. Image Formation in the Human Eye 1 2 Computer Vision Week 2: Image Formation • When the eye is properly focused, light from an object outside the eye is imaged on the retina • Retina consists of two types of light receptors: rods and cones • Rods Cover all of retina 75-150 Million Several rods connected to one optical nerve (low-resolution) Sensitive to small light intensities (dim-light vision) Equal response to all colours
  • 13. Image Formation in the Human Eye 1 3 Computer Vision Week 2: Image Formation • When the eye is properly focused, light from an object outside the eye is imaged on the retina • Retina consists of two types of light receptors: rods and cones • Cones Concentrated at fovea 6-7 Million One cone connected to one optical nerve (high-resolution) Sensitive to bright light (bright-light vision) Sensitive to colours
  • 14. Image Formation in Human Eye 1 4 Computer Vision Week 2: Image Formation
  • 15. The Electromagnatic Spectrum 1 5 Computer Vision Week 2: Image Formation
  • 16. Trichromatic Vision 1 6 Computer Vision Week 2: Image Formation • Cone cells are of three types, each containing a photosensitive pigment that responds to a particular wavelength of light • S-cones are sensitive to “short” wavelengths, corresponding to the blue colour • M-cones are sensitive to “medium” wavelengths, corresponding to the green colour • L-cones are sensitive to “long” wavelengths, corresponding to the red colour
  • 17. Capturing Images • Pinhole Cameras • Lenses • Digital Cameras The first photograph on record, “la table servie”, obtained by Nicephore Niepce in 1822 1 7 Computer Vision Week 2: Image Formation
  • 18. Pinhole Camera 1 8 Computer Vision Week 2: Image Formation
  • 19. Pinhole Perspective 1 9 Computer Vision Week 2: Image Formation
  • 20. Pinhole Perspective 2 0 Computer Vision Week 2: Image Formation
  • 21. Introducing Lens • Smaller the pinhole sharper the images but also darker • Larger the pinhole brighter the image but also more blurry • Most cameras use a converging lens to allow light to enter the device. • Zoom lenses found in cameras utilize a combination of convex and concave lenses to produce different types of images. 2 1 Computer Vision Week 2: Image Formation
  • 22. Optical Geometry • Snell’s law, if r1 is the ray incident to the interface between two transparent materials with indices of refraction n1 and n2, and r2 is the refracted ray, then r1, r2, and the normal to the interface are coplanar, and the angles α1 and α2 between the normal and the two rays are related by: n1 sin α1 = n2 sin α2 2 2 Computer Vision Week 2: Image Formation
  • 23. Reflection 2 3 Computer Vision Week 2: Image Formation • Incident light is reflected in two main forms 1. Diffuse reflection: light scattered isotropically in all directions (shows true colour of the object) 2. Specular reflection: Incident light reflected in a specific direction (mirror-like effect) • Most materials exhibit a mixture of diffuse and specular reflections
  • 24. Thin Lens Phenomena The thin lens equation defines the relationship between the focal length of a lens, the distance of an object from that lens, and the distance of the image formed by the lens. 2 4 Computer Vision Week 2: Image Formation
  • 25. Focal Length of a Lens 2 5 Computer Vision Week 2: Image Formation
  • 26. Focal Length Focal length, usually represented in millimeters (mm). It is a calculation of an optical distance from the point where light rays converge to form a sharp image of an object to the digital sensor at the focal plane in the camera. The focal length of a lens is determined when the lens is focused at infinity. Lens focal length tells us the angle of view—how much of the scene will be captured—and the magnification—how large individual elements will be. The longer the focal length, the narrower the angle of view and the higher the magnification. The shorter the focal length, the wider the angle of view and the lower the magnification. 2 6 Computer Vision Week 2: Image Formation
  • 27. Digital Cameras • Image sensing pipeline, • Various sources of noise • Typical digital post- processing steps 2 7 Computer Vision Week 2: Image Formation
  • 28. Capturing Digital Images • Light falling on an imaging sensor is usually picked up by an active sensing area • Charge-Coupled Device (CCD) • Complementary Metal Oxide on Silicon (CMOS) • CCDs are prone to “Blooming” • CCD sensors outperformed CMOS in quality-sensitive applications 2 8 Computer Vision Week 2: Image Formation
  • 29. Digital Cameras – Image Sensing 2 9 Computer Vision Week 2: Image Formation
  • 30. Digital Camera – Image Formation 3 0 Computer Vision Week 2: Image Formation
  • 31. Image Formation 3 1 Computer Vision Week 2: Image Formation 𝑓 𝑥, 𝑦 = 𝑖 𝑥, 𝑦 𝑟 𝑥, 𝑦 𝑓 𝑥, 𝑦 is the image 0 < 𝑖 𝑥, 𝑦 < ∞ 0 < 𝑟 𝑥, 𝑦 < 1 is the illumination (specular reflection) 𝑖(𝑥, 𝑦) is the reflection (diffuse reflection) 𝑟(𝑥, 𝑦)
  • 32. Sampling and Quantization 3 2 Computer Vision Week 2: Image Formation
  • 33. Continuous Image Projected onto a Sensor Array 3 3 Computer Vision Week 2: Image Formation
  • 34. Representing Image as a Matrix 3 4 Computer Vision Week 2: Image Formation
  • 35. Image formation is an analog to digital conversion of an image with the help of 2D Sampling and Quantization techniques that is done by the capturing devices like cameras. Computer Vision Week 2: Image Formation 3 5
  • 36. Sampling • Sampling is a spatial resolution of the digital image. • The rate of sampling determines the quality of the digitized image. 3 6 Computer Vision Week 2: Image Formation
  • 37. Spatial Resolution • The spatial resolution of an image is determined by how sampling was carried out. • There are 3 measures which we see often relating to Image Size/Resolution a. Pixel count - e.g., 3000x2000 pixels b. Physical size - e.g., 8" x 10" c. Resolution - e.g., 240 pixels per inch (PPI) 3 7 Computer Vision Week 2: Image Formation
  • 38. Quantization • The transition of the continuous values from the image function to its digital equivalent is called quantization. • Quantization is the number of grey levels in the digital image. • It is related to the intensity values of the image. • 8-bit quantization: 28 =256 gray levels (0: black, 255: white) • 1-bit quantization: 2 gray levels (0: black, 1: white) – binary 3 8 Computer Vision Week 2: Image Formation
  • 39. Intensity 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 in an image • Intensity level resolution is usually given in terms of the number of bits used to store each intensity level 3 9 Computer Vision Week 2: Image Formation
  • 40. Resolution: How Much is Enough? 4 0 Computer Vision Week 2: Image Formation
  • 41. Digital Image is an approximation of a real world scene 4 1 Computer Vision Week 2: Image Formation
  • 42. Image as a Function • Consider image as a function f or I, from R2 to RM: f(x, y) gives intensity or value at position (x, y) • Digital image is defined over some bound: f : [a, b]x [c, d]y → [min, max] gives intensity or value at position (x, y) where: x ranges from a to b, and y ranges from c to d and intensity from min to max. 4 2 Computer Vision Week 2: Image Formation
  • 43. Image Representations Image is a collection of light intensities at different locations. 4 3 Computer Vision Week 2: Image Formation
  • 44. Image Representations Pixel – Building Block of Digital Image 4 4 Computer Vision Week 2: Image Formation
  • 45. Image Representation 4 5 Computer Vision Week 2: Image Formation
  • 46. Image Representations 4 6 Computer Vision Week 2: Image Formation
  • 47. Image Representations 4 7 Computer Vision Week 2: Image Formation
  • 48. Image Representations 4 8 Computer Vision Week 2: Image Formation
  • 49. RGB Images 4 9 Computer Vision Week 2: Image Formation
  • 50. RGB Images vs Grey Scale Images 5 0 Computer Vision Week 2: Image Formation
  • 51. Binary vs. Grey-Scale vs. RGB Images 5 1 Computer Vision Week 2: Image Formation
  • 52. Factors Affecting Performance of Digital Cameras • Shutter Speed – Under exposed vs Over-Exposed 5 2 Computer Vision Week 2: Image Formation
  • 53. Factors Affecting Performance of Digital Cameras • Sampling Pitch - Physical spacing between adjacent sensor cells 5 3 Computer Vision Week 2: Image Formation
  • 54. Factors Affecting Performance of Digital Cameras • Fill Factor - active sensing area size as a fraction of the theoretically available sensing area 5 4 Computer Vision Week 2: Image Formation
  • 55. Factors Affecting Performance of Digital Cameras • Chip Size- having a larger chip size is preferable, since each sensor cell can be more photo- sensitive • Analog Gain - a higher gain allows the camera to perform better under low light conditions (less motion blur due to long exposure times when the aperture is already maxed out). • Sensor Noise - noise is added from various sources, which may include fixed pattern noise, dark current noise, shot noise, amplifier noise, and quantization noise • ADC Resolution - how many bits it yields and its noise level (how many of these bits are useful in practice) 5 5 Computer Vision Week 2: Image Formation