Correspondence and Stereopsis. Introduction Disparity – Informally: difference between two pictures – Allows us to gain a strong sense of depth Stereopsis.

Slides:



Advertisements
Similar presentations
Lecture 11: Two-view geometry
Advertisements

Stereo Vision Reading: Chapter 11
CS 376b Introduction to Computer Vision 04 / 21 / 2008 Instructor: Michael Eckmann.
Public Library, Stereoscopic Looking Room, Chicago, by Phillips, 1923.
Gratuitous Picture US Naval Artillery Rangefinder from World War I (1918)!!
MASKS © 2004 Invitation to 3D vision Lecture 7 Step-by-Step Model Buidling.
Digital Camera and Computer Vision Laboratory Department of Computer Science and Information Engineering National Taiwan University, Taipei, Taiwan, R.O.C.
Lecture 8: Stereo.
Camera calibration and epipolar geometry
Last Time Pinhole camera model, projection
Epipolar geometry. (i)Correspondence geometry: Given an image point x in the first view, how does this constrain the position of the corresponding point.
Lecture 21: Multiple-view geometry and structure from motion
Introduction to Computer Vision 3D Vision Topic 9 Stereo Vision (I) CMPSCI 591A/691A CMPSCI 570/670.
Stereopsis Mark Twain at Pool Table", no date, UCR Museum of Photography.
The plan for today Camera matrix
Lecture 20: Two-view geometry CS6670: Computer Vision Noah Snavely.
3D Computer Vision and Video Computing 3D Vision Lecture 15 Stereo Vision (II) CSC 59866CD Fall 2004 Zhigang Zhu, NAC 8/203A
3D Computer Vision and Video Computing 3D Vision Lecture 14 Stereo Vision (I) CSC 59866CD Fall 2004 Zhigang Zhu, NAC 8/203A
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 Sebastian Thrun, Gary Bradski, Daniel Russakoff Stanford CS223B Computer Vision (with slides by James Rehg and.
COMP322/S2000/L271 Stereo Imaging Ref.V.S.Nalwa, A Guided Tour of Computer Vision, Addison Wesley, (ISBN ) Slides are adapted from CS641.
Structure Computation. How to compute the position of a point in 3- space given its image in two views and the camera matrices of those two views Use.
CS 558 C OMPUTER V ISION Lecture IX: Dimensionality Reduction.
Stereo vision A brief introduction Máté István MSc Informatics.
Computer Vision Spring ,-685 Instructor: S. Narasimhan Wean 5403 T-R 3:00pm – 4:20pm Lecture #15.
3-D Scene u u’u’ Study the mathematical relations between corresponding image points. “Corresponding” means originated from the same 3D point. Objective.
Multi-view geometry. Multi-view geometry problems Structure: Given projections of the same 3D point in two or more images, compute the 3D coordinates.
Computer Vision Spring ,-685 Instructor: S. Narasimhan WH 5409 T-R 10:30am – 11:50am Lecture #15.
776 Computer Vision Jan-Michael Frahm, Enrique Dunn Spring 2013.
Lecture 11 Stereo Reconstruction I Lecture 11 Stereo Reconstruction I Mata kuliah: T Computer Vision Tahun: 2010.
Structure from images. Calibration Review: Pinhole Camera.
Lecture 12 Stereo Reconstruction II Lecture 12 Stereo Reconstruction II Mata kuliah: T Computer Vision Tahun: 2010.
Epipolar geometry The fundamental matrix and the tensor
Epipolar geometry Epipolar Plane Baseline Epipoles Epipolar Lines
Shape from Stereo  Disparity between two images  Photogrammetry  Finding Corresponding Points Correlation based methods Feature based methods.
Stereo Vision Reading: Chapter 11 Stereo matching computes depth from two or more images Subproblems: –Calibrating camera positions. –Finding all corresponding.
3D Sensing and Reconstruction Readings: Ch 12: , Ch 13: , Perspective Geometry Camera Model Stereo Triangulation 3D Reconstruction by.
Multiview Geometry and Stereopsis. Inputs: two images of a scene (taken from 2 viewpoints). Output: Depth map. Inputs: multiple images of a scene. Output:
Binocular Stereo #1. Topics 1. Principle 2. binocular stereo basic equation 3. epipolar line 4. features and strategies for matching.
Lec 22: Stereo CS4670 / 5670: Computer Vision Kavita Bala.
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.
Lecture 03 15/11/2011 Shai Avidan הבהרה : החומר המחייב הוא החומר הנלמד בכיתה ולא זה המופיע / לא מופיע במצגת.
EECS 274 Computer Vision Stereopsis.
Computer Vision Lecture #10 Hossam Abdelmunim 1 & Aly A. Farag 2 1 Computer & Systems Engineering Department, Ain Shams University, Cairo, Egypt 2 Electerical.
CSE 185 Introduction to Computer Vision Stereo. Taken at the same time or sequential in time stereo vision structure from motion optical flow Multiple.
Bahadir K. Gunturk1 Phase Correlation Bahadir K. Gunturk2 Phase Correlation Take cross correlation Take inverse Fourier transform  Location of the impulse.
A Flexible New Technique for Camera Calibration Zhengyou Zhang Sung Huh CSPS 643 Individual Presentation 1 February 25,
stereo Outline : Remind class of 3d geometry Introduction
Feature Matching. Feature Space Outlier Rejection.
55:148 Digital Image Processing Chapter 11 3D Vision, Geometry Topics: Basics of projective geometry Points and hyperplanes in projective space Homography.
Computer vision: models, learning and inference M Ahad Multiple Cameras
Correspondence and Stereopsis Original notes by W. Correa. Figures from [Forsyth & Ponce] and [Trucco & Verri]
John Morris Stereo Vision (continued) Iolanthe returns to the Waitemata Harbour.
John Morris These slides were adapted from a set of lectures written by Mircea Nicolescu, University of Nevada at Reno Stereo Vision Iolanthe in the Bay.
Lec 26: Fundamental Matrix CS4670 / 5670: Computer Vision Kavita Bala.
CSE 185 Introduction to Computer Vision Stereo 2.
55:148 Digital Image Processing Chapter 11 3D Vision, Geometry
Stereo CSE 455 Linda Shapiro.
CS4670 / 5670: Computer Vision Kavita Bala Lec 27: Stereo.
STEREOPSIS The Stereopsis Problem: Fusion and Reconstruction
Epipolar geometry.
EECS 274 Computer Vision Stereopsis.
Common Classification Tasks
Thanks to Richard Szeliski and George Bebis for the use of some slides
What have we learned so far?
Course 6 Stereo.
Chapter 11: Stereopsis Stereopsis: Fusing the pictures taken by two cameras and exploiting the difference (or disparity) between them to obtain the depth.
Presentation transcript:

Correspondence and Stereopsis

Introduction Disparity – Informally: difference between two pictures – Allows us to gain a strong sense of depth Stereopsis – Ability to perceive depth from disparity Goal of this chapter – Design algorithms that mimic stereopsis

Applications of Stereopsis Visual robot navigation Cartography Aerial reconnaissance Close-range photogrammetry Image segmentation for object recognition

Stereo Vision Two processes – Binocular fusion of features observed by the eyes – Reconstruction of their three-dimensional preimage

Stereo Vision – Easy Case 1 single point being observed – The preimage can be found at the intersection of the rays from the focal points to the image points

Stereo Vision – Hard Case Many points being observed – Need some method to establish correct correspondences

Components of Stereo Vision Systems Camera calibration: previous lectures Image rectification: simplifies the search for correspondences Correspondence: which item in the left image corresponds to which item in the right image Reconstruction: recovers 3-D information from the 2-D correspondences

Epipolar Geometry Epipolar constraint: corresponding points must lie on conjugated epipolar lines – Search for correspondences becomes a 1-D problem

Image Rectification Corresponding epipolar lines become collinear

Image Rectification (cont.) Not equivalent to rotation The lines through the centers become parallel to each other, and the epipoles move to infinity

Image Rectification (cont.) Given extrinsic parameters T and R (relative position and orientation of the two cameras) – Rotate the left camera about the projection center so that the the epipolar lines become parallel to the horizontal axis – Apply the same rotation to the right camera – Rotate the right camera by R – Adjust the scale in both camera reference frames

Image Rectification (cont.) Formal definition of disparity: d=u'–u

Correspondence Given an element in the left image, find the corresponding element in the right image Classes of methods – Correlation-based – Feature-based

Correlation-Based Correspondence Input: rectified stereo pair and a point (u,v) in the first image Method: – Associate a window of size p=(2m+1)(2n+1) centered in (u,v) and form the vector w(u,v) in R p – For each potential match (u+d,v) in the second image, compute w' and the normalized correlation between w and w'

Correlation-Based Correspondence (cont.) Main problem: – Implicitly assume that the observed surface is locally parallel to the two image planes – Alleviated by computing an initial disparity and using it to warp the correlation windows to compensate for unequal amounts of foreshortening Other problems: – Not robust against noise – Similar pixels may not correspond to physical features

Feature-Based Correspondence Main idea: physically-significant features should be preferred to matches between raw pixel intensities Instead of correlation-like measures, use a measure of the distance between feature descriptors Typical features: points, lines, and corners Example: Marr-Poggio-Grimson algorithm

Marr-Poggio-Grimson Algorithm Convolve images with Laplacian of Gaussian filters with standard deviations  1 <  2 <  3 <  4 Find zero crossings of the Laplacian along horizontal scanlines of the filtered images For each , match zero crossings with same parity and similar orientations in a [–w ,w  ] disparity range, with

Marr-Poggio-Grimson Algorithm (cont.) Use disparities found at larger scales to control eye vergence and cause unmatched regions at smaller scales to come into correspondence

Marr-Poggio-Grimson algorithm (cont.)

Ordering Constraint The order of matching image features along a pair of epipolar lines is (usually) the inverse of the order of the corresponding surface attributes along the curve where the epipolar plane intersects the object's boundary

Ordering Constraint (cont.) May not be satisfied in real scenes due to occlusion Still useful to devise efficient algorithms relying on dynamic programming to establish stereo correspondences

Reconstruction Given pair of image points p and p', and focal points O and O', find preimage P In theory: find P by intersecting the rays R=Op and R'=Op' In practice: R and R' won't actually intersect due to calibration and feature localization errors

Reconstruction Approaches Geometric – Construct the line segment perpendicular to R and R' that intersects both rays and take its mid-point

Reconstruction Approaches (cont.) Algebraic (linear) – Write down the projection equations – The resulting linear system is overconstrained – Solve it by linear least-squares

Reconstruction Approaches (cont.) Algebraic (non-linear) – Find the point Q that minimizes d 2 (p,q)+d 2 (p',q') by non-linear least-squares – Reconstructions obtained by the previous methods can be used as initial guesses for the optimization