Introduction to Computer Vision. Week 10, Winter 2010 Instructor: Prof. Ko Nishino
|
|
- Jeffrey Fleming
- 6 years ago
- Views:
Transcription
1 Introduction to Computer Vision Week 10, Winter 2010 Instructor: Prof. Ko Nishino
2 Today How do we recover geometry from 2 views? Stereo Can we recover geometry from a sequence of images Structure-from-Motion
3 Stereo
4 Recovering 3D from Images How can we automatically compute 3D geometry from images? What cues in the image provide 3D information?
5 Visual Cues Shading Merle Norman Cosmetics, Los Angeles
6 Visual Cues Shading Texture The Visual Cliff, by William Vandivert, 1960
7 Visual Cues Shading Texture Focus From The Art of Photography, Canon
8 Visual Cues Shading Texture Focus Motion
9 Visual Cues Shading Texture Focus Motion Others: Highlights Shadows Silhouettes Inter-reflections Symmetry Light Polarization... Shape From X X = shading, texture, focus, motion,... In this class we ll focus on the motion cue
10
11 Public Library, Stereoscopic Looking Room, Chicago, by Phillips, 1923
12 Teesta suspension bridge-darjeeling, India
13 Mark Twain at Pool Table", no date, UCR Museum of Photography
14 Woman getting eye exam during immigration procedure at Ellis Island, c , UCR Museum of Phography
15 3-D Images Ltd.
16 Zuihoin, Kyoto by
17 Nike of Samothrace, Louvre by
18 By Shree Nayar
19 Anaglyphs Art and architecture around the world by ArtServe ANU.EDU.AU JPL.NASA Create your own!
20 Disparity and Depth ( X, Y, Z) scene left image Assume that we know P ( x, Z ) PL L Y b L y L X baseline corresponds to PR right image x, P ( ) R R y R From perspective projection (define the coordinate system as shown above) x X + b L = 2 f Z x X b R = 2 f Z y f y f L R = = Y Z
21 Disparity and Depth ( X, Y, Z) scene d = X x X + b L = 2 f Z x X b R = 2 f Z y f y f L R = = b( xl + xr) b( yl yr) = Y 2 ( x x ) = + bf Z = 2 ( x x ) ( ) x L x R left image L R P ( x, ) L b L y L baseline L R right image x, P ( ) x L x R is the disparity between corresponding left and right image points R R y R Y Z inverse proportional to depth disparity increases with baseline b
22 Vergence uncertainty of scenepoint field of view of stereo one pixel Optical axes of the two cameras need not be parallel Field of view decreases with increase in baseline and vergence (the right image is a bit deceptive) Accuracy increases with baseline and vergence
23 Stereo
24 Stereo Basic Principle: Triangulation Gives reconstruction as intersection of two rays Requires calibration point correspondence
25 Stereo Correspondence Determine Pixel Correspondence Pairs of points that correspond to same scene point epipolar plane Epipolar Constraint Reduces correspondence problem to 1D search along conjugate epipolar lines Java demo:
26 Fundamental Matrix Let p be a point in left image, p in right image l l Epipolar relation p maps to epipolar line l p maps to epipolar line l p p Epipolar mapping described by a 3x3 matrix F It follows that
27 Fundamental Matrix This matrix F is called the Essential Matrix when image intrinsic parameters are known the Fundamental Matrix more generally (uncalibrated case) Can solve for F from point correspondences Each (p, p ) pair gives one linear equation in entries of F 8 points give enough to solve for F (8-point algorithm)
28 So far Computer F For each point Computer epipolar line using F Search along the epipolar line But slanted epipolar lines are hard to search along!
29 Stereo Image Rectification
30 Stereo Image Rectification reproject image planes onto a common plane parallel to the line between optical centers pixel motion is horizontal after this transformation two homographies (3x3 transform), one for each input image reprojection C. Loop and Z. Zhang. Computing Rectifying Homographies for Stereo Vision. IEEE Conf. Computer Vision and Pattern Recognition, 1999.
31 Stereo Matching Algorithms Match Pixels in Conjugate Epipolar Lines Assume brightness constancy This is a tough problem Numerous approaches dynamic programming [Baker 81,Ohta 85] smoothness functionals more images (trinocular, N-ocular) [Okutomi 93] graph cuts [Boykov 00] A good survey and evaluation:
32 Basic Stereo Algorithm For each epipolar line For each pixel in the left image compare with every pixel on same epipolar line in right image pick pixel with minimum match cost Improvement: match windows This should look familar... Correlation, Sum of Squared Difference (SSD), etc.
33 Window size Effect of window size Smaller window good? bad? Larger window good? bad? W = 3 W = 20 Better results with adaptive window T. Kanade and M. Okutomi, A Stereo Matching Algorithm with an Adaptive Window: Theory and Experiment,, Proc. International Conference on Robotics and Automation, D. Scharstein and R. Szeliski. Stereo matching with nonlinear diffusion. International Journal of Computer Vision, 28(2): , July 1998
34 Stereo Results Data from University of Tsukuba Similar results on other images without ground truth Scene Ground truth
35 Results with Window Search Window-based matching (best window size) Ground truth
36 Stereo as Energy Minimization Matching Cost Formulated as Energy data term penalizing bad matches D ( x, y, d) = I( x, y) J( x + d, y) neighborhood term encouraging spatial smoothness V ( d 1, d2) = = cost of adjacent pixels with labelsd1and d2 d 1 d 2 (or somethingsimilar) E = D( x, y, d x y ) + ( x, y), V ( d x1, y1, d x2, y2) neighbors ( x1, y1),( x2, y2)
37 Stereo as A Graph Problem [Boykov, 1999] edge weight D( x, y, d3) d 3 d 2 d 1 Labels (disparities) Pixels edge weight V ( d, d 1 1)
38 Graph Definition d 3 d 2 d 1 Initial state Each pixel connected to it s immediate neighbors Each disparity label connected to all of the pixels
39 Stereo Matching by Graph Cuts d 3 d 2 d 1 Graph Cut Delete enough edges so that each pixel is (transitively) connected to exactly one label node Cost of a cut: sum of deleted edge weights Finding min cost cut equivalent to finding global minimum of the energy function
40 Computing a Multiway Cut With two labels: classical min-cut problem Solvable by standard network flow algorithms polynomial time in theory, nearly linear in practice More than 2 labels: NP-hard [Dahlhaus et al., STOC 92] But efficient approximation algorithms exist Within a factor of 2 of optimal Computes local minimum in a strong sense even very large moves will not improve the energy Yuri Boykov, Olga Veksler and Ramin Zabih, Fast Approximate Energy Minimization via Graph Cuts, International Conference on Computer Vision, September Basic idea reduce to a series of 2-way-cut sub-problems, using one of: swap move: pixels with label l1 can change to l2, and vice-versa expansion move: any pixel can change it s label to l1
41 Using Graph-Cuts Boykov et al., Fast Approximate Energy Minimization via Graph Cuts, International Conference on Computer Vision, September Ground truth
42 Disparity and Depth ( X, Y, Z) scene d = X left image x X + b L = 2 f Z P ( x, Z ) L Y b L y L X baseline x X b R = 2 f Z right image x, P ( ) R y f R y R y f L R = = b( xl + xr) b( yl yr) = Y 2 ( x x ) = + bf Z = 2 ( x x ) ( ) x L x R L R L R x L x R is the disparity between corresponding left and right image points Y Z inverse proportional to depth disparity increases with baseline b
43 Stereo Example left image right image depth map H. Tao et al. Global matching criterion and color segmentation based stereo
44 Stereo Example H. Tao et al. Global matching criterion and color segmentation based stereo
45 Stereo Example H. Tao et al. Global matching criterion and color segmentation based stereo
46 Stereo Reconstruction Pipeline Steps Calibrate cameras Rectify images Compute disparity Estimate depth What will cause errors? Camera calibration errors Poor image resolution Occlusions Violations of brightness constancy (specular reflections) Large motions Low-contrast image regions
47 Active Stereo with Structured Light Li Zhang s one-shot stereo camera 1 camera 1 projector projector camera 2 Project structured light patterns onto the object simplifies the correspondence problem
48 Active Stereo with Structured Light
49 Structured Light Scanning Gray Code By Gabriel Taubin
50 Laser Scanning Object Laser sheet Direction of travel CCD image plane Laser Cylindrical lens CCD Digital Michelangelo Project Optical triangulation Project a single stripe of laser light Scan it across the surface of the object This is a very precise version of structured light scanning
51 Laser Scanned Models The Digital Michelangelo Project, Levoy et al.
52 Laser Scanned Models The Digital Michelangelo Project, Levoy et al.
53 Laser Scanned Models The Digital Michelangelo Project, Levoy et al.
54 Laser Scanned Models The Digital Michelangelo Project, Levoy et al.
55 Laser Scanned Models The Digital Michelangelo Project, Levoy et al.
56 Visual Cues Shading Texture Focus Motion
57 Structure from Motion Many of the slides courtesy of Prof. O. Camp
58 Structure from Motion Use small disparities to track features Integrate long sequences over time Find the structure (shape) and motion
59 SfM and Stereo Stereo: Two or more frames SfM: Two or more frames
60 Assumptions Orthographic projection We will find structure up to a scale factor n not all coplanar points P 1,P 2,,P n have been tracked in F frames, with F >=3
61 World to Camera Transform P C = R ( P W - C ) C P x C P y C P z 1 r 11 r 21 r 31 0 r 12 r 22 r 32 0 r 13 r 23 r c c c 1 x y z W P x W P y W P z 1 P C. = M ext P W
62 Perspective Projection
63 Perspective Projection x!=! y!=! f! f! X! Z! Y! Z!
64 Simplification: Weak Perspective x!=! y!=! f! Z! o! f! Z! o! X! Y!
65 Simpler: Orthographic Projection x!=!x! y!=!y!
66 Perspective Matrix Equation (Camera Coordinates)
67 Weak Perspective Approximation x = y = f Z o f Z o X Y Z 0 Z 0 0 Z 0
68 Orthographic Projection x = X y = Y x y = X Y Z 1
69 Combine with External Params x! y! 1! 0! 0! 0! r 11! r 12! r 13! 0! 0! 1! 0! 0! r 21!r 22! r 23! 0! r 31!r 32! r 33! 0! 0! 0! 0! 1! 1! 0! 0! 0! 0! 1! 0! 0! 0! 0! 1! 0! -! c! x! -! c! y! -! c! z! 1! W! P x! W! P y! W! P z! 1! x! y! r 11! r 12! r 21!r 22! r 13! r 23! 0! 0! 1! 0! 0! 0! 0! 1! 0! 0! 0! 0! 1! 0! -! c! x! -! c! y! -! c! z! 1! W! P x! W! P y! W! P z! 1!
70 Combine with External Params x! y! r 11! r 12! r 21!r 22! r 13! r 23! 0! 0! 1! 0! 0! 0! 0! 1! 0! 0! 0! 0! 1! 0! -! c! x! -! c! y! -! c! z! 1! W! P x! W! P y! W! P z! 1! x! y! r 11! r 12! r 21!r 22! r 13! r 23! W! P x! W! P y! -! W! -! P z! -! c! x! c! y! c! z!
71 Orthographic: Algebraic Equation x! y! i T! r 11! r 12! r 13! r 21!r 22! r 23! j T! P W! P x! W! P y! -! W! -! P z! -! T c! x! c! y! c! z! x = i T ( P - T )! y = j T ( P - T )!
72 Multiple Points, Multiple Frames x = i T ( P - T )! y = j T ( P - T )! n points! P 1 P 2 P i P n! F frames! i 1 i 2 i t i F! j 1 j 2 j t j F! T 1 T 2 T t T F! x ti = i t T ( P i - T t )! y ti = j t T ( P i - T t )!
73 Factorization Approach x ti = i t T ( P i - T t )! y tj = j t T ( P i - T t )! n points! P 1 P 2 P i P n! (We want to recover these)! Note that absolute position of the set of points is " something that cannot be uniquely recovered, so! First Trick: set the origin of the world coordinate" system to be the center of mass of the n points!! n! n!
74 Tomasi & Kanade Factorization Method World! Image!
75 Tomasi & Kanade Factorization Method World! Image!
76 Factorization Approach Second Trick: subtract off the center of mass of the" 2D points in each frame. (Centering)! x ti = i t T ( P i - T t )! y ti = j t T ( P i - T t )!
77 Tomasi & Kanade Factorization Method World! Image!
78 Factorization Approach x ti = i t T ( P i - T t )! y ti = j t T ( P i - T t )! centering! What have we accomplished so far?! 1) Removed unknown camera locations from equations.! 2) More importantly, we can now write everything " As a big matrix equation!
79 Factorization Approach Form a matrix of centered image points.! 2Fxn! ~ x! ~ 11 x! ~ 12 x! 13 ~ x! 1n! All N points" in one frame! ~ x! ~ F1 x! ~ F2 x! F3 ~ x! Fn! ~ y! ~ 11 y! ~ 12 y! 13 ~ y! 1n! ~ y! ~ F1 y! ~ F2 y! F3 ~ y! Fn!
80 Factorization Approach Form a matrix of centered image points.! 2Fxn! ~ x! ~ 11 x! ~ 12 x! 13 ~ x! 1n! Tracking one" point through" all F frames! ~ x! ~ F1 x! ~ F2 x! F3 ~ x! Fn! ~ y! ~ 11 y! ~ 12 y! 13 ~ y! 1n! ~ y! ~ F1 y! ~ F2 y! F3 ~ y! Fn!
81 Factorization Approach matrix of centered image points:! 2Fxn ~ x ~ 11 x 12 x ~ 13 ~ x 1n 2Fx3 i 1 T 3xn ~ x ~ F1 x ~ F2 x F3 ~ x Fn ~ y ~ 11 y 12 y ~ 13 ~ y 1n = i T F j T 1 P 1 P 2 P n ~ y ~ F1 y ~ F2 y F3 ~ y Fn j F T
82 Factorization Approach 2F x n! 2F x 3! 3 x n! W = R S! Centered! measurement! matrix! Motion! (camera! rotation)! Structure! (3D scene" points)!
83 Factorization Approach 2F x N! 2F x 3! 3 x N! W = R S! Rank Theorem:! The 2Fxn centered observation matrix has at most rank 3.! Proof:! Trivial, using the properties:! rank of mxn matrix is at most min(m,n)! rank of A*B is at most min(rank(a),rank(b))!
84 Tomasi & Kanade Factorization Method
85 Rank of a Matrix What is rank of a matrix, anyways?! Number of columns (rows) that are linearly independent.! If matrix A is treated as a linear map, it is the intrinsic" dimension of the space that is mapped into.! M-dimensional! MxN matrix! space! A! N-dimensional! space! This matrix would have rank 1!
86 Factorization Rank Theorem Importance of rank theorem:! Shows that video data is highly redundant! Precisely quantifies the redundancy! Suggests an algorithm for solving SFM!
87 Tomasi & Kanade Factorization Method
88 Factorization Approach Form SVD of measurement matrix W! 2Fxn! 2Fx2F! 2Fxn! nxn! W = U D V T! Diagonal matrix with singular values" sorted in decreasing order:! d 11 >= d 22 >= d 33 >=!
89 Factorization Approach Form SVD of measurement matrix W! 2Fxn! 2Fx2F! 2Fxn! nxn! W = U D V T! Another useful rank property:! Rank of a matrix is equal to the number of" nonzero singular values.! d 11, d 22, d 33 are only nonzero singular values (the rest are 0).!
90 Factorization Approach 2Fxn! 2Fx2F! 2Fxn! nxn! =! *! *! Singular values in" decreasing order!
91 Factorization Approach 2Fxn! 2Fx2F! 2Fxn! nxn! =! *! *! Rank theorem says:! These 3 are nonzero! These should be zero! In practice, due to noise, there may be more than" 3 nonzero singular values, but rank theorem tells us" to ignore all but the largest three.!
92 Factorization Approach 2Fxn! 2Fx2F! 2Fxn! nxn! 2Fx3! 3x3! 3xN! =! *! *! W = U D V T!
93 Factorization Approach Observed image points! W = SVD! U D V T! W = U D 1/2 D 1/2 V T! 2Fxn! 2Fx3! 3xn! W = R S! Camera" motion! Scene" structure!
94 Tomasi & Kanade Factorization Method Ambiguity
95 Tomasi & Kanade Factorization Method
96 Tomasi & Kanade Factorization Method
97 Solving the Ambiguity Solution to both problems:! Solve for Q such that appropriate rows of R satisfy! unit vectors! orthogonal! 3F equations in 9 unknowns" Note that these are nonlinear equations! (Still the solution is up to arbitrary rotation!!-- fix it such that the first frame is identity)!
98 Factorization Summary Assumptions! - orthographic camera! - n non-coplanar points tracking in F>=3 frames! ~! ~! Form the centered measurement matrix W=[X ; Y]! ~! - where x ti = x ti mx t! ~! - where y ti = y ti my t! - mx t and my t are mean of points in frame t! - i ranges over set of points! Rank theorem: The centered measurement matrix " has a rank of at most 3!
99 Factorization Algorithm 1) Form the centered measurement matrix W from n points " tracked over F frames.! 2) Compute SVD of W = U D V T " - U is 2Fx2F" - D is 2Fxn" - V T is nxn! 3) Take largest 3 singular values, and form " - D = 3x3 diagonal matrix of largest eigenvalues" - U = 2Fx3 matrix of corresponding column vectors from U" - V T = 3xn matrix of corresponding row vectors from V T! 4) Define" R = U D 1/2 and S = D 1/2 V T! 5) Solve for Q that makes appropriate rows of R orthogonal! 6) Final solution is " R* = R Q and S* = Q -1 S!
100 Four of 150 Input Images
101 Tracked Corner Features
102 3-D Reconstruction
103 Building
104 Reconstruction Reconstruction after Triangulation and Texture Mapping!
105 Input
106 Reconstruction
107 Reconstruction
Project 3 code & artifact due Tuesday Final project proposals due noon Wed (by ) Readings Szeliski, Chapter 10 (through 10.5)
Announcements Project 3 code & artifact due Tuesday Final project proposals due noon Wed (by email) One-page writeup (from project web page), specifying:» Your team members» Project goals. Be specific.
More informationRecap from Previous Lecture
Recap from Previous Lecture Tone Mapping Preserve local contrast or detail at the expense of large scale contrast. Changing the brightness within objects or surfaces unequally leads to halos. We are now
More informationProject 2 due today Project 3 out today. Readings Szeliski, Chapter 10 (through 10.5)
Announcements Stereo Project 2 due today Project 3 out today Single image stereogram, by Niklas Een Readings Szeliski, Chapter 10 (through 10.5) Public Library, Stereoscopic Looking Room, Chicago, by Phillips,
More informationWhat have we leaned so far?
What have we leaned so far? Camera structure Eye structure Project 1: High Dynamic Range Imaging What have we learned so far? Image Filtering Image Warping Camera Projection Model Project 2: Panoramic
More informationCS5670: Computer Vision
CS5670: Computer Vision Noah Snavely, Zhengqi Li Stereo Single image stereogram, by Niklas Een Mark Twain at Pool Table", no date, UCR Museum of Photography Stereo Given two images from different viewpoints
More informationPublic Library, Stereoscopic Looking Room, Chicago, by Phillips, 1923
Public Library, Stereoscopic Looking Room, Chicago, by Phillips, 1923 Teesta suspension bridge-darjeeling, India Mark Twain at Pool Table", no date, UCR Museum of Photography Woman getting eye exam during
More informationMultiple View Geometry
Multiple View Geometry Martin Quinn with a lot of slides stolen from Steve Seitz and Jianbo Shi 15-463: Computational Photography Alexei Efros, CMU, Fall 2007 Our Goal The Plenoptic Function P(θ,φ,λ,t,V
More informationLecture 14: Computer Vision
CS/b: Artificial Intelligence II Prof. Olga Veksler Lecture : Computer Vision D shape from Images Stereo Reconstruction Many Slides are from Steve Seitz (UW), S. Narasimhan Outline Cues for D shape perception
More informationBinocular stereo. Given a calibrated binocular stereo pair, fuse it to produce a depth image. Where does the depth information come from?
Binocular Stereo Binocular stereo Given a calibrated binocular stereo pair, fuse it to produce a depth image Where does the depth information come from? Binocular stereo Given a calibrated binocular stereo
More informationToday. Stereo (two view) reconstruction. Multiview geometry. Today. Multiview geometry. Computational Photography
Computational Photography Matthias Zwicker University of Bern Fall 2009 Today From 2D to 3D using multiple views Introduction Geometry of two views Stereo matching Other applications Multiview geometry
More informationBIL Computer Vision Apr 16, 2014
BIL 719 - Computer Vision Apr 16, 2014 Binocular Stereo (cont d.), Structure from Motion Aykut Erdem Dept. of Computer Engineering Hacettepe University Slide credit: S. Lazebnik Basic stereo matching algorithm
More informationStereo. 11/02/2012 CS129, Brown James Hays. Slides by Kristen Grauman
Stereo 11/02/2012 CS129, Brown James Hays Slides by Kristen Grauman Multiple views Multi-view geometry, matching, invariant features, stereo vision Lowe Hartley and Zisserman Why multiple views? Structure
More informationLecture 9 & 10: Stereo Vision
Lecture 9 & 10: Stereo Vision Professor Fei- Fei Li Stanford Vision Lab 1 What we will learn today? IntroducEon to stereo vision Epipolar geometry: a gentle intro Parallel images Image receficaeon Solving
More informationStereo vision. Many slides adapted from Steve Seitz
Stereo vision Many slides adapted from Steve Seitz What is stereo vision? Generic problem formulation: given several images of the same object or scene, compute a representation of its 3D shape What is
More informationPassive 3D Photography
SIGGRAPH 99 Course on 3D Photography Passive 3D Photography Steve Seitz Carnegie Mellon University http:// ://www.cs.cmu.edu/~seitz Talk Outline. Visual Cues 2. Classical Vision Algorithms 3. State of
More informationLecture 10: Multi view geometry
Lecture 10: Multi view geometry Professor Fei Fei Li Stanford Vision Lab 1 What we will learn today? Stereo vision Correspondence problem (Problem Set 2 (Q3)) Active stereo vision systems Structure from
More informationComputer Vision Lecture 17
Computer Vision Lecture 17 Epipolar Geometry & Stereo Basics 13.01.2015 Bastian Leibe RWTH Aachen http://www.vision.rwth-aachen.de leibe@vision.rwth-aachen.de Announcements Seminar in the summer semester
More informationComputer Vision Lecture 17
Announcements Computer Vision Lecture 17 Epipolar Geometry & Stereo Basics Seminar in the summer semester Current Topics in Computer Vision and Machine Learning Block seminar, presentations in 1 st week
More informationPassive 3D Photography
SIGGRAPH 2000 Course on 3D Photography Passive 3D Photography Steve Seitz Carnegie Mellon University University of Washington http://www.cs cs.cmu.edu/~ /~seitz Visual Cues Shading Merle Norman Cosmetics,
More informationStereo II CSE 576. Ali Farhadi. Several slides from Larry Zitnick and Steve Seitz
Stereo II CSE 576 Ali Farhadi Several slides from Larry Zitnick and Steve Seitz Camera parameters A camera is described by several parameters Translation T of the optical center from the origin of world
More informationCS 4495 Computer Vision A. Bobick. Motion and Optic Flow. Stereo Matching
Stereo Matching Fundamental matrix Let p be a point in left image, p in right image l l Epipolar relation p maps to epipolar line l p maps to epipolar line l p p Epipolar mapping described by a 3x3 matrix
More informationThere are many cues in monocular vision which suggests that vision in stereo starts very early from two similar 2D images. Lets see a few...
STEREO VISION The slides are from several sources through James Hays (Brown); Srinivasa Narasimhan (CMU); Silvio Savarese (U. of Michigan); Bill Freeman and Antonio Torralba (MIT), including their own
More informationCS 4495 Computer Vision A. Bobick. Motion and Optic Flow. Stereo Matching
Stereo Matching Fundamental matrix Let p be a point in left image, p in right image l l Epipolar relation p maps to epipolar line l p maps to epipolar line l p p Epipolar mapping described by a 3x3 matrix
More informationStereo: Disparity and Matching
CS 4495 Computer Vision Aaron Bobick School of Interactive Computing Administrivia PS2 is out. But I was late. So we pushed the due date to Wed Sept 24 th, 11:55pm. There is still *no* grace period. To
More informationChaplin, Modern Times, 1936
Chaplin, Modern Times, 1936 [A Bucket of Water and a Glass Matte: Special Effects in Modern Times; bonus feature on The Criterion Collection set] Multi-view geometry problems Structure: Given projections
More informationStereo and Epipolar geometry
Previously Image Primitives (feature points, lines, contours) Today: Stereo and Epipolar geometry How to match primitives between two (multiple) views) Goals: 3D reconstruction, recognition Jana Kosecka
More informationLecture 10: Multi-view geometry
Lecture 10: Multi-view geometry Professor Stanford Vision Lab 1 What we will learn today? Review for stereo vision Correspondence problem (Problem Set 2 (Q3)) Active stereo vision systems Structure from
More informationMatching. Compare region of image to region of image. Today, simplest kind of matching. Intensities similar.
Matching Compare region of image to region of image. We talked about this for stereo. Important for motion. Epipolar constraint unknown. But motion small. Recognition Find object in image. Recognize object.
More informationStereo. Many slides adapted from Steve Seitz
Stereo Many slides adapted from Steve Seitz Binocular stereo Given a calibrated binocular stereo pair, fuse it to produce a depth image image 1 image 2 Dense depth map Binocular stereo Given a calibrated
More informationEpipolar Geometry and Stereo Vision
Epipolar Geometry and Stereo Vision Computer Vision Jia-Bin Huang, Virginia Tech Many slides from S. Seitz and D. Hoiem Last class: Image Stitching Two images with rotation/zoom but no translation. X x
More informationFinal project bits and pieces
Final project bits and pieces The project is expected to take four weeks of time for up to four people. At 12 hours per week per person that comes out to: ~192 hours of work for a four person team. Capstone:
More informationStereo Matching.
Stereo Matching Stereo Vision [1] Reduction of Searching by Epipolar Constraint [1] Photometric Constraint [1] Same world point has same intensity in both images. True for Lambertian surfaces A Lambertian
More informationStereo Vision. MAN-522 Computer Vision
Stereo Vision MAN-522 Computer Vision What is the goal of stereo vision? The recovery of the 3D structure of a scene using two or more images of the 3D scene, each acquired from a different viewpoint in
More informationAnnouncements. Stereo Vision Wrapup & Intro Recognition
Announcements Stereo Vision Wrapup & Intro Introduction to Computer Vision CSE 152 Lecture 17 HW3 due date postpone to Thursday HW4 to posted by Thursday, due next Friday. Order of material we ll first
More informationEpipolar Geometry and Stereo Vision
Epipolar Geometry and Stereo Vision Computer Vision Shiv Ram Dubey, IIIT Sri City Many slides from S. Seitz and D. Hoiem Last class: Image Stitching Two images with rotation/zoom but no translation. X
More informationImage Based Reconstruction II
Image Based Reconstruction II Qixing Huang Feb. 2 th 2017 Slide Credit: Yasutaka Furukawa Image-Based Geometry Reconstruction Pipeline Last Lecture: Multi-View SFM Multi-View SFM This Lecture: Multi-View
More informationComputer Vision I. Announcements. Random Dot Stereograms. Stereo III. CSE252A Lecture 16
Announcements Stereo III CSE252A Lecture 16 HW1 being returned HW3 assigned and due date extended until 11/27/12 No office hours today No class on Thursday 12/6 Extra class on Tuesday 12/4 at 6:30PM in
More informationLecture'9'&'10:'' Stereo'Vision'
Lecture'9'&'10:'' Stereo'Vision' Dr.'Juan'Carlos'Niebles' Stanford'AI'Lab' ' Professor'FeiAFei'Li' Stanford'Vision'Lab' 1' Dimensionality'ReducIon'Machine'(3D'to'2D)' 3D world 2D image Point of observation
More informationFundamentals of Stereo Vision Michael Bleyer LVA Stereo Vision
Fundamentals of Stereo Vision Michael Bleyer LVA Stereo Vision What Happened Last Time? Human 3D perception (3D cinema) Computational stereo Intuitive explanation of what is meant by disparity Stereo matching
More informationCS4495/6495 Introduction to Computer Vision. 3B-L3 Stereo correspondence
CS4495/6495 Introduction to Computer Vision 3B-L3 Stereo correspondence For now assume parallel image planes Assume parallel (co-planar) image planes Assume same focal lengths Assume epipolar lines are
More informationFundamental matrix. Let p be a point in left image, p in right image. Epipolar relation. Epipolar mapping described by a 3x3 matrix F
Fundamental matrix Let p be a point in left image, p in right image l l Epipolar relation p maps to epipolar line l p maps to epipolar line l p p Epipolar mapping described by a 3x3 matrix F Fundamental
More informationEE795: Computer Vision and Intelligent Systems
EE795: Computer Vision and Intelligent Systems Spring 2012 TTh 17:30-18:45 FDH 204 Lecture 14 130307 http://www.ee.unlv.edu/~b1morris/ecg795/ 2 Outline Review Stereo Dense Motion Estimation Translational
More informationColorado School of Mines. Computer Vision. Professor William Hoff Dept of Electrical Engineering &Computer Science.
Professor William Hoff Dept of Electrical Engineering &Computer Science http://inside.mines.edu/~whoff/ 1 Stereo Vision 2 Inferring 3D from 2D Model based pose estimation single (calibrated) camera > Can
More informationEECS 442 Computer vision. Stereo systems. Stereo vision Rectification Correspondence problem Active stereo vision systems
EECS 442 Computer vision Stereo systems Stereo vision Rectification Correspondence problem Active stereo vision systems Reading: [HZ] Chapter: 11 [FP] Chapter: 11 Stereo vision P p p O 1 O 2 Goal: estimate
More informationRecap: Features and filters. Recap: Grouping & fitting. Now: Multiple views 10/29/2008. Epipolar geometry & stereo vision. Why multiple views?
Recap: Features and filters Epipolar geometry & stereo vision Tuesday, Oct 21 Kristen Grauman UT-Austin Transforming and describing images; textures, colors, edges Recap: Grouping & fitting Now: Multiple
More information55:148 Digital Image Processing Chapter 11 3D Vision, Geometry
55:148 Digital Image Processing Chapter 11 3D Vision, Geometry Topics: Basics of projective geometry Points and hyperplanes in projective space Homography Estimating homography from point correspondence
More informationIntroduction à la vision artificielle X
Introduction à la vision artificielle X Jean Ponce Email: ponce@di.ens.fr Web: http://www.di.ens.fr/~ponce Planches après les cours sur : http://www.di.ens.fr/~ponce/introvis/lect10.pptx http://www.di.ens.fr/~ponce/introvis/lect10.pdf
More informationCapturing, Modeling, Rendering 3D Structures
Computer Vision Approach Capturing, Modeling, Rendering 3D Structures Calculate pixel correspondences and extract geometry Not robust Difficult to acquire illumination effects, e.g. specular highlights
More informationDense 3D Reconstruction. Christiano Gava
Dense 3D Reconstruction Christiano Gava christiano.gava@dfki.de Outline Previous lecture: structure and motion II Structure and motion loop Triangulation Today: dense 3D reconstruction The matching problem
More informationLecture 6 Stereo Systems Multi-view geometry
Lecture 6 Stereo Systems Multi-view geometry Professor Silvio Savarese Computational Vision and Geometry Lab Silvio Savarese Lecture 6-5-Feb-4 Lecture 6 Stereo Systems Multi-view geometry Stereo systems
More informationStereo and structured light
Stereo and structured light http://graphics.cs.cmu.edu/courses/15-463 15-463, 15-663, 15-862 Computational Photography Fall 2018, Lecture 20 Course announcements Homework 5 is still ongoing. - Make sure
More informationCS6670: Computer Vision
CS6670: Computer Vision Noah Snavely Lecture 19: Graph Cuts source S sink T Readings Szeliski, Chapter 11.2 11.5 Stereo results with window search problems in areas of uniform texture Window-based matching
More informationLecture 6 Stereo Systems Multi- view geometry Professor Silvio Savarese Computational Vision and Geometry Lab Silvio Savarese Lecture 6-24-Jan-15
Lecture 6 Stereo Systems Multi- view geometry Professor Silvio Savarese Computational Vision and Geometry Lab Silvio Savarese Lecture 6-24-Jan-15 Lecture 6 Stereo Systems Multi- view geometry Stereo systems
More informationLecture 14: Basic Multi-View Geometry
Lecture 14: Basic Multi-View Geometry Stereo If I needed to find out how far point is away from me, I could use triangulation and two views scene point image plane optical center (Graphic from Khurram
More informationThe end of affine cameras
The end of affine cameras Affine SFM revisited Epipolar geometry Two-view structure from motion Multi-view structure from motion Planches : http://www.di.ens.fr/~ponce/geomvis/lect3.pptx http://www.di.ens.fr/~ponce/geomvis/lect3.pdf
More informationDense 3D Reconstruction. Christiano Gava
Dense 3D Reconstruction Christiano Gava christiano.gava@dfki.de Outline Previous lecture: structure and motion II Structure and motion loop Triangulation Wide baseline matching (SIFT) Today: dense 3D reconstruction
More informationMachine vision. Summary # 11: Stereo vision and epipolar geometry. u l = λx. v l = λy
1 Machine vision Summary # 11: Stereo vision and epipolar geometry STEREO VISION The goal of stereo vision is to use two cameras to capture 3D scenes. There are two important problems in stereo vision:
More informationCorrespondence and Stereopsis. Original notes by W. Correa. Figures from [Forsyth & Ponce] and [Trucco & Verri]
Correspondence and Stereopsis Original notes by W. Correa. Figures from [Forsyth & Ponce] and [Trucco & Verri] Introduction Disparity: Informally: difference between two pictures Allows us to gain a strong
More informationStereo. Outline. Multiple views 3/29/2017. Thurs Mar 30 Kristen Grauman UT Austin. Multi-view geometry, matching, invariant features, stereo vision
Stereo Thurs Mar 30 Kristen Grauman UT Austin Outline Last time: Human stereopsis Epipolar geometry and the epipolar constraint Case example with parallel optical axes General case with calibrated cameras
More informationStructure from motion
Structure from motion Structure from motion Given a set of corresponding points in two or more images, compute the camera parameters and the 3D point coordinates?? R 1,t 1 R 2,t 2 R 3,t 3 Camera 1 Camera
More informationMultiple View Geometry
Multiple View Geometry CS 6320, Spring 2013 Guest Lecture Marcel Prastawa adapted from Pollefeys, Shah, and Zisserman Single view computer vision Projective actions of cameras Camera callibration Photometric
More informationCameras and Stereo CSE 455. Linda Shapiro
Cameras and Stereo CSE 455 Linda Shapiro 1 Müller-Lyer Illusion http://www.michaelbach.de/ot/sze_muelue/index.html What do you know about perspective projection? Vertical lines? Other lines? 2 Image formation
More informationStructure from motion
Structure from motion Structure from motion Given a set of corresponding points in two or more images, compute the camera parameters and the 3D point coordinates?? R 1,t 1 R 2,t R 2 3,t 3 Camera 1 Camera
More information3D photography. Digital Visual Effects, Spring 2007 Yung-Yu Chuang 2007/5/15
3D photography Digital Visual Effects, Spring 2007 Yung-Yu Chuang 2007/5/15 with slides by Szymon Rusinkiewicz, Richard Szeliski, Steve Seitz and Brian Curless Announcements Project #3 is due on 5/20.
More information1 (5 max) 2 (10 max) 3 (20 max) 4 (30 max) 5 (10 max) 6 (15 extra max) total (75 max + 15 extra)
Mierm Exam CS223b Stanford CS223b Computer Vision, Winter 2004 Feb. 18, 2004 Full Name: Email: This exam has 7 pages. Make sure your exam is not missing any sheets, and write your name on every page. The
More information6.819 / 6.869: Advances in Computer Vision Antonio Torralba and Bill Freeman. Lecture 11 Geometry, Camera Calibration, and Stereo.
6.819 / 6.869: Advances in Computer Vision Antonio Torralba and Bill Freeman Lecture 11 Geometry, Camera Calibration, and Stereo. 2d from 3d; 3d from multiple 2d measurements? 2d 3d? Perspective projection
More information55:148 Digital Image Processing Chapter 11 3D Vision, Geometry
55:148 Digital Image Processing Chapter 11 3D Vision, Geometry Topics: Basics of projective geometry Points and hyperplanes in projective space Homography Estimating homography from point correspondence
More informationEpipolar Geometry and Stereo Vision
CS 1674: Intro to Computer Vision Epipolar Geometry and Stereo Vision Prof. Adriana Kovashka University of Pittsburgh October 5, 2016 Announcement Please send me three topics you want me to review next
More informationcalibrated coordinates Linear transformation pixel coordinates
1 calibrated coordinates Linear transformation pixel coordinates 2 Calibration with a rig Uncalibrated epipolar geometry Ambiguities in image formation Stratified reconstruction Autocalibration with partial
More informationEE795: Computer Vision and Intelligent Systems
EE795: Computer Vision and Intelligent Systems Spring 2012 TTh 17:30-18:45 FDH 204 Lecture 12 130228 http://www.ee.unlv.edu/~b1morris/ecg795/ 2 Outline Review Panoramas, Mosaics, Stitching Two View Geometry
More informationUnit 3 Multiple View Geometry
Unit 3 Multiple View Geometry Relations between images of a scene Recovering the cameras Recovering the scene structure http://www.robots.ox.ac.uk/~vgg/hzbook/hzbook1.html 3D structure from images Recover
More informationColorado School of Mines. Computer Vision. Professor William Hoff Dept of Electrical Engineering &Computer Science.
Professor William Hoff Dept of Electrical Engineering &Computer Science http://inside.mines.edu/~whoff/ 1 Stereo Vision 2 Inferring 3D from 2D Model based pose estimation single (calibrated) camera Stereo
More informationStereo imaging ideal geometry
Stereo imaging ideal geometry (X,Y,Z) Z f (x L,y L ) f (x R,y R ) Optical axes are parallel Optical axes separated by baseline, b. Line connecting lens centers is perpendicular to the optical axis, and
More informationImage Rectification (Stereo) (New book: 7.2.1, old book: 11.1)
Image Rectification (Stereo) (New book: 7.2.1, old book: 11.1) Guido Gerig CS 6320 Spring 2013 Credits: Prof. Mubarak Shah, Course notes modified from: http://www.cs.ucf.edu/courses/cap6411/cap5415/, Lecture
More informationEpipolar Geometry and Stereo Vision
CS 1699: Intro to Computer Vision Epipolar Geometry and Stereo Vision Prof. Adriana Kovashka University of Pittsburgh October 8, 2015 Today Review Projective transforms Image stitching (homography) Epipolar
More informationFinal Exam Study Guide
Final Exam Study Guide Exam Window: 28th April, 12:00am EST to 30th April, 11:59pm EST Description As indicated in class the goal of the exam is to encourage you to review the material from the course.
More informationEpipolar Constraint. Epipolar Lines. Epipolar Geometry. Another look (with math).
Epipolar Constraint Epipolar Lines Potential 3d points Red point - fied => Blue point lies on a line There are 3 degrees of freedom in the position of a point in space; there are four DOF for image points
More informationAnnouncements. Stereo
Announcements Stereo Homework 2 is due today, 11:59 PM Homework 3 will be assigned today Reading: Chapter 7: Stereopsis CSE 152 Lecture 8 Binocular Stereopsis: Mars Given two images of a scene where relative
More informationReminder: Lecture 20: The Eight-Point Algorithm. Essential/Fundamental Matrix. E/F Matrix Summary. Computing F. Computing F from Point Matches
Reminder: Lecture 20: The Eight-Point Algorithm F = -0.00310695-0.0025646 2.96584-0.028094-0.00771621 56.3813 13.1905-29.2007-9999.79 Readings T&V 7.3 and 7.4 Essential/Fundamental Matrix E/F Matrix Summary
More informationStructure from Motion and Multi- view Geometry. Last lecture
Structure from Motion and Multi- view Geometry Topics in Image-Based Modeling and Rendering CSE291 J00 Lecture 5 Last lecture S. J. Gortler, R. Grzeszczuk, R. Szeliski,M. F. Cohen The Lumigraph, SIGGRAPH,
More informationTwo-view geometry Computer Vision Spring 2018, Lecture 10
Two-view geometry http://www.cs.cmu.edu/~16385/ 16-385 Computer Vision Spring 2018, Lecture 10 Course announcements Homework 2 is due on February 23 rd. - Any questions about the homework? - How many of
More informationCS231A Course Notes 4: Stereo Systems and Structure from Motion
CS231A Course Notes 4: Stereo Systems and Structure from Motion Kenji Hata and Silvio Savarese 1 Introduction In the previous notes, we covered how adding additional viewpoints of a scene can greatly enhance
More informationMulti-stable Perception. Necker Cube
Multi-stable Perception Necker Cube Spinning dancer illusion, Nobuyuki Kayahara Multiple view geometry Stereo vision Epipolar geometry Lowe Hartley and Zisserman Depth map extraction Essential matrix
More informationStereo CSE 576. Ali Farhadi. Several slides from Larry Zitnick and Steve Seitz
Stereo CSE 576 Ali Farhadi Several slides from Larry Zitnick and Steve Seitz Why do we perceive depth? What do humans use as depth cues? Motion Convergence When watching an object close to us, our eyes
More informationCamera Calibration. Schedule. Jesus J Caban. Note: You have until next Monday to let me know. ! Today:! Camera calibration
Camera Calibration Jesus J Caban Schedule! Today:! Camera calibration! Wednesday:! Lecture: Motion & Optical Flow! Monday:! Lecture: Medical Imaging! Final presentations:! Nov 29 th : W. Griffin! Dec 1
More informationLast lecture. Passive Stereo Spacetime Stereo
Last lecture Passive Stereo Spacetime Stereo Today Structure from Motion: Given pixel correspondences, how to compute 3D structure and camera motion? Slides stolen from Prof Yungyu Chuang Epipolar geometry
More informationComputer Vision, Lecture 11
Computer Vision, Lecture 11 Professor Hager http://www.cs.jhu.edu/~hager Computational Stereo Much of geometric vision is based on information from (or more) camera locations hard to recover 3D information
More informationComputer Vision Projective Geometry and Calibration. Pinhole cameras
Computer Vision Projective Geometry and Calibration Professor Hager http://www.cs.jhu.edu/~hager Jason Corso http://www.cs.jhu.edu/~jcorso. Pinhole cameras Abstract camera model - box with a small hole
More informationStructure from Motion. Lecture-15
Structure from Motion Lecture-15 Shape From X Recovery of 3D (shape) from one or two (2D images). Shape From X Stereo Motion Shading Photometric Stereo Texture Contours Silhouettes Defocus Applications
More informationStructure from Motion CSC 767
Structure from Motion CSC 767 Structure from motion Given a set of corresponding points in two or more images, compute the camera parameters and the 3D point coordinates?? R,t R 2,t 2 R 3,t 3 Camera??
More informationCS201 Computer Vision Camera Geometry
CS201 Computer Vision Camera Geometry John Magee 25 November, 2014 Slides Courtesy of: Diane H. Theriault (deht@bu.edu) Question of the Day: How can we represent the relationships between cameras and the
More informationComputer Vision I. Announcement. Stereo Vision Outline. Stereo II. CSE252A Lecture 15
Announcement Stereo II CSE252A Lecture 15 HW3 assigned No class on Thursday 12/6 Extra class on Tuesday 12/4 at 6:30PM in WLH Room 2112 Mars Exploratory Rovers: Spirit and Opportunity Stereo Vision Outline
More informationCEE598 - Visual Sensing for Civil Infrastructure Eng. & Mgmt.
CEE598 - Visual Sensing for Civil Infrastructure Eng. & Mgmt. Session 4 Affine Structure from Motion Mani Golparvar-Fard Department of Civil and Environmental Engineering 329D, Newmark Civil Engineering
More informationComputer Vision Lecture 20
Computer Perceptual Vision and Sensory WS 16/17 Augmented Computing Computer Perceptual Vision and Sensory WS 16/17 Augmented Computing Computer Perceptual Vision and Sensory WS 16/17 Augmented Computing
More informationEpipolar Geometry in Stereo, Motion and Object Recognition
Epipolar Geometry in Stereo, Motion and Object Recognition A Unified Approach by GangXu Department of Computer Science, Ritsumeikan University, Kusatsu, Japan and Zhengyou Zhang INRIA Sophia-Antipolis,
More informationEpipolar geometry. x x
Two-view geometry Epipolar geometry X x x Baseline line connecting the two camera centers Epipolar Plane plane containing baseline (1D family) Epipoles = intersections of baseline with image planes = projections
More informationComputer Vision Lecture 20
Computer Perceptual Vision and Sensory WS 16/76 Augmented Computing Many slides adapted from K. Grauman, S. Seitz, R. Szeliski, M. Pollefeys, S. Lazebnik Computer Vision Lecture 20 Motion and Optical Flow
More informationStructure from Motion
11/18/11 Structure from Motion Computer Vision CS 143, Brown James Hays Many slides adapted from Derek Hoiem, Lana Lazebnik, Silvio Saverese, Steve Seitz, and Martial Hebert This class: structure from
More informationOther approaches to obtaining 3D structure
Other approaches to obtaining 3D structure Active stereo with structured light Project structured light patterns onto the object simplifies the correspondence problem Allows us to use only one camera camera
More informationStereo Vision Computer Vision (Kris Kitani) Carnegie Mellon University
Stereo Vision 16-385 Computer Vision (Kris Kitani) Carnegie Mellon University What s different between these two images? Objects that are close move more or less? The amount of horizontal movement is
More information