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