Structured Lighting Guido Gerig CS 6320, 3D Computer Vision Spring 2012 (thanks: some slides S. Narasimhan CMU, Marc Pollefeys UNC)

Slides:



Advertisements
Similar presentations
QR Code Recognition Based On Image Processing
Advertisements

High-Resolution Three- Dimensional Sensing of Fast Deforming Objects Philip Fong Florian Buron Stanford University This work supported by:
Structured Light principles Figure from M. Levoy, Stanford Computer Graphics Lab.
www-video.eecs.berkeley.edu/research
(thanks: slides Prof. S. Narasimhan, CMU, Marc Pollefeys, UNC)
Structured Lighting Guido Gerig, Univ. of Utah
CS 376b Introduction to Computer Vision 04 / 21 / 2008 Instructor: Michael Eckmann.
Structured light and active ranging techniques Class 11.
Computer Vision Spring ,-685 Instructor: S. Narasimhan Wean 5403 T-R 3:00pm – 4:20pm Lecture #17.
Vision Sensing. Multi-View Stereo for Community Photo Collections Michael Goesele, et al, ICCV 2007 Venus de Milo.
Gratuitous Picture US Naval Artillery Rangefinder from World War I (1918)!!
Stereo Many slides adapted from Steve Seitz. Binocular stereo Given a calibrated binocular stereo pair, fuse it to produce a depth image Where does the.
Structured Light + Range Imaging Lecture #17 (Thanks to Content from Levoy, Rusinkiewicz, Bouguet, Perona, Hendrik Lensch)
Recap from Previous Lecture Tone Mapping – Preserve local contrast or detail at the expense of large scale contrast. – Changing the brightness within.
Stereo.
December 5, 2013Computer Vision Lecture 20: Hidden Markov Models/Depth 1 Stereo Vision Due to the limited resolution of images, increasing the baseline.
SIGGRAPH Course 30: Performance-Driven Facial Animation Section: Markerless Face Capture and Automatic Model Construction Part 2: Li Zhang, Columbia University.
1 MURI review meeting 09/21/2004 Dynamic Scene Modeling Video and Image Processing Lab University of California, Berkeley Christian Frueh Avideh Zakhor.
CS6670: Computer Vision Noah Snavely Lecture 17: Stereo
Structured Light Lecture 1 Matt Waibel COMP
Multiple View Geometry : Computational Photography Alexei Efros, CMU, Fall 2005 © Martin Quinn …with a lot of slides stolen from Steve Seitz and.
Structured light and active ranging techniques Class 8.
Stereoscopic Light Stripe Scanning: Interference Rejection, Error Minimization and Calibration By: Geoffrey Taylor Lindsay Kleeman Presented by: Ali Agha.
Multi-view stereo Many slides adapted from S. Seitz.
Introduction to Computer Vision 3D Vision Topic 9 Stereo Vision (I) CMPSCI 591A/691A CMPSCI 570/670.
3D from multiple views : Rendering and Image Processing Alexei Efros …with a lot of slides stolen from Steve Seitz and Jianbo Shi.
CSCE 641 Computer Graphics: Image-based Modeling Jinxiang Chai.
May 2004Stereo1 Introduction to Computer Vision CS / ECE 181B Tuesday, May 11, 2004  Multiple view geometry and stereo  Handout #6 available (check with.
3-D Computer Vision Using Structured Light Prepared by Burak Borhan.
Stereo Guest Lecture by Li Zhang
Project 1 artifact winners Project 2 questions Project 2 extra signup slots –Can take a second slot if you’d like Announcements.
Stockman MSU/CSE Math models 3D to 2D Affine transformations in 3D; Projections 3D to 2D; Derivation of camera matrix form.
Multiple View Geometry : Computational Photography Alexei Efros, CMU, Fall 2006 © Martin Quinn …with a lot of slides stolen from Steve Seitz and.
55:148 Digital Image Processing Chapter 11 3D Vision, Geometry Topics: Basics of projective geometry Points and hyperplanes in projective space Homography.
Computer Vision Spring ,-685 Instructor: S. Narasimhan WH 5409 T-R 10:30am – 11:50am Lecture #15.
Structured light and active ranging techniques Class 8
Camera Calibration & Stereo Reconstruction Jinxiang Chai.
Lecture 11 Stereo Reconstruction I Lecture 11 Stereo Reconstruction I Mata kuliah: T Computer Vision Tahun: 2010.
Components of a computer vision system
Geometric and Radiometric Camera Calibration Shape From Stereo requires geometric knowledge of: –Cameras’ extrinsic parameters, i.e. the geometric relationship.
Announcements Project 1 artifact winners Project 2 questions
Structure from images. Calibration Review: Pinhole Camera.
1 Preview At least two views are required to access the depth of a scene point and in turn to reconstruct scene structure Multiple views can be obtained.
Recap from Monday Image Warping – Coordinate transforms – Linear transforms expressed in matrix form – Inverse transforms useful when synthesizing images.
CS654: Digital Image Analysis Lecture 8: Stereo Imaging.
December 4, 2014Computer Vision Lecture 22: Depth 1 Stereo Vision Comparing the similar triangles PMC l and p l LC l, we get: Similarly, for PNC r and.
1 Finding depth. 2 Overview Depth from stereo Depth from structured light Depth from focus / defocus Laser rangefinders.
Stereo Readings Szeliski, Chapter 11 (through 11.5) Single image stereogram, by Niklas EenNiklas Een.
Stereo Many slides adapted from Steve Seitz.
Cmput412 3D vision and sensing 3D modeling from images can be complex 90 horizon 3D measurements from images can be wrong.
Project 2 code & artifact due Friday Midterm out tomorrow (check your ), due next Fri Announcements TexPoint fonts used in EMF. Read the TexPoint.
Stereo Many slides adapted from Steve Seitz. Binocular stereo Given a calibrated binocular stereo pair, fuse it to produce a depth image image 1image.
Acquiring 3D models of objects via a robotic stereo head David Virasinghe Department of Computer Science University of Adelaide Supervisors: Mike Brooks.
Lec 22: Stereo CS4670 / 5670: Computer Vision Kavita Bala.
Lecture 16: Stereo CS4670 / 5670: Computer Vision Noah Snavely Single image stereogram, by Niklas EenNiklas Een.
stereo Outline : Remind class of 3d geometry Introduction
776 Computer Vision Jan-Michael Frahm Spring 2012.
Robust and Accurate Surface Measurement Using Structured Light IEEE TRANSACTIONS ON INSTRUMENTATION AND MEASUREMENT, VOL. 57, NO. 6, JUNE 2008 Rongqian.
Computer vision: models, learning and inference M Ahad Multiple Cameras
3D Reconstruction Using Image Sequence
Project 2 due today Project 3 out today Announcements TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: AAAAA.
Image-Based Rendering Geometry and light interaction may be difficult and expensive to model –Think of how hard radiosity is –Imagine the complexity of.
Stereo CS4670 / 5670: Computer Vision Noah Snavely Single image stereogram, by Niklas EenNiklas Een.
제 5 장 스테레오.
CS4670 / 5670: Computer Vision Kavita Bala Lec 27: Stereo.
Common Classification Tasks
Epipolar geometry continued
Multiple View Geometry for Robotics
Course 6 Stereo.
Stereo vision Many slides adapted from Steve Seitz.
Presentation transcript:

Structured Lighting Guido Gerig CS 6320, 3D Computer Vision Spring 2012 (thanks: some slides S. Narasimhan CMU, Marc Pollefeys UNC) s06/lectures/ppts/lec-17.ppt

Real-Time 3D Model Acquisition Link: ers/rt_model/ The SIGGRAPH Paper: Full paperFull paper as PDF. One-page abstract and Figure 1 One-page abstract and Figure 1 as PDF. Two-page abstract and Figure 1 Two-page abstract and Figure 1 as PDF. A 5-minute video describing the system: AVI file, 640 x 480 pixels AVI file, 640 x 480 pixels (19MB) RealVideo stream, 640 x 480 pixels, 1536 kbs RealVideo stream, 320 x 240, kbs SIGGRAPH 2002 talk: Talk as PPT Embedded video clip: sig02_begin_m.avi sig02_begin_m.avi Embedded video clip: sig02_recap.avi sig02_recap.avi Embedded video clip: turtle2.aviturtle2.avi

A Taxonomy

Excellent Additional Materials Course notes: Slides: Source code:

3D Scanning Courtesy S. Narasimhan, CMU

Typical Application

Microsoft Kinect The Kinect combines structured light with two classic computer vision techniques: depth from focus, and depth from stereo.

Microsoft Kinect

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

Real Time by Color Coding Zhang et al, 3DPVT 2002 Works despite complex appearances Works in real-time and on dynamic scenes Need very few images (one or two). But needs a more complex correspondence algorithm

