Epipolar Geometry CSE P576. Dr. Matthew Brown

Similar documents
Epipolar Geometry and Stereo Vision

Structure from Motion. Introduction to Computer Vision CSE 152 Lecture 10

Multiple View Geometry in Computer Vision

Machine vision. Summary # 11: Stereo vision and epipolar geometry. u l = λx. v l = λy

3D Computer Vision. Structure from Motion. Prof. Didier Stricker

Epipolar Geometry and Stereo Vision

Multiview Stereo COSC450. Lecture 8

Multiple View Geometry

Robust Geometry Estimation from two Images

Undergrad HTAs / TAs. Help me make the course better! HTA deadline today (! sorry) TA deadline March 21 st, opens March 15th

55:148 Digital Image Processing Chapter 11 3D Vision, Geometry

Stereo and Epipolar geometry

Reminder: Lecture 20: The Eight-Point Algorithm. Essential/Fundamental Matrix. E/F Matrix Summary. Computing F. Computing F from Point Matches

Step-by-Step Model Buidling

Two-View Geometry (Course 23, Lecture D)

Correspondence and Stereopsis. Original notes by W. Correa. Figures from [Forsyth & Ponce] and [Trucco & Verri]

Stereo Vision. MAN-522 Computer Vision

Announcements. Stereo

Two-view geometry Computer Vision Spring 2018, Lecture 10

Homographies and RANSAC

EE795: Computer Vision and Intelligent Systems

3D Sensing and Reconstruction Readings: Ch 12: , Ch 13: ,

Dense 3D Reconstruction. Christiano Gava

Image Rectification (Stereo) (New book: 7.2.1, old book: 11.1)

Computer Vision I - Algorithms and Applications: Multi-View 3D reconstruction

Fundamental Matrix & Structure from Motion

Reconstructing Reflective and Transparent Surfaces from Epipolar Plane Images

Announcements. Stereo

Epipolar geometry. x x

Final project bits and pieces

CS231A Midterm Review. Friday 5/6/2016

55:148 Digital Image Processing Chapter 11 3D Vision, Geometry

CS664 Lecture #19: Layers, RANSAC, panoramas, epipolar geometry

A New Representation for Video Inspection. Fabio Viola

Last lecture. Passive Stereo Spacetime Stereo

Structure from Motion

Chaplin, Modern Times, 1936

calibrated coordinates Linear transformation pixel coordinates

Srikumar Ramalingam. Review. 3D Reconstruction. Pose Estimation Revisited. School of Computing University of Utah

Dense 3D Reconstruction. Christiano Gava

Final Exam Study Guide CSE/EE 486 Fall 2007

Camera Calibration. Schedule. Jesus J Caban. Note: You have until next Monday to let me know. ! Today:! Camera calibration

Lecture 9: Epipolar Geometry

Computer Vision Lecture 17

Lecture 14: Basic Multi-View Geometry

Epipolar Geometry Prof. D. Stricker. With slides from A. Zisserman, S. Lazebnik, Seitz

Computer Vision Lecture 17

CS 4495 Computer Vision A. Bobick. Motion and Optic Flow. Stereo Matching

CS201 Computer Vision Camera Geometry

MAPI Computer Vision. Multiple View Geometry

Recap from Previous Lecture

There are many cues in monocular vision which suggests that vision in stereo starts very early from two similar 2D images. Lets see a few...

Epipolar Geometry and Stereo Vision

Rectification and Disparity

Multiple Views Geometry

Geometry of Multiple views

Lecture 10: Multi view geometry

Structure from motion

Geometry for Computer Vision

Epipolar Geometry and the Essential Matrix

Rectification and Distortion Correction

Depth from two cameras: stereopsis

Srikumar Ramalingam. Review. 3D Reconstruction. Pose Estimation Revisited. School of Computing University of Utah

Structure from Motion

Structure from Motion and Multi- view Geometry. Last lecture

Camera Geometry II. COS 429 Princeton University

Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book)

Lecture 10: Multi-view geometry

CSE 252B: Computer Vision II

Lecture 6 Stereo Systems Multi- view geometry Professor Silvio Savarese Computational Vision and Geometry Lab Silvio Savarese Lecture 6-24-Jan-15

Unit 3 Multiple View Geometry

6.819 / 6.869: Advances in Computer Vision Antonio Torralba and Bill Freeman. Lecture 11 Geometry, Camera Calibration, and Stereo.

CSCI 5980/8980: Assignment #4. Fundamental Matrix

Camera Drones Lecture 3 3D data generation

But First: Multi-View Projective Geometry

Today. Stereo (two view) reconstruction. Multiview geometry. Today. Multiview geometry. Computational Photography

Structure from Motion

Depth from two cameras: stereopsis

Structure from motion

Fundamental Matrix & Structure from Motion

Epipolar Geometry and Stereo Vision

Colorado School of Mines. Computer Vision. Professor William Hoff Dept of Electrical Engineering &Computer Science.

C / 35. C18 Computer Vision. David Murray. dwm/courses/4cv.

Index. 3D reconstruction, point algorithm, point algorithm, point algorithm, point algorithm, 253

CS 4495 Computer Vision A. Bobick. Motion and Optic Flow. Stereo Matching

Lecture 6 Stereo Systems Multi-view geometry

Lecture 5 Epipolar Geometry

Computer Vision I - Robust Geometry Estimation from two Cameras

Multi-stable Perception. Necker Cube

Lecture 9 & 10: Stereo Vision

LUMS Mine Detector Project

CS 231A Computer Vision (Winter 2015) Problem Set 2

Index. 3D reconstruction, point algorithm, point algorithm, point algorithm, point algorithm, 263

Recap: Features and filters. Recap: Grouping & fitting. Now: Multiple views 10/29/2008. Epipolar geometry & stereo vision. Why multiple views?

EE795: Computer Vision and Intelligent Systems

Stereo II CSE 576. Ali Farhadi. Several slides from Larry Zitnick and Steve Seitz

Camera Model and Calibration

Computer Vision I. Announcements. Random Dot Stereograms. Stereo III. CSE252A Lecture 16

Structure from Motion. Prof. Marco Marcon

Stereo CSE 576. Ali Farhadi. Several slides from Larry Zitnick and Steve Seitz

Transcription:

Epipolar Geometry CSE P576 Dr. Matthew Brown

Epipolar Geometry Epipolar Lines, Plane Constraint Fundamental Matrix, Linear solution + RANSAC Applications: Structure from Motion, Stereo [ Szeliski 11] 2

2-view Geometry How do we transfer points between 2 views? (u 1,v 1 ) (u 2,v 2 )? 3

X<latexit sha1_base64="nietpjtpxuzhajhprtgjay03bgk=">aaab7hicbvbns8naej3ur1q/qh69lbbbu0leqmeif48vtftoq9lsj+3szsbsboqs+hu8efdeqz/im//gbzudtj4yelw3w8y8mbvcg9f9dkobm1vbo+xdyt7+wefr9fikrznmmfrzihlvdalgwsx6hhub3vqhjuobnxbyn/c7t6g0t+sjmayyxhqkecqznvby+2feuonqza27c5b14hwkbgvag+pxf5iwlezpmkba9zw3nufolefm4kzszzsmle3ochuwshqjdvlfstnyyzuhirjlsxqyuh9p5dtwehqhtjomzqxxvbn4n9flthqt5fymmuhjlouitbctkpnnzmgvmiomllcmul2vsdfvlbmbt8wg4k2+ve7av3xprxsp17xmbrfhgc7ghc7bgwy04r5a4amdds/wcm+odf6cd+dj2vpyiplt+apn8wc4fi5i</latexit> <latexit sha1_base64="nietpjtpxuzhajhprtgjay03bgk=">aaab7hicbvbns8naej3ur1q/qh69lbbbu0leqmeif48vtftoq9lsj+3szsbsboqs+hu8efdeqz/im//gbzudtj4yelw3w8y8mbvcg9f9dkobm1vbo+xdyt7+wefr9fikrznmmfrzihlvdalgwsx6hhub3vqhjuobnxbyn/c7t6g0t+sjmayyxhqkecqznvby+2feuonqza27c5b14hwkbgvag+pxf5iwlezpmkba9zw3nufolefm4kzszzsmle3ochuwshqjdvlfstnyyzuhirjlsxqyuh9p5dtwehqhtjomzqxxvbn4n9flthqt5fymmuhjlouitbctkpnnzmgvmiomllcmul2vsdfvlbmbt8wg4k2+ve7av3xprxsp17xmbrfhgc7ghc7bgwy04r5a4amdds/wcm+odf6cd+dj2vpyiplt+apn8wc4fi5i</latexit> <latexit sha1_base64="nietpjtpxuzhajhprtgjay03bgk=">aaab7hicbvbns8naej3ur1q/qh69lbbbu0leqmeif48vtftoq9lsj+3szsbsboqs+hu8efdeqz/im//gbzudtj4yelw3w8y8mbvcg9f9dkobm1vbo+xdyt7+wefr9fikrznmmfrzihlvdalgwsx6hhub3vqhjuobnxbyn/c7t6g0t+sjmayyxhqkecqznvby+2feuonqza27c5b14hwkbgvag+pxf5iwlezpmkba9zw3nufolefm4kzszzsmle3ochuwshqjdvlfstnyyzuhirjlsxqyuh9p5dtwehqhtjomzqxxvbn4n9flthqt5fymmuhjlouitbctkpnnzmgvmiomllcmul2vsdfvlbmbt8wg4k2+ve7av3xprxsp17xmbrfhgc7ghc7bgwy04r5a4amdds/wcm+odf6cd+dj2vpyiplt+apn8wc4fi5i</latexit> <latexit sha1_base64="nietpjtpxuzhajhprtgjay03bgk=">aaab7hicbvbns8naej3ur1q/qh69lbbbu0leqmeif48vtftoq9lsj+3szsbsboqs+hu8efdeqz/im//gbzudtj4yelw3w8y8mbvcg9f9dkobm1vbo+xdyt7+wefr9fikrznmmfrzihlvdalgwsx6hhub3vqhjuobnxbyn/c7t6g0t+sjmayyxhqkecqznvby+2feuonqza27c5b14hwkbgvag+pxf5iwlezpmkba9zw3nufolefm4kzszzsmle3ochuwshqjdvlfstnyyzuhirjlsxqyuh9p5dtwehqhtjomzqxxvbn4n9flthqt5fymmuhjlouitbctkpnnzmgvmiomllcmul2vsdfvlbmbt8wg4k2+ve7av3xprxsp17xmbrfhgc7ghc7bgwy04r5a4amdds/wcm+odf6cd+dj2vpyiplt+apn8wc4fi5i</latexit> 2-view Geometry How do we transfer points between 2 views? (planar case) (u 1,v 1 ) (u 2,v 2 )? Planar case: one-to-one mapping via plane 4

2-view Geometry How do we transfer points between 2 views? (non-planar) X? X? X? (u 1,v 1 ) (u 2,v 2 )? Non-planar case: depends on the depth of the 3D point 5

Epipolar Line How do we transfer points between 2 views? (non-planar) X? X? X? (u 1,v 1 ) (u 2,v 2 )? A point in image 1 gives a line in image 2 6

Epipolar Lines [ R. Cipolla ] 7

Epipolar Lines [ R. Cipolla ] 8

The Epipolar Constraint For rays to intersect at a point (X), the two rays and the camera translation must lie in the same plane 3.10 9

Epipolar Geometry Example: 2-view matching in 3D 10

Raw SIFT matches Epipolar Geometry 11

Epipolar lines Epipolar Geometry? Can use RANSAC to find inliers with small distance from epipolar line 12

Consistent matches Epipolar Geometry 13

<latexit sha1_base64="3myafgfbz85tqxrlykm907s7qug=">aaacs3ichzfnt9wweiadul7sqhc4crg6kuppfsducefc7avhkngfabmkjjnzlbwnsh3eksof5nhb/02dsbflqepihr2az0yznklkwbxx/t+ou/zhfwnza9v7+gln9/ngb3+ii0oxglncfoomoroelza23ai4krxqpbfwndz/bpn1ayjnc3llfixmcjqxpoomghukb09elmccyzrjqvh8sfgqmoaj/nb5tlwizpocv5ozucakszmtchornlhuoqbhqy+chou9cnsuhs1/mj3gxbyvor862jnnx4ohp/i7w28fwyohwtpfppgdpqwrcpcgcar1lpilmdvugc4e2p6vhpkyezqhqzws5qbndbfzbn+1krrnhbjpgtxf/62oaa71ik9spp3xtq+ynvgem1ymo53vxjavacmeg2wvwkba7qfxyhuwixzwuka4nrwzo6oom/bmnl0cwf3ywzejrsqfkcvj4fmp5tq20ch6gr4hgk7qofqfltaymcd3jk7s3lrf3ambuolzqussaw7qk3pzv55szeg=</latexit> <latexit sha1_base64="3myafgfbz85tqxrlykm907s7qug=">aaacs3ichzfnt9wweiadul7sqhc4crg6kuppfsducefc7avhkngfabmkjjnzlbwnsh3eksof5nhb/02dsbflqepihr2az0yznklkwbxx/t+ou/zhfwnza9v7+gln9/ngb3+ii0oxglncfoomoroelza23ai4krxqpbfwndz/bpn1ayjnc3llfixmcjqxpoomghukb09elmccyzrjqvh8sfgqmoaj/nb5tlwizpocv5ozucakszmtchornlhuoqbhqy+chou9cnsuhs1/mj3gxbyvor862jnnx4ohp/i7w28fwyohwtpfppgdpqwrcpcgcar1lpilmdvugc4e2p6vhpkyezqhqzws5qbndbfzbn+1krrnhbjpgtxf/62oaa71ik9spp3xtq+ynvgem1ymo53vxjavacmeg2wvwkba7qfxyhuwixzwuka4nrwzo6oom/bmnl0cwf3ywzejrsqfkcvj4fmp5tq20ch6gr4hgk7qofqfltaymcd3jk7s3lrf3ambuolzqussaw7qk3pzv55szeg=</latexit> <latexit sha1_base64="3myafgfbz85tqxrlykm907s7qug=">aaacs3ichzfnt9wweiadul7sqhc4crg6kuppfsducefc7avhkngfabmkjjnzlbwnsh3eksof5nhb/02dsbflqepihr2az0yznklkwbxx/t+ou/zhfwnza9v7+gln9/ngb3+ii0oxglncfoomoroelza23ai4krxqpbfwndz/bpn1ayjnc3llfixmcjqxpoomghukb09elmccyzrjqvh8sfgqmoaj/nb5tlwizpocv5ozucakszmtchornlhuoqbhqy+chou9cnsuhs1/mj3gxbyvor862jnnx4ohp/i7w28fwyohwtpfppgdpqwrcpcgcar1lpilmdvugc4e2p6vhpkyezqhqzws5qbndbfzbn+1krrnhbjpgtxf/62oaa71ik9spp3xtq+ynvgem1ymo53vxjavacmeg2wvwkba7qfxyhuwixzwuka4nrwzo6oom/bmnl0cwf3ywzejrsqfkcvj4fmp5tq20ch6gr4hgk7qofqfltaymcd3jk7s3lrf3ambuolzqussaw7qk3pzv55szeg=</latexit> <latexit sha1_base64="3myafgfbz85tqxrlykm907s7qug=">aaacs3ichzfnt9wweiadul7sqhc4crg6kuppfsducefc7avhkngfabmkjjnzlbwnsh3eksof5nhb/02dsbflqepihr2az0yznklkwbxx/t+ou/zhfwnza9v7+gln9/ngb3+ii0oxglncfoomoroelza23ai4krxqpbfwndz/bpn1ayjnc3llfixmcjqxpoomghukb09elmccyzrjqvh8sfgqmoaj/nb5tlwizpocv5ozucakszmtchornlhuoqbhqy+chou9cnsuhs1/mj3gxbyvor862jnnx4ohp/i7w28fwyohwtpfppgdpqwrcpcgcar1lpilmdvugc4e2p6vhpkyezqhqzws5qbndbfzbn+1krrnhbjpgtxf/62oaa71ik9spp3xtq+ynvgem1ymo53vxjavacmeg2wvwkba7qfxyhuwixzwuka4nrwzo6oom/bmnl0cwf3ywzejrsqfkcvj4fmp5tq20ch6gr4hgk7qofqfltaymcd3jk7s3lrf3ambuolzqussaw7qk3pzv55szeg=</latexit> Computing F Single correspondence gives us one equation 2 3 2 u1 v 1 1 f 11 f 12 f 13 4f 21 f 22 f 5 4 23 f 31 f 32 f 33 x 1 y 1 1 3 5 =0 Multiply out u 1 x 1 f 11 + u 1 y 1 f 12 + u 1 f 13 + v 1 x 1 f 21 + v 1 y 1 f 22 +v 1 f 23 + x 1 f 31 + y 1 f 32 + f 33 =0 14

