SLIDE 1 1
COMP 546
Lecture 1
Image Formation: Geometry
SLIDE 2 Origins of spatial vision (500 million years ago?)
βbrainβ
photoreceptor array (eye)
legs
SLIDE 3
Origins of spatial vision
SLIDE 4
Origins of spatial vision
SLIDE 5 Origins of spatial vision
predator
Predator arrives, but no change in light level received by this cell.
SLIDE 6 predator
Origins of spatial vision
Some change in light level received by this cell.
SLIDE 7
predator
Origins of spatial vision
If right cell measures decrease in light, then move right.
SLIDE 8
Evolution of eyes
As pit becomes more concave, angular resolution improves (but amount of light decreases)
eye
SLIDE 9 large aperture small aperture
good angular resolution poor angular resolution
SLIDE 10
Radians
q
π π ππππππ‘ = ππ ππππππ’β ππ πππ πππ π ππππ£π‘ ππ πππ πππ
SLIDE 11 Radians vs. degrees
q
π π ππππππ‘ β
180 ππππ πππ‘ π π ππππππ‘
= π *
180 π
ππππ πππ‘ 1 π πππππ β 57 πππ
SLIDE 12 Small angle approximation
12
π 2
π β 2 π’ππ π
2
π 2
SLIDE 13 eye camera
13
Aperture angle from a few slides agoβ¦.
SLIDE 14 camera
βF numberβ (photography)
aperture A βfocal lengthβ f
πΊ ππ£ππππ β‘ π π΅ β 1
q
q
14
SLIDE 15 ASIDE: camera
5 mm aperture A βfocal lengthβ f 50 mm
πΊ ππ£ππππ β‘ π π΅ = 50 5 = 10
15
SLIDE 16 eye (ignore lens)
5 mm aperture A length f 25 mm
πΊ ππ£ππππ β‘ π π΅ = 25 5 = 5
16
SLIDE 17 Visual Angle
π½ π½ β ππππππ’ βπππβπ’ πππ‘π’ππππ
17
SLIDE 18 Visual Angle
π½ π½ β πππππ π‘ππ¨π ππ ππππππ’ ππππππ’ππ ππ ππ§πππππ
18
SLIDE 19 Two different concepts
Aperture angle Visual angle
19
SLIDE 20 Visual Angle Example 1
π½ π½ β
ππππππ’ βπππβπ’ πππ‘π’ππππ
=
1 ππ
180 π
ππ
= 1 degree
1 ππ π
57 ππ (armβ²s length)
Finger nail
20
SLIDE 21 Visual Angle Example 2
π½
π½ β
ππππππ’ βπππβπ’ πππ‘π’ππππ
=
π 10 π
18 π =
π 180 π ππππππ‘ = 1 degree
31.4 ππ
18 π
21
SLIDE 22 Example 3: moon
22
Visual angle of moon is about
1 2 πππ.
SLIDE 23 Units of visual angle
23
1 radian =
180 π
deg 1 deg = 60 minutes (or βarcminβ) 1 minute = 60 seconds (or βarcsecβ)
SLIDE 24 pinhole camera mode
Image position
(X, Y, Z ) (x, y)
24
SLIDE 25 (X, Y, Z ) (x, y) (0, 0) image plane behind pinhole
π π π
Pinhole camera
25
SLIDE 26 (Y, Z ) image plane Z = - f y
View from side (YZ)
pinhole position (0, 0, 0 )
π π
π§ π = π π
26
π§
SLIDE 27 (X, Z ) image plane Z = - f x
View from above (XZ)
pinhole position (0, 0, 0 )
π¦ π = π π
π π
27
π¦
SLIDE 28 (X, Y, Z ) π¦, π§ (0, 0) image plane Z=-f behind pinhole
π π π
π¦ π , π§ π = π π , π π
Image position in radians*
28
*assuming small angle approximation
SLIDE 29
(X, Y, Z )
π π π
π¦, π§ (0, 0) image plane in front of pinhole (0, 0) π¦, π§
π¦ π , π§ π = π π , π π
Visual direction in radians*
SLIDE 30 Example (ground and horizon)
30
SLIDE 31 Image projection
(upside down and backwards)
31
SLIDE 32 32
π¦ π§ π¦ π§
Visual direction (image plane in front of pinhole) Image projection (image plane behind pinhole)
SLIDE 33 (X, Y, Z )
Depth Map
33
The mapping π π¦, π§ from image positions π¦, π§ to depth π values on a 3D surface is called a βdepth mapβ.
π π π
π¦, π§ (0, 0)
SLIDE 34 (- β , Z ) y
What is the depth map of a ground plane ?
π π
π = β β Ground plane
34
SLIDE 35 What is the depth map of a ground plane ?
π = β β
(- β , Z ) y
π π
Ground plane
35
π§ π = π π Thus, π = ββπ π§
SLIDE 36 36
π¦ π§
Visual direction (image plane in front of pinhole)
π = ββ π π§
SLIDE 37 right eye
Binocular Vision
37
(0, 0, f ) left eye (π
π¦, 0, f )
π π ππ ππ π π
Assume eyes are separated by π
π in the X direction.
π
π is the interocular distance.
π
π¦
SLIDE 38 38
What is the difference in or visual direction (or image position) of each 3D object in the left and right images? How does this difference depend on depth ?
SLIDE 39 (π0, π0)
π ππ π
(π¦π , π )
ππ
View from above (XZ)
39
π
π¦
(π¦π , π)
SLIDE 40 40
Binocular disparity β‘
π¦π π β π¦π π
is the difference in visual direction of a 3D point as seen by two eye.
SLIDE 41 41
π¦π π = π0 π0 π¦π π = π0 β π
π¦
π0
Thus, binocular disparity =
π
π¦
π0
Binocular disparity β‘
π¦π π β π¦π π
SLIDE 42 Superimposing left and right eye images
42
π¦ π§
cloud
Zero disparity
binocular disparity =
π
π¦
π0 = π
π¦
ββ π§ π
SLIDE 43 Vergence (rotating the eyes)
π ππ π ππ
43
Here we assume horizontal rotation
SLIDE 44 Vergence
44
π¦ π§
cloud cloud Positive disparity Negative disparity Zero disparity Positive disparity Example: verge on far person
π§ π¦
SLIDE 45 45
Binocular disparity β‘ (
π¦π π β ππ) β ( π¦π π βππ )
Let ππ and ππ be the rotations of the left and right eyes due to vergence. The rotations can be approximated by a shift in image position.
=
π¦π π β π¦π π
β (ππ β ππ )