Vision Sensors for Stereo and Motion Joshua Gluckman Polytechnic University.

Slides:



Advertisements
Similar presentations
Image Rectification for Stereo Vision
Advertisements

Epipolar Geometry.
Lecture 11: Two-view geometry
CSE473/573 – Stereo and Multiple View Geometry
Institut für Elektrische Meßtechnik und Meßsignalverarbeitung Professor Horst Cerjak, Augmented Reality VU 2 Calibration Axel Pinz.
Gratuitous Picture US Naval Artillery Rangefinder from World War I (1918)!!
MASKS © 2004 Invitation to 3D vision Lecture 7 Step-by-Step Model Buidling.
Geometry 1: Projection and Epipolar Lines Introduction to Computer Vision Ronen Basri Weizmann Institute of Science.
Self-calibration.
Two-view geometry.
Lecture 8: Stereo.
Relations between image coordinates Given coordinates in one image, and the tranformation Between cameras, T = [R t], what are the image coordinates In.
Camera calibration and epipolar geometry
Geometry of Images Pinhole camera, projection A taste of projective geometry Two view geometry:  Homography  Epipolar geometry, the essential matrix.
Epipolar geometry. (i)Correspondence geometry: Given an image point x in the first view, how does this constrain the position of the corresponding point.
Uncalibrated Geometry & Stratification Sastry and Yang
Lecture 21: Multiple-view geometry and structure from motion
CAU Kiel DAGM 2001-Tutorial on Visual-Geometric 3-D Scene Reconstruction 1 The plan for today Leftovers and from last time Camera matrix Part A) Notation,
Multiple View Geometry Marc Pollefeys University of North Carolina at Chapel Hill Modified by Philippos Mordohai.
Multiple View Geometry Marc Pollefeys University of North Carolina at Chapel Hill Modified by Philippos Mordohai.
Stereo and Structure from Motion
Lecture 20: Two-view geometry CS6670: Computer Vision Noah Snavely.
Multiple View Geometry Marc Pollefeys University of North Carolina at Chapel Hill Modified by Philippos Mordohai.
Multiple View Geometry Marc Pollefeys University of North Carolina at Chapel Hill Modified by Philippos Mordohai.
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
Stereo Sebastian Thrun, Gary Bradski, Daniel Russakoff Stanford CS223B Computer Vision (with slides by James Rehg and.
Two-views geometry Outline Background: Camera, Projection Necessary tools: A taste of projective geometry Two view geometry:  Homography  Epipolar geometry,
Stereo matching Class 10 Read Chapter 7 Tsukuba dataset.
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.
776 Computer Vision Jan-Michael Frahm, Enrique Dunn Spring 2013.
Automatic Camera Calibration
Lecture 11 Stereo Reconstruction I Lecture 11 Stereo Reconstruction I Mata kuliah: T Computer Vision Tahun: 2010.
875: Recent Advances in Geometric Computer Vision & Recognition Jan-Michael Frahm Fall 2011.
Multi-view geometry.
Epipolar geometry The fundamental matrix and the tensor
Epipolar geometry Epipolar Plane Baseline Epipoles Epipolar Lines
Lecture 04 22/11/2011 Shai Avidan הבהרה : החומר המחייב הוא החומר הנלמד בכיתה ולא זה המופיע / לא מופיע במצגת.
3D Sensing and Reconstruction Readings: Ch 12: , Ch 13: , Perspective Geometry Camera Model Stereo Triangulation 3D Reconstruction by.
CS654: Digital Image Analysis Lecture 8: Stereo Imaging.
Stereo Course web page: vision.cis.udel.edu/~cv April 11, 2003  Lecture 21.
Computer Vision, Robert Pless
HONGIK UNIVERSITY School of Radio Science & Communication Engineering Visual Information Processing Lab Hong-Ik University School of Radio Science & Communication.
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.
Peripheral drift illusion. Multiple views Hartley and Zisserman Lowe stereo vision structure from motion optical flow.
Computer Vision Stereo Vision. Bahadir K. Gunturk2 Pinhole Camera.
Geometry of Multiple Views
Two-view geometry. Epipolar Plane – plane containing baseline (1D family) Epipoles = intersections of baseline with image planes = projections of the.
stereo Outline : Remind class of 3d geometry Introduction
Feature Matching. Feature Space Outlier Rejection.
Solving for Stereo Correspondence Many slides drawn from Lana Lazebnik, UIUC.
Computer vision: models, learning and inference M Ahad Multiple Cameras
Rectification of Stereo Images Милош Миловановић Урош Поповић.
Uncalibrated reconstruction Calibration with a rig Uncalibrated epipolar geometry Ambiguities in image formation Stratified reconstruction Autocalibration.
Lec 26: Fundamental Matrix CS4670 / 5670: Computer Vision Kavita Bala.
Multiview geometry ECE 847: Digital Image Processing Stan Birchfield Clemson University.
Multi-view geometry. Multi-view geometry problems Structure: Given projections of the same 3D point in two or more images, compute the 3D coordinates.
55:148 Digital Image Processing Chapter 11 3D Vision, Geometry
3D Vision Yang Wang National ICT Australia
René Vidal and Xiaodong Fan Center for Imaging Science
Epipolar geometry.
3D Photography: Epipolar geometry
Two-view geometry.
Multiple View Geometry for Robotics
Two-view geometry Epipolar geometry F-matrix comp. 3D reconstruction
Two-view geometry.
Two-view geometry.
Presentation transcript:

Vision Sensors for Stereo and Motion Joshua Gluckman Polytechnic University

Stereo Vision depth map

Stereo With Mirrors [ Gluckman and Nayar (CVPR 99)]

Why Use Mirrors? Identical system response –Better stereo matching –Faster stereo matching

Why Use Mirrors? Identical system response –Better stereo matching –Faster stereo matching Data acquisition –No synchronization –Data Storage

Stereo Systems Using Mirrors Teoh and Zhang `84 Goshtasby and Gruver `93 Inaba `93 Mathieu and Devernay `95 Mitsumoto `92 Zhang and Tsui `98

Geometry and Calibration

Background – Relative Orientation C C` p p` R,t – 6 parameters

Background – Epipolar Geometry C C` p p` e e`

Background – Epipolar Geometry C C` p p` e e` Epipolar geometry – 7 parameters 4 3

Background – Epipolar Geometry C C` p p` e e` Epipolar geometry – 7 parameters 4 3

One Mirror – Relative Orientation camera virtual camera mirror

One Mirror – Relative Orientation camera 3 parameters virtual camera

One Mirror – Relative Orientation camera 3 parameters virtual camera

One Mirror – Epipolar Geometry 2 parameters – location of epipole

Two Mirrors – Relative Orientation camera virtual camera D

Two Mirrors – Relative Orientation camera virtual camera 1 1  D 2 D DDDDD  

Two Mirrors – Relative Orientation camera virtual camera  5 parameters

Two Mirrors – Epipolar Geometry V V` p p` e e` 4 6 parameters 2

Two Mirrors – Epipolar Geometry epipole e` p` p epipole e image of the axis m

Two Mirrors – Epipolar Geometry epipole e` p1`p1` p1p1 epipole e image of the axis m p2p2 p3p3 p4p4 p2`p2` p3`p3` p4`p4`

(a) (b) (c) (d)

Calibration Parameters Two Cameras6 (rigid transform)7 One Mirror3 (reflection transform)2 Two Mirrors5 (screw transform)6 Three+ Mirrors6 (rigid transform)7 Relative orientationEpipolar geometry

Mirror Stereo Systems

Real Time Stereo System Calibrate Get Images Rectify Matching Depth Map

Rectification of Stereo Images Perspective transformations

Why Rectify Stereo Images? Fast stereo matching O(hw 2 s)  O(hw 2 ) Removes differences in rotation and scale

Not All Rectification Transforms Are the Same

Rectification – Previous Methods Ayache and Hansen `88 Faugeras `93 Robert et al. `93 Hartley `98 Loop and Zhang `99 Roy et al. `97 Pollefeys et al. `99 3D methods – need calibration Non-perspective transformations 2D methods – rectify from epipolar geometry

The Bad Effects of Resampling the Images Creation of new pixels causes –Blurs the texture –Additional computation Loss of pixels –Loss of information –Aliasing [Gluckman and Nayar CVPR ’01]

Measuring the Effects of Resampling determinant of the Jacobian change in local area

Measuring the Effects of Resampling determinant of the Jacobian change in local area

Measuring the Effects of Resampling determinant of the Jacobian change in local area

Change In Aspect Ratio Preserves Local Area pixels lost pixels created

Skew Preserves Local Area aliasing

Minimizing the Effects of Resampling P and P’ must be rectifying transformation No change in aspect ratio and skew change in local area

The Class of Rectifying Transformations Rotation and translation Fundamental matrix e e ee

The Class of Rectifying Transformations e e

e e e e

e e e e 6 parameters

The Class of Rectifying Transformations e e e e 2 parameters no skew maintain aspect ratio

The Class of Rectifying Transformations 2 parameters scale perspective distortion

Finding the Best Rectifying Transform Find p 1 and p 8 that minimize  change in local area

Finding the Best Rectifying Transform Find p 1 and p 8 that minimize  change in local area  is quadratic in p 1 so the optimal scale can be found as a function of p 8  is a 16 th degree rational polynomial in p 8

Finding the Best Rectifying Transform The minimum of  is between 0 and f 5  1 and  2 are symmetric convex polynomials  1 has a minimum at p 8 = 0  2 has a minimum at p 8 = f 5 1  2 

Finding the Best Rectifying Transform  1 and  2 depend on the location of epipoles epipoles at the same distance 1  2 

Finding the Best Rectifying Transform  1 and  2 depend on the location of epipoles epipoles at a distance of 3 and 10 1  2 

Rectifying While Minimizing Resampling Effects Step 1: Rotate and translate the epipolar geometry

Rectifying While Minimizing Resampling Effects Step 1: Rotate and translate the epipolar geometry Step 2: Find p 1 and p 8 that minimize 

Rectifying While Minimizing Resampling Effects Step 1: Rotate and translate the epipolar geometry Step 2: Find p 1 and p 8 that minimize  Step 3: Construct P and P’

Rectifying While Minimizing Resampling Effects Step 1: Rotate and translate the epipolar geometry Step 2: Find p 1 and p 8 that minimize  Step 3: Construct P and P’ Step 4: Rectify the images using the perspective transformations

Rectification

Rectification and Stereo Matching

Rectified Stereo Using Mirrors Not rectified Rectified [Gluckman and Nayar CVPR ’00]

When Is a Stereo System Rectified? No relative rotation between stereo cameras Direction of translation along the scan lines (x-axis) Identical intrinsic parameters (focal length)

Rectified Stereo Sensors left virtual camera right virtual camera D

left virtual camera right virtual camera Rectified Stereo Sensors

What Constraints Must Be Satisfied?

How Many Reflections? Even number of reflections Odd number of reflections

Example: Four mirrors Won’t Work

What Constraints Must Be Satisfied?

Single Mirror Rectified Stereo

camera virtual camera b

Three Mirror Rectified Stereo

n 1, n 2, n 3 and x-axis must be coplanar One constraint on the angles One constraint on the distances 4 constraints

A Three Mirror Solution 9 d.o.f. – 4 constraints = 5 parameter family of solutions

Sensor Size 9 d.o.f. – 4 constraints = 5 parameter family of solutions

Optimized Solutions

Rectified Stereo Sensors Mirrors Mirror

Rectified Images and Depth Maps

Misplacement of the Camera Mirrors Mirror

Misplacement of the Camera Mirrors Mirror Invariant to misplacement of camera center

Misplacement of the Camera Mirrors Mirror Insensitive to tilt of optical axis

Misplacement of the Camera Mirrors Mirror Dependent on pan of optical axis

Split Shot Stereo Camera Nikon Coolpix camera mirror attachment

Image Sensors for Motion Computation

Camera Motion motion rotation, translation, depth

[ Anadan and Avidan (ECCV 00)] [e,e’]             y x y x

[Gluckman and Nayar ICCV ’98][Aloimonos et al]

Future Work

Split Shot Stereo Camera Nikon Coolpix camera mirror attachment

Split Shot Stereo Camera

The Class of Rectifying Transformations e e` p 1 changes the distance and p 8 changes the tilt of the rectifying plane Rectification projects the images onto a plane parallel to the camera centers

SensingPre-processingComputation