Computing F Rearrange for unknowns, add points by stacking rows [ u 1 x 1 u 1 y 1 u 1 v 1 x 1 v 1 y 1 v 1 x 1 y 1 1] [ u 2 x 2 u 2 y 2 u 2 v 2 x 2 v 2 y 2 v 2 x 2 y 2 1] [ u 3 x 3 u 3 y 3 u 3 v 3 x 3 v 3 y 3 v 3 x 3 y 3 1] [ u 4 x 4 u 4 y 4 u 4 v 4 x 4 v 4 y 4 v 4 x 4 y 4 1] [ u 5 x 5 u 5 y 5 u 5 v 5 x 5 v 5 y 5 v 5 x 5 y 5 1] [ u 6 x 6 u 6 y 6 u 6 v 6 x 6 v 6 y 6 v 6 x 6 y 6 1] [ u 7 x 7 u 7 y 7 u 7 v 7 x 7 v 7 y 7 v 7 x 7 y 7 1] [ u 8 x 8 u 8 y 8 u 8 v 8 x 8 v 8 y 8 v 8 x 8 y 8 1] 2 6 4 f 11 f 12 f 13 f 21 f 22 f 23 f 31 f 32 f 33 3 7 5 = 2 3 0 0 0 0 0 60 7 405 0 This is a linear system of the form Af = 0 can be solved using Singular Value Decomposition (SVD) 15

Pairwise Matching Find feature matches and use RANSAC to find inliers to F 16

Structure from Motion Given an (unordered) set of input images, compute camera positions and 3D structure of the scene 17

Sparse Reconstruction 18

Dense Reconstruction Use multiview stereo to compute dense depth (search along epipolar lines for matches) 19

Stereo Matching Stereo cameras are typically arranged by horizontal translation so epipolar lines (thus point matches) are horizontal (a) (b) (c) Stereo algorithms attempt to match along scanlines to find depth [ D. Scharstein ] 20

Disparity and Depth [ D. Scharstein ] 21

Stereo Images Image pair with depth dependent disparity 22

3D TV Most common use field sequential (shutter) glasses Transmit alternate left/right image at 120Hz Glasses free 3D systems send different images directly to each eye 23

Recap: 2-view Geometry Planar geometry: one to one mapping of points u = Hx viewing a plane, rotation full 3D 24

Recap: 2-view Geometry Epipolar geometry: point to line mapping u T Fx =0 moving camera, 3D scene 25

Recap: RANSAC Robust estimation of H/F and consistent matches Raw feature matches RANSAC for F 26

Next Lecture Multiview geometry + optimization 27