3d photography active ranging structured light i cp
play

3D Photography: Active Ranging, Structured Light, I CP Kalin - PowerPoint PPT Presentation

3D Photography: Active Ranging, Structured Light, I CP Kalin Kolev, Marc Pollefeys Spring 2013 http://cvg.ethz.ch/teaching/2013spring/3dphoto/ Schedule (tentative) Feb 18 Introduction Feb 25 Lecture: Geometry, Camera Model, Calibration


  1. 3D Photography: Active Ranging, Structured Light, I CP Kalin Kolev, Marc Pollefeys Spring 2013 http://cvg.ethz.ch/teaching/2013spring/3dphoto/

  2. Schedule (tentative) Feb 18 Introduction Feb 25 Lecture: Geometry, Camera Model, Calibration Mar 4 Lecture: Features, Tracking/Matching Project Proposals by Students Mar 11 Mar 18 Lecture: Epipolar Geometry Mar 25 Lecture: Stereo Vision Apr 1 Easter Apr 8 Short lecture “Stereo Vision (2)” + 2 papers Project Updates Apr 15 Short lecture “Active Ranging, Structured Light” + 2 papers Apr 22 Apr 29 Short lecture “Volumetric Modeling” + 2 papers May 6 Short lecture “Mesh-based Modeling” + 2 papers May 13 Short lecture “SfM, SLAM” + 2 papers May 20 Pentecost / White Monday May 27 Final Demos

  3. Structured light and active ranging techniques

  4. Today’s class Obtaining “depth maps” / “range images” • unstructured light • structured light • time-of-flight Registering range images (some slides from Szymon Rusinkiewicz, Brian Curless)

  5. Taxonomy 3D modeling passive active photometric … stereo stereo laser structured/ scanning unstructured shape from light silhouettes

  6. Unstructured light project texture to disambiguate stereo

  7. Space-time stereo Davis, Ramamoothi, Rusinkiewicz, CVPR’03

  8. Space-time stereo Davis, Ramamoothi, Rusinkiewicz, CVPR’03

  9. Space-time stereo Zhang, Curless and Seitz, CVPR’03

  10. Space-time stereo Zhang, Curless and Seitz, CVPR’03 • results

  11. Light Transport Constancy Davis, Yang, Wang, ICCV05

  12. Triangulation Light / Laser Camera “Peak” position in image reveals depth

  13. Triangulation: Moving the Camera and Illumination • Moving independently leads to problems with focus, resolution • Most scanners mount camera and light source rigidly, move them as a unit, allows also for (partial) pre-calibration

  14. Triangulation: Moving the Camera and Illumination

  15. Triangulation: Extending to 3D • Alternatives: project dot(s) or stripe(s) Object Laser Camera

  16. Triangulation Scanner Issues • Accuracy proportional to working volume (typical is ~ 1000:1) • Scales down to small working volume (e.g. 5 cm. working volume, 50 µ m. accuracy) • Does not scale up (baseline too large…) • Two-line-of-sight problem (shadowing from either camera or laser) • Triangulation angle: non-uniform resolution if too small, shadowing if too big (useful range: 15 ° -30 ° )

  17. Triangulation Scanner Issues • Material properties (dark, specular) • Subsurface scattering • Laser speckle • Edge curl • Texture embossing Where is the exact (subpixel) spot position ?

  18. Space-time analysis Curless ‘95

  19. Space-time analysis Curless ‘95

  20. Projector as camera

  21. Multi-Stripe Triangulation • To go faster, project multiple stripes • But which stripe is which? • Answer # 1: assume surface continuity e.g. Eyetronics’ ShapeCam

  22. Kinect • Infrared „projector“ • Infrared camera • Works indoors (no IR distraction) • „invisible“ for human Depth Map: Color Image IR Image note stereo shadows! (unused for depth)

  23. Kinect • Projector Pattern „strong texture“ • Correlation-based stereo between IR image and projected pattern possible Homogeneous region, stereo shadow Bad SNR / too close ambiguous without pattern

  24. Multi-Stripe Triangulation • To go faster, project multiple stripes • But which stripe is which? • Answer # 2: colored stripes (or dots)

  25. Multi-Stripe Triangulation • To go faster, project multiple stripes • But which stripe is which? • Answer # 3: time-coded stripes

  26. Time-Coded Light Patterns • Assign each stripe a unique illumination code over time [Posdamer 82] Time Space

  27. Better codes… • Gray code Neighbors only differ one bit = > “Structured light” presented afterwards

  28. Poor man’s scanner Bouguet and Perona, ICCV’98

  29. Pulsed Time of Flight • Basic idea: send out pulse of light (usually laser), time how long it takes to return 1 = 2 ∆ d c t

  30. Pulsed Time of Flight • Advantages: • Large working volume (up to 100 m.) • Disadvantages: • Not-so-great accuracy (at best ~ 5 mm.) • Requires getting timing to ~ 30 picoseconds • Does not scale with working volume • Often used for scanning buildings, rooms, archeological sites, etc.

  31. Depth cameras 2D array of time-of-flight sensors e.g. Canesta’s CMOS 3D sensor jitter too big on single measurement, but averages out on many (10,000 measurements ⇒ 100x improvement)

  32. 3D modeling • Aligning range images • Pairwise • Globally (some slides from S. Rusinkiewicz, J. Ponce,…)

  33. Aligning 3D Data • If correct correspondences are known (from feature matches, colors, …), it is possible to find correct relative rotation/translation

  34. Aligning 3D Data ’ X 1 ’ X 2 X 1 X 2 For T as general 4x4 matrix: T Linear solution from ≥5 corrs. e.g. Kinect motion T is Euclidean Transform: X i ’ = T X i 3 corrs. (using quaternions) [Horn87] “Closed-form solution of absolute orientation using unit quaternions”

  35. Aligning 3D Data • How to find corresponding points? • Previous systems based on user input, feature matching, surface signatures, etc.

  36. Spin Images • [Johnson and Hebert ’97] • “Signature” that captures local shape • Similar shapes → similar spin images

  37. Computing Spin Images • Start with a point on a 3D model • Find (averaged) surface normal at that point • Define coordinate system centered at this point, oriented according to surface normal and two (arbitrary) tangents • Express other points (within some distance) in terms of the new coordinates

  38. Computing Spin Images • Compute histogram of locations of other points, in new coordinate system, ignoring rotation around normal: α = p × ˆ “radial dist.” n β = p ⋅ ˆ “elevation” n

  39. Computing Spin Images “elevation” “radial dist.”

  40. Spin Image Parameters • Size of neighborhood • Determines whether local or global shape is captured • Big neighborhood: more discriminative power • Small neighborhood: resilience to clutter • Size of bins in histogram: • Big bins: less sensitive to noise • Small bins: captures more detail

  41. Alignment with Spin Image • Compute spin image for each point / subset of points in both sets • Find similar spin images = > potential correspondences • Compute alignment from correspondences ⇒ Same problems as with image matching: - Robustness of descriptor vs. discriminative power - Mismatches = > robust estimation required

  42. Solving 3D puzzles with VIPs SI FT features VI P features • Extracted from 2D images • Extracted from 3D model • Variation due to viewpoint • Viewpoint invariant (Wu et al., CVPR08) 43

  43. Aligning 3D Data Alternative: assume closest points correspond to each other, compute the best transform…

  44. Aligning 3D Data … and iterate to find alignment Iterated Closest Points (ICP) [Besl & McKay 92] Converges if starting position “close enough“

  45. ICP Variant – Point-to-Plane Error Metric • Using point-to-plane distance instead of point-to- point lets flat regions slide along each other more easily [Chen & Medioni 92]

  46. Finding Corresponding Points • Finding closest point is most expensive stage of ICP • Brute force search – O(n) • Spatial data structure (e.g., k-d tree) – O(log n) • Voxel grid – O(1), but large constant, slow preprocessing

  47. Finding Corresponding Points • For range images, simply project point [Blais/Levine 95] • Constant-time, fast • Does not require precomputing a spatial data structure

  48. Efficient ICP • “Efficient Variants of the ICP algorithm” [Rusinkiewicz & Levoy, 3DIM 2001] = > Presented afterwards

  49. Presentations [Scharstein/Szeliski ‘03]: “High Accuracy Stereo Depth Maps using Structured Light” [Rusinkiewicz/Levoy ‘01]: “Efficient Variants of the ICP Algorithm”

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend