depth from x defocus blur and binocular disparity
play

depth from X: defocus blur and binocular disparity Tues. Feb. 13, - PowerPoint PPT Presentation

COMP 546 Lecture 10 depth from X: defocus blur and binocular disparity Tues. Feb. 13, 2018 1 Depth from defocus blur 2 The eye controls , so it knows . 1 1 1 1


  1. COMP 546 Lecture 10 depth from X: defocus blur and binocular disparity Tues. Feb. 13, 2018 1

  2. Depth from defocus blur 2

  3. The eye controls 𝑔 π‘šπ‘“π‘œπ‘‘ , so it β€œknows” π‘Ž π‘”π‘π‘‘π‘π‘šπ‘žπ‘šπ‘π‘œπ‘“ . 1 1 1 1 π‘‘π‘π‘ π‘œπ‘“π‘ + 𝑔 π‘šπ‘“π‘œπ‘‘ = π‘Ž π‘”π‘π‘‘π‘π‘šπ‘žπ‘šπ‘π‘œπ‘“ + π‘Ž π‘‘π‘“π‘œπ‘‘π‘π‘  𝑔 π‘Ž π‘”π‘π‘‘π‘π‘šπ‘žπ‘šπ‘π‘œπ‘“ 3

  4. Recall: Depth and Defocus Blur π‘Ž 0 π‘Ž π‘”π‘π‘‘π‘π‘šπ‘žπ‘šπ‘π‘œπ‘“ 1 βˆ’ 1 blur width = aperture π‘Ž π‘”π‘π‘‘π‘π‘šπ‘žπ‘šπ‘π‘œπ‘“ π‘Ž 0 (See Exercise 2 Q 6 & Assignment 1) 4

  5. Estimating Depth from Defocus Blur π‘Ž 0 π‘Ž π‘”π‘π‘‘π‘π‘šπ‘žπ‘šπ‘π‘œπ‘“ 1 βˆ’ 1 blur width = aperture π‘Ž π‘”π‘π‘‘π‘π‘šπ‘žπ‘šπ‘π‘œπ‘“ π‘Ž 0 5 2.) measured 1.) known 3.) estimated (details omitted) (controlled by vision system)

  6. Estimating Depth from Defocus Blur π‘Ž 0 ? π‘Ž 0 ? π‘Ž π‘”π‘π‘‘π‘π‘šπ‘žπ‘šπ‘π‘œπ‘“ 1 βˆ’ 1 blur width = aperture π‘Ž π‘”π‘π‘‘π‘π‘šπ‘žπ‘šπ‘π‘œπ‘“ π‘Ž 0 There is a two-fold depth ambiguity.

  7. Estimating Depth from Defocus Blur Varying accommodation resolves the two-fold ambiguity. 7

  8. Blur on a slanted plane blur focal plane gradient intersection 8

  9. Blur on a slanted plane π‘Ž = 𝑛 𝑍 + π‘Ž 0 slanted plane focal plane sensor plane 9

  10. Blur on a slanted plane π‘Ž = 𝑛 𝑍 + π‘Ž 0 slanted plane image of slanted plane focal plane sensor plane See lecture notes: blur width radians = 𝐡 𝑛 𝑧 π‘Ž 0 𝑔 10

  11. ASIDE: tricks with a tilt-shift lens in photography Tilt-shift lens can increase (or decrease) blur gradient slanted plane image of slanted plane focal plane sensor plane 11

  12. Tilt-shift Illusion (Miniaturization) 12

  13. Tilt-shift Illusion (Miniaturization) 13

  14. We next examine how defocus blur is related to binocular disparity. 14

  15. Recall: Binocular disparity and depth π‘Œ 𝑠 π‘Ž (𝑦 𝑠 , 𝑔) ( π‘Œ 0 , π‘Ž 0 ) π‘Œ π‘š π‘ˆ 𝑦 (𝑦 π‘š , 𝑔 ) π‘Ž 𝑦 π‘š 𝑔 βˆ’ 𝑦 𝑠 π‘ˆ 𝑦 disparity ≑ 𝑔 = π‘Ž 0 15

  16. Recall: Binocular vergence πœ„ 𝑠 < 0 ( π‘Œ 𝑀 , π‘Ž 𝑀 ) π‘ˆ 𝑦 Vergence point πœ„ π‘š > 0 16

  17. Vergence angle πœ„ 𝑀 determines depth πœ„ 𝑠 < 0 ( π‘Œ 𝑀 , π‘Ž 𝑀 ) πœ„ π‘š - πœ„ 𝑠 Vergence point πœ„ π‘š > 0 𝑦 π‘š 𝑔 βˆ’ 𝑦 𝑠 = π‘ˆ 𝑦 πœ„ 𝑀 ≑ πœ„ π‘š - πœ„ 𝑠 β‰ˆ 𝑔 π‘Ž 𝑀 17

  18. Binocular disparity of vergence point is 0 (obvious). πœ„ 𝑠 < 0 ( π‘Œ 𝑀 , π‘Ž 𝑀 ) π‘ˆ 𝑦 Vergence point πœ„ π‘š > 0 ( 𝑦 π‘š 𝑔 βˆ’ πœ„ π‘š ) βˆ’ ( 𝑦 𝑠 𝑔 βˆ’ πœ„ 𝑠 ) = 0 βˆ’ 0 = 0 18

  19. Binocular disparity depends on distance (diopters) from vergence depth. Near (crossed) Disparity ( π‘Œ 𝑑 , π‘Ž 𝑑 ) ( π‘Œ 𝑀 , π‘Ž 𝑀 ) 𝑦 ( 1 1 π‘’π‘—π‘‘π‘žπ‘π‘ π‘—π‘’π‘§ = π‘ˆ π‘Ž 𝑑 βˆ’ π‘Ž 𝑀 ) > 0 19

  20. Binocular disparity depends on distance (diopters) from vergence depth. Far (uncrossed) disparity ( π‘Œ 𝑣 , π‘Ž 𝑣 ) ( π‘Œ 𝑀 , π‘Ž 𝑀 ) 𝑦 ( 1 1 π‘’π‘—π‘‘π‘žπ‘π‘ π‘—π‘’π‘§ = π‘ˆ π‘Ž 𝑣 βˆ’ π‘Ž 𝑀 ) < 0 20

  21. Binocular Fusion (β€œCyclopean Vision”) If disparity is sufficiently small, then we fuse the left and right eye images. Otherwise, we perceive two images ( β€œdiplopia”). 21

  22. Panum’s fusional area ( π‘Œ 𝑀 , π‘Ž 𝑀 ) ( π‘Œ 𝑝 , π‘Ž 𝑝 ) 1 βˆ’ 1 disparity β‰ˆ π‘ˆ < 𝑒 𝑛𝑏𝑦 𝑦 π‘Ž 𝑝 π‘Ž 𝑀 22

  23. Panum’s fusional area in disparity space 𝑒 < 0 𝑒 = 0 𝑦 π‘ π‘—π‘•β„Žπ‘’ 𝑒 > 0 𝑦 π‘šπ‘“π‘”π‘’ 23

  24. Binocular disparity and blur 1 1 IOD βˆ’ disparity = object dist vergence dist interocular distance or π‘ˆ π‘Œ 1 1 βˆ’ blur width = aperture object dist focal dist 24

  25. Binocular disparity and blur 1 1 IOD βˆ’ disparity = object dist vergence dist 1 1 βˆ’ blur width = aperture object dist focal dist If vergence distance = focal distance then | disparity | IOD = aperture β‰ˆ 10 blur 25

  26. Vergence and accommodation systems are coupled. We verge at the same depth as we focus (even if one eye is closed) and vice-versa. 26

  27. Monocular Binocular β‰ˆ focal plane vergence plane

  28. Limitations on 3D cinema vergence plane 28

  29. 3D stereo displays can create accommodation-vergence conflict [Hoffman et al 2008] 29

  30. How to study binocular stereo vision ? Neuroscience β€’ Show cats or monkeys different images to the left and right eyes and measure brain activity. Computational modelling β€’ Write a computer program that finds matching points in left and right images, in a biologically plausible way Psychology β€’ Show people different images to the left and right eyes and measure how well the people judge depth. 30

  31. Random Dot Stereogram Bela Julesz , β€œBinocular depth perception without familiarity cues ” Science 1964. 31

  32. 32

  33. 33

  34. How to make a random dot stereogram? image for image for left eye right eye 1.) shift patch left 2.) Fill empty patch 34

  35. image for image for left eye right eye background background foreground square right eye only left eye only 35

  36. image for image for perceived depths left eye right eye background background foreground square right eye only left eye only 36

  37. neither eye left eye only right eye only 37

  38. Disparity Space 𝑦 π‘ π‘—π‘•β„Žπ‘’ 𝑒 = 0 𝑒 < 0 𝑦 π‘šπ‘“π‘”π‘’ 𝑒 > 0 38

  39. Disparity Space 𝑦 π‘ π‘—π‘•β„Žπ‘’ 𝑦 π‘šπ‘“π‘”π‘’ Q: where are the eyes verging? 39

Recommend


More recommend