John Morris Stereo Vision (continued) Iolanthe returns to the Waitemata Harbour.

Slides:



Advertisements
Similar presentations
Stereo Vision Reading: Chapter 11
Advertisements

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)!!
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.
Lecture 8: Stereo.
Stereo.
3D Computer Vision and Video Computing 3D Vision Topic 3 of Part II Stereo Vision CSc I6716 Spring 2011 Zhigang Zhu, City College of New York
Last Time Pinhole camera model, projection
Multiple View Geometry : Computational Photography Alexei Efros, CMU, Fall 2005 © Martin Quinn …with a lot of slides stolen from Steve Seitz and.
Contents Description of the big picture Theoretical background on this work The Algorithm Examples.
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.
Multiple View Geometry Marc Pollefeys University of North Carolina at Chapel Hill Modified by Philippos Mordohai.
The plan for today Camera matrix
CS 223b 1 More on stereo and correspondence. CS 223b 2 =?f g Mostpopular For each window, match to closest window on epipolar line in other image. (slides.
3D from multiple views : Rendering and Image Processing Alexei Efros …with a lot of slides stolen from Steve Seitz and Jianbo Shi.
Stereo Computation using Iterative Graph-Cuts
3D Computer Vision and Video Computing 3D Vision Topic 4 of Part II Stereo Vision CSc I6716 Spring 2008 Zhigang Zhu, City College of New York
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.
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.
Visualization- Determining Depth From Stereo Saurav Basu BITS Pilani 2002.
COMP322/S2000/L271 Stereo Imaging Ref.V.S.Nalwa, A Guided Tour of Computer Vision, Addison Wesley, (ISBN ) Slides are adapted from CS641.
Multiple View Geometry : Computational Photography Alexei Efros, CMU, Fall 2006 © Martin Quinn …with a lot of slides stolen from Steve Seitz and.
Stereo matching Class 10 Read Chapter 7 Tsukuba dataset.
Stereo vision A brief introduction Máté István MSc Informatics.
3-D Scene u u’u’ Study the mathematical relations between corresponding image points. “Corresponding” means originated from the same 3D point. Objective.
9 – Stereo Reconstruction
Computer Vision Spring ,-685 Instructor: S. Narasimhan WH 5409 T-R 10:30am – 11:50am Lecture #15.
John Morris Iolanthe returns to the Waitemata Harbour Stereo Vision The Correspondence Problem.
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.
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.
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.
CS654: Digital Image Analysis Lecture 8: Stereo Imaging.
Stereo Many slides adapted from Steve Seitz.
Binocular Stereo #1. Topics 1. Principle 2. binocular stereo basic equation 3. epipolar line 4. features and strategies for matching.
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
Lec 22: Stereo CS4670 / 5670: Computer Vision Kavita Bala.
Computer Vision Stereo Vision. Bahadir K. Gunturk2 Pinhole Camera.
Stereo Vision John Morris These slides were adapted from a set of lectures written by Mircea Nicolescu, University of Nevada at Reno Vision Research in.
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.
stereo Outline : Remind class of 3d geometry Introduction
Stereo Vision John Morris Vision Research in CITR
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.
Correspondence and Stereopsis Original notes by W. Correa. Figures from [Forsyth & Ponce] and [Trucco & Verri]
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.
Correspondence and Stereopsis. Introduction Disparity – Informally: difference between two pictures – Allows us to gain a strong sense of depth Stereopsis.
CSE 185 Introduction to Computer Vision Stereo 2.
Computer vision: geometric models Md. Atiqur Rahman Ahad Based on: Computer vision: models, learning and inference. ©2011 Simon J.D. Prince.
55:148 Digital Image Processing Chapter 11 3D Vision, Geometry
CS4670 / 5670: Computer Vision Kavita Bala Lec 27: Stereo.
Geometry 3: Stereo Reconstruction
Thanks to Richard Szeliski and George Bebis for the use of some slides
Computer Vision Stereo Vision.
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.
Stereo vision Many slides adapted from Steve Seitz.
Presentation transcript:

John Morris Stereo Vision (continued) Iolanthe returns to the Waitemata Harbour

2 Correlation-Based Methods

3 Comments −How to choose the size and location of the search region, R(p l )? −if the distance of the fixating point from the cameras is much larger than the baseline, the location of R(p l ) can be chosen to be the same as the location of p l −the size (extent) of R(p l ) can be estimated from the maximum range of distances we expect to find in the scene −we will see that the search region can always be reduced to a line

4 Feature-Based Methods Main idea −Look for a feature in an image that matches a feature in the other. −Typical features used are: −edge points −line segments −corners (junctions)

5 Feature-Based Methods A set of features is used for matching −a line feature descriptor, for example, could contain: −length, l −orientation,  −coordinates of the midpoint, m −average intensity along the line, i Similarity measures are based on matching feature descriptors: where w 0,..., w 3 are weights (determining the weights that yield the best matches is a nontrivial task).

6 Feature-Based Methods

7 Correlation vs. feature-based approaches Correlation methods −Easier to implement −Provide a dense disparity map (useful for reconstructing surfaces) −Need textured images to work well (many false matches otherwise) −Don’t work well when viewpoints are very different, due to −change in illumination direction −violates Lambertian scattering assumption −foreshortening −perspective problem – surfaces are not fronto-planar Feature-based methods −Suitable when good features can be extracted from the scene −Faster than correlation-based methods −Provide sparse disparity maps −OK for applications like visual navigation −Relatively insensitive to illumination changes

8 Other correspondence algorithms Dynamic programming (Gimel’farb) −Finds a ‘path’ through an image which provides the best (least-cost) match −Can allow for occlusions (Birchfield and Tomasi) −Generally provide better results than area-based correlation −Faster than correlation Graph Cut (Zabih et al) −Seems to provide best results −Very slow, not suitable for real-time applications Concurrent Stereo Matching −Examine all possible matches in parallel (Delmas, Gimel’farb, Morris, work in progress ) −Uses a model of image noise instead of arbitrary weights in cost functions −Suitable for real-time parallel hardware implementation Some of these will be considered in detail later

9 Epipolar Geometry Significance of the epipolar lines −For an arbitrary stereo configuration, for each point (or window) in one image, you would need to search the whole of the other image for a match!  Very inefficient algorithm!  O(n 4 ) Left ImageRight Image ? n

10 Epipolar Geometry ‘Canonical’ configuration −Optical axes, image planes & scan-lines parallel −Only necessary to search along scan lines −Corresponding point must lie on the same scan line in the other image  Simple (trivial) formulae for determining −Where to search −Same y coord −How to convert disparity to distance − Z  1 / d

11 Epipolar Geometry General configuration −Optical axes verge on ‘fixation point’ in scene −Only necessary to search along epipolar lines −Corresponding point must lie on the corresponding epipolar line in the other image  More complex formulae −Where to search −Slope of epipolar line is a function of image coordinates −Distance from disparity − Z = f( x, y, d )

12 Epipolar Geometry Neat demonstration! Note the −Epipoles −Intersections of the baseline with the image planes −Fixed positions −At infinity in the canonical configuration −All the epipolar lines for one camera go through its epipole Epipolar Constraint −Corresponding points must lie on pairs of epipolar lines −Trucco refers to them as ‘conjugated epipolar lines’

13 Assumptions and constraints Epipolar constraint −Corresponding points lie on corresponding epipolar lines −Holds for images if −Distortions are removed ie Cameras conform to pin-hole model −In the canonical configuration (|| optical axes, image planes) −Epipolar lines are scan lines  Simple software!  Rectification often used to transform images to canonical configuration −Images rotated and translated to a new view −Requires estimation of the fundamental matrix

14 Assumptions and constraints Uniqueness constraint −Each pixel in the reference image corresponds to at most one pixel in the other image −Potential violations −Quantization of images into pixels −Reflections

15 Assumptions and constraints Continuity constraint −Surfaces are generally continuous −Disparity differences between neighbouring pixels less than a threshhold −If x L 1 matches x R 1 and neighbouring pixel, x L 2 matches x R 2  || x L 1 – x R 1 | - | x L 2 – x R 2 || < th −Potential violations −Sharp edges −Only a small fraction of total image pixels −Can apply this constraint only in regions identified as belonging to one ‘object’ after segmentation

16 Constraints Ordering constraint −Points on an epipolar line in one image appear on the corresponding epipolar line in the other image in the same order −Violations −Thin objects (‘poles’) well separated from a background Note the ordering of image points (lower case) in the left and right images

17 Constraints Intensity −Intensities of matching points are the same −Gain and offset of both cameras identical −No noise Usually relaxed to −…… differ by a very small amount