Lec 22: Stereo CS4670 / 5670: Computer Vision Kavita Bala.

Slides:



Advertisements
Similar presentations
The fundamental matrix F
Advertisements

Lecture 11: Two-view geometry
Stereo Vision Reading: Chapter 11
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.
MASKS © 2004 Invitation to 3D vision Lecture 7 Step-by-Step Model Buidling.
Recap from Previous Lecture Tone Mapping – Preserve local contrast or detail at the expense of large scale contrast. – Changing the brightness within.
Lecture 8: Stereo.
Stereo.
776 Computer Vision Jan-Michael Frahm, Enrique Dunn Spring 2012.
Dr. Hassan Foroosh Dept. of Computer Science UCF
CS6670: Computer Vision Noah Snavely Lecture 17: Stereo
Multiple View Geometry : Computational Photography Alexei Efros, CMU, Fall 2005 © Martin Quinn …with a lot of slides stolen from Steve Seitz and.
Structure from motion. Multiple-view geometry questions Scene geometry (structure): Given 2D point matches in two or more images, where are the corresponding.
Lecture 21: Multiple-view geometry and structure from motion
Stereopsis Mark Twain at Pool Table", no date, UCR Museum of Photography.
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.
Lecture 10: Stereo and Graph Cuts
Stereo and Structure from Motion
May 2004Stereo1 Introduction to Computer Vision CS / ECE 181B Tuesday, May 11, 2004  Multiple view geometry and stereo  Handout #6 available (check with.
Lec 21: Fundamental Matrix
CSE473/573 – Stereo Correspondence
Announcements PS3 Due Thursday PS4 Available today, due 4/17. Quiz 2 4/24.
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.
Multiple View Geometry : Computational Photography Alexei Efros, CMU, Fall 2006 © Martin Quinn …with a lot of slides stolen from Steve Seitz and.
3-D Scene u u’u’ Study the mathematical relations between corresponding image points. “Corresponding” means originated from the same 3D point. Objective.
Epipolar Geometry and Stereo Vision Computer Vision CS 543 / ECE 549 University of Illinois Derek Hoiem 04/12/11 Many slides adapted from Lana Lazebnik,
9 – Stereo Reconstruction
Multi-view geometry. Multi-view geometry problems Structure: Given projections of the same 3D point in two or more images, compute the 3D coordinates.
Stereo Readings Trucco & Verri, Chapter 7 –Read through 7.1, 7.2.1, 7.2.2, 7.3.1, 7.3.2, and 7.4, –The rest is optional. Single image stereogram,
Computer vision: models, learning and inference
Lecture 1: Images and image filtering CS4670/5670: Intro to Computer Vision Kavita Bala Hybrid Images, Oliva et al.,
Camera Calibration & Stereo Reconstruction Jinxiang Chai.
Structure from images. Calibration Review: Pinhole Camera.
Lecture 12 Stereo Reconstruction II Lecture 12 Stereo Reconstruction II Mata kuliah: T Computer Vision Tahun: 2010.
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.
Stereo Vision Reading: Chapter 11 Stereo matching computes depth from two or more images Subproblems: –Calibrating camera positions. –Finding all corresponding.
Multiview Geometry and Stereopsis. Inputs: two images of a scene (taken from 2 viewpoints). Output: Depth map. Inputs: multiple images of a scene. Output:
Stereo Readings Szeliski, Chapter 11 (through 11.5) Single image stereogram, by Niklas EenNiklas Een.
Stereo Many slides adapted from Steve Seitz.
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.
Computer Vision, Robert Pless
Announcements Project 3 due Thursday by 11:59pm Demos on Friday; signup on CMS Prelim to be distributed in class Friday, due Wednesday by the beginning.
Computer Vision Stereo Vision. Bahadir K. Gunturk2 Pinhole Camera.
Geometry of Multiple Views
Computer Vision Lecture #10 Hossam Abdelmunim 1 & Aly A. Farag 2 1 Computer & Systems Engineering Department, Ain Shams University, Cairo, Egypt 2 Electerical.
Bahadir K. Gunturk1 Phase Correlation Bahadir K. Gunturk2 Phase Correlation Take cross correlation Take inverse Fourier transform  Location of the impulse.
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.
Solving for Stereo Correspondence Many slides drawn from Lana Lazebnik, UIUC.
55:148 Digital Image Processing Chapter 11 3D Vision, Geometry Topics: Basics of projective geometry Points and hyperplanes in projective space Homography.
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.
Geometry Reconstruction March 22, Fundamental Matrix An important problem: Determine the epipolar geometry. That is, the correspondence between.
Lec 26: Fundamental Matrix CS4670 / 5670: Computer Vision Kavita Bala.
CSE 185 Introduction to Computer Vision Stereo 2.
Stereo CS4670 / 5670: Computer Vision Noah Snavely Single image stereogram, by Niklas EenNiklas Een.
제 5 장 스테레오.
CS4670 / 5670: Computer Vision Kavita Bala Lec 27: Stereo.
Two-view geometry Computer Vision Spring 2018, Lecture 10
Epipolar geometry continued
Multiple View Geometry for Robotics
Reconstruction.
Chapter 11: Stereopsis Stereopsis: Fusing the pictures taken by two cameras and exploiting the difference (or disparity) between them to obtain the depth.
Stereo vision Many slides adapted from Steve Seitz.
Presentation transcript:

Lec 22: Stereo CS4670 / 5670: Computer Vision Kavita Bala

Road map What we’ve seen so far: – Low-level image processing: filtering, edge detecting, feature detection – Geometry: image transformations, panoramas, single- view modeling Fundamental matrices What’s next: – Finishing up geometry: multi view stereo, structure from motion – Recognition – Image formation

Announcements Wed: photometric stereo No class Dragon Day

Fundamental matrix result

Properties of the Fundamental Matrix is the epipolar line associated with and is rank 2 5 T 0

Estimating F If we don’t know K 1, K 2, R, or t, can we estimate F for two images? Yes, given enough correspondences

Estimating F – 8-point algorithm The fundamental matrix F is defined by for any pair of matches x and x’ in two images. Let x=(u,v,1) T and x’=(u’,v’,1) T, each match gives a linear equation

8-point algorithm In reality, instead of solving, we seek f to minimize, least eigenvector of.

8-point algorithm – Problem? F should have rank 2 To enforce that F is of rank 2, F is replaced by F’ that minimizes subject to the rank constraint. This is achieved by SVD. Let, where, let then is the solution.

8-point algorithm Pros: it is linear, easy to implement and fast Cons: susceptible to noise Normalized 8-point algorithm: Hartley

What about more than two views? The geometry of three views is described by a 3 x 3 x 3 tensor called the trifocal tensor The geometry of four views is described by a 3 x 3 x 3 x 3 tensor called the quadrifocal tensor After this it starts to get complicated… – Structure from motion

Stereo reconstruction pipeline Steps – Calibrate cameras – Rectify images – Compute correspondence (and hence disparity) – Estimate depth

Correspondence algorithms Algorithms may be classified into two types: 1.Dense: compute a correspondence at every pixel 2.Sparse: compute correspondences only for features

Example image pair – parallel cameras

First image

Second image

Dense correspondence algorithm Search problem (geometric constraint): for each point in left image, corresponding point in right image lies on the epipolar line (1D ambiguity) Disambiguating assumption (photometric constraint): the intensity neighborhood of corresponding points are similar across images Measure similarity of neighborhood intensity by cross-correlation epipolar line

Intensity profiles Clear correspondence, but also noise and ambiguity

region A Normalized Cross Correlation region B vector a vector b regions as vectors a b

Cross-correlation of neighborhood epipolar line translate so that mean is zero

left image band right image band cross correlation x

left image band right image band cross correlation 1 0 x 0.5 target region

Why is cross-correlation such a poor measure? 1.The neighborhood region does not have a “distinctive” spatial intensity distribution 2.Foreshortening effects fronto-parallel surface imaged length the same slanting surface imaged lengths differ

Limitations of similarity constraint Textureless surfaces Occlusions, repetition Non-Lambertian surfaces, specularities

Other approaches to obtaining 3D structure

Active stereo with structured light Project “structured” light patterns onto the object –simplifies the correspondence problem –Allows us to use only one camera camera projector L. Zhang, B. Curless, and S. M. Seitz. Rapid Shape Acquisition Using Color Structured Light and Multi-pass Dynamic Programming. 3DPVT 2002Rapid Shape Acquisition Using Color Structured Light and Multi-pass Dynamic Programming.

Active stereo with structured light L. Zhang, B. Curless, and S. M. Seitz. Rapid Shape Acquisition Using Color Structured Light and Multi-pass Dynamic Programming. 3DPVT 2002Rapid Shape Acquisition Using Color Structured Light and Multi-pass Dynamic Programming.

Microsoft Kinect

Laser scanning 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 Digital Michelangelo Project Source: S. Seitz

Laser scanned models The Digital Michelangelo Project, Levoy et al. Source: S. Seitz

Laser scanned models The Digital Michelangelo Project, Levoy et al. Source: S. Seitz

The Digital Michelangelo Project, Levoy et al. Source: S. Seitz

The Digital Michelangelo Project, Levoy et al. Source: S. Seitz

The Digital Michelangelo Project, Levoy et al. Source: S. Seitz

Aligning range images A single range scan is not sufficient to describe a complex surface Need techniques to register multiple range images … which brings us to multi-view stereo

Quiz