Finding depth 1 Overview Depth from stereo Depth




































- Slides: 36
Finding depth 1
Overview • • Depth from stereo Depth from structured light Depth from focus / defocus Laser rangefinders 2
Overview • • Depth from stereo Depth from structured light Depth from focus / defocus Laser rangefinders 3
Depth from stereo • two cameras with known parameters • infer 3 D location of point seen in both images • sub problem: correspondences • for a point seen in the left image, find its projection in the right image P 1 P 2 4
Depth from stereo: déjà-vu math • unknowns are w 1 and w 2 • overconstrained system P 1 P 2 • the u 2 v 2 coordinates of a point seen at u 1 v 1 are constrained to an epipolar line 5
Epipolar line • C 1, C 2, P 1 define a plane • P 2 will be on that plane • P 2 is also on the image plane 2 • So P 2 will be on the line defined by the two planes’ intersection P 2 P 1 6
Search for correspondences on epipolar line • Reduces the dimensionality of the search space • Walk on epipolar segment rather than search in entire image P 2 P 1 7
Parallel views • Preferred stereo configuration • epipolar lines are horizontal, easy to search 8
Parallel views • Limit search to epipolar segment • from u 2 = u 1 (P is infinitely far away) to 0 (P is close) 9
Depth precision analysis • 1/z linear with disparity (u 1 – u 2) • better depth resolution for nearby objects • important to determine correspondences with subpixel accuracy 10
Overview • • Depth from stereo Depth from structured light Depth from focus / defocus Laser rangefinders 11
Overview • • Depth from stereo Depth from structured light Depth from focus / defocus Laser rangefinders 12
Depth from stereo problem • Correspondences are difficult to find • Structured light approach – replace one camera with projector – project easily detectable patterns – establishing correspondences becomes a lot easier 13
Depth from structured light • C 1 is a projector • Projects a pattern centered at u 1 v 1 • Pattern center hits object scene at P P 1 P 2 • Camera C 2 sees pattern at u 2 v 2, easy to find • 3 D location of P is 14 determined
15
16
Depth from structured light challenges • Associated with using projectors – expensive, cannot be used outdoors, not portable • Difficult to identify pattern – I found a corner, which corner is it? • Invasive, change the color of the scene – one could use invisible light, IR 17
Overview • • Depth from stereo Depth from structured light Depth from focus / defocus Laser rangefinders 18
Overview • • Depth from stereo Depth from structured light Depth from focus / defocus Laser rangefinders 19
Depth of field • Thin lenses • rays through lens center (C) do not change direction aperture • rays parallel to optical axis go through focal point (F’) object F’ C F image 20
Depth of field • For a given focal length, only objects that are at a certain depth are in focus image plane aperture object F’ C F 21
Out of focus • When object at different depth • One point projects to several locations in the image • Out of focus, blurred image plane aperture object F’ C F 22
Focusing • Move lens to focus for new depth • Relationship between focus and depth can be exploited to extract depth image plane aperture object F’ C F 23
Determine z for points in focus image plane a aperture object f h F’ hi C F z 24
Depth from defocus • Take images of a scene with various camera parameters • Measuring defocus variation, infer range to objects • Does not need to find the best focusing planes for the various objects • Examples by Shree Nayar, Columbia U 25
Overview • • Depth from stereo Depth from structured light Depth from focus / defocus Laser rangefinders 26
Overview • • Depth from stereo Depth from structured light Depth from focus / defocus Laser rangefinders 27
Laser range finders • Send a laser beam to measure the distance – like RADAR, measures time of flight 28
Delta. Sphere - depth&color acquisition device • Lars Nyland et al. courtesy 3 rd Tech Inc. 29
• • 300 o x 300 o panorama this is the reflected light 30
• • 300 o x 300 o panorama this is the range light 31
spherical range panoramas courtesy 3 rd Tech Inc. planar re-projection 32
Jeep – one scan courtesy 3 rd Tech Inc. 33
Jeep – one scan courtesy 3 rd Tech Inc. 34
Complete Jeep model courtesy 3 rd Tech Inc. 35
36