Concept: Active Vision Active manipulation of scene: Project light pattern on object. Observe geometry of pattern via camera → 3D geometry

Passive triangulation: Stereo vision Correspondence problem Geometric constraints  search along epipolar lines 3D reconstruction of matched pairs by triangulation

Active triangulation: Structured light One of the cameras is replaced by a light emitter Correspondence problem is solved by searching the pattern in the camera image (pattern decoding) No geometric constraints

Overview Background General Setup Light Point Projection 2D and 3D Light Stripe Projection Static Light Pattern Projection –Binary Encoded Light Stripes –Segmenting Stripes 3D Photography on Your Desk

General Setup one camera one light source –types slide projector laser –projection spot stripe pattern

Light Spot Projection 2D image plane Assume point-wise illumination by laser beam, only 2D

Light Spot Projection 2D

Coordinates found by triangulation –  can be found by projection geometry –d = b*sin()/sin( + ) –X 0 = d*cos() –Z 0 = h = d*sin() Concept: –known b and  defined by projection geometry -Given image coordinate u and focal length f -> calculate  -Given b, ,  -> calculate d

Light Spot Projection 3D Z

–X 0 = (tan()*b*x)/(f + x*tan()) –Y 0 = (tan()*b*y)/(f+x*tan()) –Z 0 = (tan()*b*f)/(f+x*tan()) OBSERVATION???? Angle gamma γ not used !!!! (Exercise)

Special Case: Light Spot Stereo

Light Stripe Scanning – Single Stripe Camera Source Surface Light plane Optical triangulation –Project a single stripe of laser light –Scan it across the surface of the object –This is a very precise version of structured light scanning –Good for high resolution 3D, but needs many images and takes time Courtesy S. Narasimhan, CMU

Light Stripe Projection

Triangulation Project laser stripe onto object Object Laser CameraCamera Light Plane Courtesy S. Narasimhan, CMU

CameraCamera Triangulation Depth from ray-plane triangulation: –Intersect camera ray with light plane Laser Object Light Plane Image Point Courtesy S. Narasimhan, CMU Plug X, Y into plane equation to get Z

Light Stripe Projection: Calibration P Put calibration object into scene Shift object along light plane

Light Stripe Projection: Calibration

Straightforward: Single light stripe and rotating Object Object on turntable: Create P(X,Y,Z) profile for each rotation and fixed light slit Rotate object in discrete intervals and repeat Reconstruct 3D object by cylindric assembly of profiles → 3D mesh

Example: Laser scanner Cyberware ® face and head scanner + very accurate < 0.01 mm − more than 10sec per scan

Portable 3D laser scanner (this one by Minolta)

Digital Michelangelo Project Example: Laser scanner

Can we do it without expensive equipment?

3D Acquisition from Shadows Bouguet-Perona, ICCV 98

3D Photography on Your Desk “Cheap” method that uses very common tools to do 3D photography Requirements:PC, camera, stick, lamp, and a checker board Uses “weak structured light” approach

Lamp Calibration

Low-Cost 3D Scanner for Everyone

Low-Cost 3D Scanner for Everyone

New Problem: How can we find the stripes in the images? Image thresholding is dependent on the contrast Image Processing Problem: Segmenting Stripes

Image Processing Problem: How to detect stripes in images? Edge detection: Thresholding difficult Line detection: Lines of different width Solution: Project positive and negative strip pattern, detect intersections

Subpixel accuracy 1.Zero crossings of 2 nd derivative –Gradient filter width must be chosen –Depends on stripe width –Problem: Width changes with orientation of surface

Subpixel accuracy 2.Linear interpolation With fully lit and completely dark images determine dynamic threshold T P determined by intersecting threshold and image profile Robust against changes in contrast

Subpixel accuracy 3.Inverse stripe pattern intersection Also robust against slightly different width of black and white stripes No bias from isolating gap between adjacent stripes in LCD array +

Image Processing Problem: How to detect stripes in images? Edge detection Line detection Solution: Project positive and negative strip pattern, detect intersections But: set of lines, uniqueness?, which part of the line corresponds to which light plane?

Next Lecture: Encoded Patterns Any spatio-temporal pattern of light projected on a surface (or volume). Cleverly illuminate the scene to extract scene properties (eg., 3D). Avoids problems of 3D estimation in scenes with complex texture/BRDFs. Very popular in vision and successful in industrial applications (parts assembly, inspection, etc).