Binocular Stereo #1. Topics 1. Principle 2. binocular stereo basic equation 3. epipolar line 4. features and strategies for matching.

Slides:



Advertisements
Similar presentations
Lecture 11: Two-view geometry
Advertisements

MASKS © 2004 Invitation to 3D vision Lecture 7 Step-by-Step Model Buidling.
Two-view geometry.
Lecture 8: Stereo.
Camera calibration and epipolar geometry
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
Structure from motion.
Computer Vision : CISC 4/689
Stanford CS223B Computer Vision, Winter 2006 Lecture 5 Stereo I
Epipolar geometry. (i)Correspondence geometry: Given an image point x in the first view, how does this constrain the position of the corresponding point.
Structure from motion. Multiple-view geometry questions Scene geometry (structure): Given 2D point matches in two or more images, where are the corresponding.
Multiple-view Reconstruction from Points and Lines
CS664 Lecture #19: Layers, RANSAC, panoramas, epipolar geometry Some material taken from:  David Lowe, UBC  Jiri Matas, CMP Prague
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
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 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
Projected image of a cube. Classical Calibration.
May 2004Stereo1 Introduction to Computer Vision CS / ECE 181B Tuesday, May 11, 2004  Multiple view geometry and stereo  Handout #6 available (check with.
3D Vision and Graphics. The Geometry of Multiple Views Motion Field Stereo Epipolar Geometry The Essential Matrix The Fundamental Matrix Structure from.
CSE473/573 – Stereo Correspondence
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.
Stereo matching “Stereo matching” is the correspondence problem –For a point in Image #1, where is the corresponding point in Image #2? C1C1 C2C2 ? ? C1C1.
Project 4 Results Representation – SIFT and HoG are popular and successful. Data – Hugely varying results from hard mining. Learning – Non-linear classifier.
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,
CSE 6367 Computer Vision Stereo Reconstruction Camera Coordinate Transformations “Everything should be made as simple as possible, but not simpler.” Albert.
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.
Multi-view geometry.
Epipolar geometry The fundamental matrix and the tensor
Binocular Stereo. Topics Principle basic equation epipolar line features and strategies for matching Case study Block matching Relaxation DP stereo.
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:
1 Formation et Analyse d’Images Session 7 Daniela Hall 25 November 2004.
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.
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.
Single-view geometry Odilon Redon, Cyclops, 1914.
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.
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.
John Morris Stereo Vision (continued) Iolanthe returns to the Waitemata Harbour.
Geometry Reconstruction March 22, Fundamental Matrix An important problem: Determine the epipolar geometry. That is, the correspondence between.
Announcements Final is Thursday, March 18, 10:30-12:20 –MGH 287 Sample final out today.
Lec 26: Fundamental Matrix CS4670 / 5670: Computer Vision Kavita Bala.
Correspondence and Stereopsis. Introduction Disparity – Informally: difference between two pictures – Allows us to gain a strong sense of depth Stereopsis.
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
STEREOPSIS The Stereopsis Problem: Fusion and Reconstruction
STEREOPSIS The Stereopsis Problem: Fusion and Reconstruction
Epipolar geometry.
EECS 274 Computer Vision Stereopsis.
Two-view geometry.
Multiple View Geometry for Robotics
Reconstruction.
Filtering Things to take away from this lecture An image as a function
Two-view geometry.
Course 6 Stereo.
Two-view geometry.
Single-view geometry Odilon Redon, Cyclops, 1914.
Chapter 11: Stereopsis Stereopsis: Fusing the pictures taken by two cameras and exploiting the difference (or disparity) between them to obtain the depth.
Filtering An image as a function Digital vs. continuous images
Presentation transcript:

Binocular Stereo #1

Topics 1. Principle 2. binocular stereo basic equation 3. epipolar line 4. features and strategies for matching

Binocular stereo single image is ambiguous A another image taken from a different direction gives the unique 3D point a’ a”

Epipolar line Epipolar plane Epipolar line constraints Corresponding points lie on the Epipolar lines Epipolar line constratints Base line One image point Possible line of sight

Epipolar geometry (multiple points) C1C1 C2C2 e1e1 e2e2 Epipoles: intersections of baseline with image planes projection of the optical center in another image the vanishing points of camera motion direction

Examples of epipolar geometry

Characteristics of epipolar line rectification

Basic binocular stereo equation A physical point focal length right image point z left image point base line length right image plane left image plane World coordinate system left image center right image center

Camera Model Pinhole camera

Camera Model geometry (X, Y, Z) Image plane X Y -Z x y (x, y) f : focal length Perspective projection View point (Optical center) (sX, sY, sZ)

Basic binocular stereo equation z=-2df/(x”-x’) x”-x’: disparity 2d : base line length x” x’ -z f d d z d + xd - x

Classic algorithms for binocular Stereo Marr-Poggio Marr-Poggio-Grimson Nishihara-Poggio Lucas-Kanade Ohta-Kanade Matthie-Kanade Okutomi-Kanade Baker Hannah Moravec Barnard-Thompson MIT group CMU group Stanford group

Features for matching a. brightness b. edges c. edge intervals d. interest points

a. relaxation b. coarse to fine c. dynamic programming local optimam Strategies for matching global optimam

Main purpose of development simulate human stereo map making navigation Marr-Poggio Marr-Poggio-Grimson Nishihara-Poggio Lucas-Kanade Ohta-Kanade Matthie-Kanade Okutomi-Kanade Baker Hannah Moravec Barnard-Thompson

Features for matching points(random dots) edges intervals brightness(gradient) intervals brightness edges interest points Marr-Poggio Marr-Poggio-Grimson Nishihara-Poggio Lucas-Kanade Ohta-Kanade Matthie-Kanade Okutomi-Kanade Baker Hannah Moravec Barnard-Thompson

Strategies for matching relaxation coarse to fine relaxation dynamic programming Relaxation (Kalman filter) relaxation dynamic programming coarse to fine relaxation Marr-Poggio Marr-Poggio-Grimson Nishihara-Poggio Lucas-Kanade Ohta-Kanade Matthie-Kanade Okutomi-Kanade Baker Hannah Moravec Barnard-Thompson

Summary 1.binocular stereo takes two images of 3D point from two different positions and determines its 3D coordinate system. 2. Epipolar line 2D matching ↓ 1D matching 3. Features for matching ---brightness,edges,edge interval,interest point 4. Strategies for matching ---relaxation,coarse to fine,dynamic programming 5. Read B&B pp Horn pp

Binocular Stereo #2

Topics case study area-based stereo Marr-poggio stereo simulate human visual system Ohta-Kanade stereo aerial image analysis Moravec stereo navigation

Classification of stereo method 1. Features for matching a. brightness value b. point c. edge d. region 2. Strategies for matching a. brute-force (not a strategy ???) b. coarse-to-fine c. relaxation d. dynamic programming 3. Constraints for matching a. epipolar lines b. disparity limit c. continuity d. uniqueness

Area-based stereo 1. method b c bcbc 2. problem a. trade-off of window size and resolution b. dull peak b c

1. Features for matching a. brightness value b. point c. edge d. region 2. Strategies for matching a. brute-force (not a strategy ???) b. coarse-to-fine c. relaxation d. dynamic programming 3. Constraints for matching a. epipolar lines b. disparity limit c. continuity d. uniqueness Area-based stereo

Marr-Poggio Stereo(`76) Simulating human visual system (random dot stereo gram) Marr,Poggio “Coopertive computation of stereo disparity” Science 194,

Input : random dot stereo left image random dot shift the catch pat right image we can see the height different between the central and peripheral area

Constraints –Epipolar line constraint –Uniqueness constraint »each point in a image has only one depth value O.K. No. –Continuity constraint »each point is almost sure to have a depth value near the values of neighbors O.K. No.

Uniqueness constraint prohibits two or more matching points on one horizontal or vertical lines continuity constraint attracts more matching on a diagonal line ABCABC D E F A B C ABCABC (E-A) (E-B) (E-C) prohibit attract (D-A) (E-B) (F-C) Same depth

nn+1 relaxation

1. Features for matching a. brightness value b. point c. edge d. region 2. Strategies for matching a. brute-force (not a strategy ???) b. coarse-to-fine c. relaxation d. dynamic programming 3. Constraints for matching a. epipolar lines b. disparity limit c. continuity d. uniqueness simulate the human visual system (MIT) Marr-Poggio Stereo(`76)

Ohta-Kanade Stereo(`85) Map making Ohta,Kanade “Stereo by intra- and inter-scanline search using dynamic programming”,IEEE Trans.,Vol. PAMI-7,No.2,pp

now matching become 1D to 1D yet, N line * M L * M R (512 * 100 * 100 * 10 m sec = 15 hours) L1 L2 L3 L4 L5 L6 R1 R2 R3 R4 R5 R6 L R disparity

Path Search u Matching problem can be considered as a path search problem u define a cost at each candidate of path segment based some ad-hoc function

Dynamic programming We can formalize the path finding problem as the following iterative formula optimum cost to K cost between M and K Optimum costs are known

stereo pair edges

pathdisparity depth

stereo pair edges depth

1. Features for matching a. brightness value b. point c. edge d. region 2. Strategies for matching a. brute-force (not a strategy ???) b. coarse-to-fine c. relaxation d. dynamic programming 3. Constraints for matching a. epipolar lines b. disparity limit c. continuity d. uniqueness aerial image analysis (CMU) Ohta-Kanade Stereo(`85) Brightness of interval

Moravec Stereo(`79) navigation Moravec “Visual mapping by a robot rover” Proc 6th IJCAI,pp (1979)

Moravec’s cart Slide stereo Motion stereo

Slider stereo (9 eyes stereo) u 9 C 2 = 36 stereo pairs!!! u each stereo has an uncertainty measure u uncertainty = 1 / base-line u each stereo has a confidence measure long base line large uncertainty

Coarse to fine expand matching

σ estimated distance σ:uncertainty measure area:confidence measure 9 C 2 = 36 curves Interest point

1. Features for matching a. brightness value b. point c. edge d. region 2. Strategies for matching a. brute-force (not a strategy ???) b. coarse-to-fine c. relaxation d. dynamic programming 3. Constraints for matching a. epipolar lines b. disparity limit c. continuity d. uniqueness navigation (Stanford) Moravec Stereo(`81) interest point

Summary 1. Two images from two different positions give depth information 2. Epipolar line and plane 3. Basic equation Z=-2df/(x”-x’) x”-x’: disparity 2d : base line length 4. case study area-based stereo Marr-poggio stereo simulate human visual system Ohta-Kanade stereo aerial image analysis Moravec stereo navigation 5. Read Horn pp

F matrix

Camera Model Pinhole camera

Camera Model geometry (X, Y, Z) Image plane X Y -Z x y (x, y) f : focal length Perspective projection View point (Optical center) (sX, sY, sZ)

Camera Model Perspective projection formularization Perspective projection (Non-linear) Affine projection (Linear) Projection matrix

Affine Camera Models General formularization OrthographicPerspective Affine camera

Affine Cameras perspectiveorthographic Focal length Distance from camera

Intrinsic parameters Image plane : an ideal image CCD : an actual picture Not equal ! CCD elements

Intrinsic parameters y An ideal image on the Image plane x u v θ An actual picture u0u0 v0v0 (x, y) (u, v)

Intrinsic parameters e.g. perspective projection Intrinsic matrix Projection matrix (normalized)

Extrinsic parameters Y X Z

Y X Z

R : rotation matrixt : translation vector

Summary (intrinsic & extrinsic parameters) Y X Z (X,Y,Z) World coordinate R, t (u, v) picture Camera coordinate World coordinate

Summary (intrinsic & extrinsic parameters) Y X Z (X,Y,Z) World coordinate R, t (u, v) picture 3 × 4 matrix

Epipolar geometry C1C1 C2C2 R Essential matrix : E

Essential & Fundamental matrix Image planes (ideal) Pictures (actual) Fundamental matrix : F Image 1 Image 2

F matrix (u, v, 1)(u’, v’, 1) F & (u, v) known Calculate the epipolar line picture 1picture 2

Computing F matrix (Linear solution)

Corner detector Extract interest points in each images x y Harris corner detector

Matching or

Computing F matrix (Linear solution) Suppose we found 8 pairs of corresponding points ·····

Computing F matrix (Singularity constraint) Epipolar pencil by linear solution (due to noise and error)

Computing F matrix (Singularity constraint) Singular value decomposition (SVD) Without noise, σ 3 must be 0 modification

Computing F matrix (Singularity constraint)

Summary u Pinhole camera and Affine camera u Intrinsic and extrinsic camera parameter u Epipolar geometry u Fundamental matrix