Lecture'9'&'10:'' Stereo'Vision'

Size: px
Start display at page:

Download "Lecture'9'&'10:'' Stereo'Vision'"

Transcription

1 Lecture'9'&'10:'' Stereo'Vision' Dr.'Juan'Carlos'Niebles' Stanford'AI'Lab' ' Professor'FeiAFei'Li' Stanford'Vision'Lab' 1'

2 Dimensionality'ReducIon'Machine'(3D'to'2D)' 3D world 2D image Point of observation Figures Stephen E. Palmer, '

3 Pinhole(camera( f' f' 'Common'to'draw'image'plane'in#front''of'the'focal' point''' 'Moving'the'image'plane'merely'scales'the'image.' $! x' = #! y' = " f f x z y z 3'

4 RelaIng'a'realAworld'point'to'a'point'on'the'camera' In'homogeneous'coordinates:' & f x# & f 0 0 P' = $! = $ $ f y! $ 0 f 0 $ % z!" $ % M' & x# 0# $!! $ y 0!! $ z! 0! " $! % 1" ideal'world' Intrinsic Assumptions Unit aspect ratio Optical center at (0,0) No skew Extrinsic Assumptions No rotation Camera at (0,0,0) 4'

5 RelaIng'a'realAworld'point'to'a'point'on'the'camera' In'homogeneous'coordinates:'! # P' = # # "# f x f y z $! & # & = # & # %& " f f K $! & # & # & # %# " x y z 1 Intrinsic Assumptions Unit aspect ratio Optical center at (0,0) No skew $ & & = K & [ I 0]P & % Extrinsic Assumptions No rotation Camera at (0,0,0) 5'

6 RealAworld'camera' Intrinsic Assumptions Optical center at (u0, v0) Rectangular pixels Small skew P' = K! I 0 " # $ P Extrinsic Assumptions No rotation Camera at (0,0,0) Intrinsic'parameters' & x# & u# & α s u0 0# $! $! $! y w v = 0 β v $! $! $ 0 0! $ z! $ % 1! " $ % ! " $! % 1" Slide'inspiraIon:'S.'Savarese' 6'

7 RealAworld'camera'+'RealAworld'transformaIon' Intrinsic Assumptions Optical center at (u0, v0) Rectangular pixels Small skew P' = K [ R t ] P Extrinsic Assumptions Allow rotation Camera at (tx,ty,tz) & u# & α s u0 #& r11 r12 r13 w $ v! = $ 0 β v! $ $! $ 0 r! $ 21 r22 r23 $ % 1! " $ % 0 0 1!" $ % r31 r32 r33 t t t x y z & x# # $!! y $!! $ z!!" $! % 1" Slide'inspiraIon:'S.'Savarese' 7'

8 What'we'will'learn'today?' IntroducIon'to'stereo'vision' Epipolar'geometry:'a'gentle'intro' Parallel'images'&'image'recIficaIon' Solving'the'correspondence'problem' Homographic'transformaIon' AcIve'stereo'vision'system' ' Reading:( '[HZ]'Chapters:'4,'9,'11' '[FP]'Chapters:'10 '' 8'

9 What'we'will'learn'today?' IntroducIon'to'stereo'vision' Epipolar'geometry:'a'gentle'intro' Parallel'images'&'image'recIficaIon' Solving'the'correspondence'problem' Homographic'transformaIon' AcIve'stereo'vision'system' ' Reading:( '[HZ]'Chapters:'4,'9,'11' '[FP]'Chapters:'10 '' 9'

10 Recovering'3D'from'Images' How'can'we'automaIcally'compute'3D'geometry' from'images?' What'cues'in'the'image'provide'3D'informaIon?' Real 3D world 2D image?' Point of observation 10'

11 Visual'Cues'for'3D' Shading' Merle(Norman(Cosme5cs,(Los(Angeles( Slide'credit:'J.'Hayes' 11'

12 Visual'Cues'for'3D' Shading' Texture' The$Visual$Cliff,(by(William(Vandivert,(1960( Slide'credit:'J.'Hayes' 12'

13 Visual'Cues'for'3D' Shading' Texture' Focus' From(The$Art$of$Photography,(Canon( Slide'credit:'J.'Hayes' 13'

14 Visual'Cues'for'3D' Shading' Texture' Focus' MoIon' Slide'credit:'J.'Hayes' 14'

15 Visual'Cues'for'3D' Shading' Texture' Focus' MoIon' Others:' Highlights' Shadows' Silhouedes' InterAreflecIons' Symmetry' Light'PolarizaIon'...' Shape'From'X' X'='shading,'texture,'focus,'moIon,'...' We ll'focus'on'the'moion'cue' Slide'credit:'J.'Hayes' 15'

16 Stereo'ReconstrucIon' The'Stereo'Problem' Shape'from'two'(or'more)'images' Biological'moIvaIon' known( camera( viewpoints( Slide'credit:'J.'Hayes' 16'

17 Why'do'we'have'two'eyes?' Cyclops( ( (((((((((((( (vs.(((((((((((((((((((((( ((Odysseus( Slide'credit:'J.'Hayes' 17'

18 1.'Two'is'beder'than'one' Slide'credit:'J.'Hayes' 18'

19 Depth'from'Convergence' Slide'credit:'J.'Hayes' 19'

20 What'we'will'learn'today?' IntroducIon'to'stereo'vision' Epipolar'geometry:'a'gentle'intro' Parallel'images'&'image'recIficaIon' Solving'the'correspondence'problem' Homographic'transformaIon' AcIve'stereo'vision'system' ' Reading:( '[HZ]'Chapters:'4,'9,'11' '[FP]'Chapters:'10 '' 20'

21 Pinhole(camera( f' f' 'Common'to'draw'image'plane'in#front''of'the'focal' point''' 'Moving'the'image'plane'merely'scales'the'image.' $! x' = #! y' = " f f x z y z 21'

22 Triangula5on( P' p ' p ' O ' O ' Inputs:' 1. Camera'parameters'known' 2. Corresponding'points'p'and'p 'known' ' Output:'! P'is'at'the'intersecIon'of'''''''''''and' Op! O 0 p 0 22'

23 Epipolar(geometry( P' p ' p ' e ' e ' O ' 'Epipolar'Plane' 'Baseline' 'Epipolar'Lines' 'Epipoles'e,'e ' O ' ='intersecions'of'baseline'with'image'planes'' ='projecions'of'the'other'camera'center' 23'

24 Example:(Converging(image(planes( 24'

25 Epipolar(Constraint( A 'Two'views'of'the'same'object'' A 'Suppose'I'know'the'camera'posiIons'and'camera'matrices' A'Given'a'point'on'len'image,'how'can'I'find'the'corresponding'point'on'right'image?' 25'

26 P?' p ' e ' e ' l ' O ' O ' 26'

27 Epipolar(Constraint( ''PotenIal'matches'for'p'have'to'lie'on'the'corresponding'epipolar'line'l.' ''PotenIal'matches'for'p 'have'to'lie'on'the'corresponding'epipolar'line'l.' 27'

28 Epipolar(Constraint( P' p M P = & u# $! $ v! $ % 1! " p ' p ' p M ' P = & u' # $! $ v'! $ % 1!" O ' R,'T' O ' M = K! " I 0 # $ M ' = K '! " R T # $ 28'

29 Epipolar(Constraint( P' p ' p ' O ' R,'T' O ' M = K! " I 0 # $ '''K'and'K 'are'known' '''(calibrated'cameras)' M ' = K '! " R T # $ M = [ I 0] Assume'K'='K '='I' M ' = [ R T] 29'

30 Epipolar(Constraint( P' p ' p ' O ' R,'T' O ' T ( R p!) Perpendicular'to'epipolar'plane' [ T (R p )] 0 p T! = 30'

31 31' Cross'product'as'matrix'mulIplicaIon' b a b a ] [ = " " " # $ % % % & ' " " " # $ % % % & ' = z y x x y x z y z b b b a a a a a a skew'symmetric'matrix '

32 Epipolar(Constraint( P' p ' p ' O ' R,'T' O ' [ T (R p )] 0 p T [ T ] R p! = 0 p T! = (LonguetAHiggins,'1981)' E'='essenIal'matrix' 32'

33 Epipolar(Constraint( P' p ' p ' l ' l ' e ' e ' O ' O ' E'p ''is'the'epipolar'line'associated'with'p '(l'='e'p )' E T' p''is'the'epipolar'line'associated'with'p'(l '='E T' p)' E'is'singular'(rank'two)' E'e '='0'''and'''E T' e'='0' E'is'3x3'matrix;'5'DOF'' 33'

34 What'we'will'learn'today?' IntroducIon'to'stereo'vision' Epipolar'geometry:'a'gentle'intro' Parallel'images'&'image'recIficaIon' Solving'the'correspondence'problem' Homographic'transformaIon' AcIve'stereo'vision'system' ' Reading:( '[HZ]'Chapters:'4,'9,'11' '[FP]'Chapters:'10 '' 34'

35 Simplest Case: Parallel images Image planes of cameras are parallel to each other and to the baseline Camera centers are at same height Focal lengths are the same Slide'credit:'J.'Hayes' 35'

36 Simplest Case: Parallel images Image planes of cameras are parallel to each other and to the baseline Camera centers are at same height Focal lengths are the same Then, epipolar lines fall along the horizontal scan lines of the images Slide'credit:'J.'Hayes' 36'

37 Essential matrix for parallel images p T E! p = 0, E = [t ]R!!! " # $ $ $ % & = = ] [ T T R t E!!! " # $ $ $ % & = ] [ x y x z y z a a a a a a a R = I t = (T, 0, 0) Epipolar constraint: t p p Reminder:'skew'symmetric'matrix' Slide'credit:'J.'Hayes' 37'

38 ( ) ( ) v T Tv Tv T v u v u T T v u! = = " " " # $ % % % & '! = " " " # $ % % % & '!! ) ) ) * +,,, The y-coordinates of corresponding points are the same! t p p Essential matrix for parallel images p T E! p = 0, E = [t ]R!!! " # $ $ $ % & = = ] [ T T R t E R = I t = (T, 0, 0) Epipolar constraint: Slide'credit:'J.'Hayes' 38'

39 Triangulation -- depth from disparity P p p z f f O Baseline B O disparity = u u " = B f z Disparity is inversely proportional to depth! Slide'credit:'J.'Hayes' 39'

40 Stereo image rectification Slide'credit:'J.'Hayes' 40'

41 Stereo image rectification Algorithm: Re-project image planes onto a common plane parallel to the line between optical centers Pixel motion is horizontal after this transformation Two transformation matrices, one for each input image reprojection! C. Loop and Z. Zhang. Computing Rectifying Homographies for Stereo Vision. IEEE Conf. Computer Vision and Pattern Recognition, Slide'credit:'J.'Hayes' 41'

42 Rectification example 42'

43 Applica5on:(view(morphing( S.'M.'Seitz'and'C.'R.'Dyer,'Proc.#SIGGRAPH#96,'1996,'21A30'' 43'

44 Applica5on:(view(morphing( 44'

45 Applica5on:(view(morphing( 45'

46 Applica5on:(view(morphing( 46'

47 Removing perspective distortion (rectification) H p' 47'

48 What'we'will'learn'today?' IntroducIon'to'stereo'vision' Epipolar'geometry:'a'gentle'intro' Parallel'images'&'image'recIficaIon' Solving'the'correspondence'problem' Homographic'transformaIon' AcIve'stereo'vision'system' ' Reading:( '[HZ]'Chapters:'4,'9,'11' '[FP]'Chapters:'10 '' 48'

49 Stereo matching: solving the correspondence problem Goal: finding matching points between two images 49'

50 Basic stereo matching algorithm For each pixel in the first image Find corresponding epipolar line in the right image Examine all pixels on the epipolar line and pick the best match Triangulate the matches to get depth information Simplest case: epipolar lines are scanlines When does this happen? Slide'credit:'J.'Hayes' 50'

51 Basic stereo matching algorithm If necessary, rectify the two stereo images to transform epipolar lines into scanlines For each pixel x in the first image Find corresponding' epipolar scanline in the right image Examine all pixels on the scanline and pick the best match x Compute disparity x-x and set depth(x) = 1/(x-x ) 51'

52 Correspondence problem Let s make some assumptions to simplify the matching problem The baseline is relatively small (compared to the depth of scene points) Then most scene points are visible in both views Also, matching regions are similar in appearance Slide'credit:'J.'Hayes' 52'

53 Correspondence search with similarity constraint Left Right scanline Matching cost disparity Slide a window along the right scanline and compare contents of that window with the reference window in the left image Matching cost: SSD or normalized correlation Slide'credit:'J.'Hayes' 53'

54 Correspondence search with similarity constraint Left Right scanline SSD (sum of squared differences) 54'

55 Correspondence search with similarity constraint Left Right scanline Normalized correlation 55'

56 Effect of window size Smaller window + More detail More noise W = 3 W = 20 Larger window + Smoother disparity maps Less detail 56'

57 The similarity constraint Corresponding regions in two images should be similar in appearance and non-corresponding regions should be different When will the similarity constraint fail? Slide'credit:'J.'Hayes' 57'

58 Limitations of similarity constraint Textureless surfaces Occlusions, repetition Specular surfaces Slide'credit:'J.'Hayes' 58'

59 Results with window search Left image Right image Window-based matching Ground truth 59'

60 The role of the baseline Small Baseline Large Baseline Small baseline: large depth error Large baseline: difficult search problem Slide credit: S. Seitz 61'

61 Problem for wide baselines: Foreshortening Matching with fixed-size windows will fail! Possible solution: adaptively vary window size Another solution: model-based stereo (CS231a) Slide credit: J. Hayes 62'

62 What'we'will'learn'today?' IntroducIon'to'stereo'vision' Epipolar'geometry:'a'gentle'intro' Parallel'images' Solving'the'correspondence'problem' Homographic'transformaIon' AcIve'stereo'vision'system' ' Reading:( '[HZ]'Chapters:'4,'9,'11' '[FP]'Chapters:'10 '' 63'

63 Reminder:'transformaIons'in'2D' Special'case' from'lecture'2' (planar'rotaion'' &'translaion)'! # # # " u' v' 1 $ &! & = # R t & " 0 1 %! $ # &# %# " u v 1 $! u & # & = H e # v & # % " 1 $ & & & % - 3 DOF - Preserve distance (areas) - Regulate motion of rigid object 64'

64 Reminder:'transformaIons'in'2D' Generic'case' (rotaion'in'3d,'scale'' &'translaion)'! # # # " u' v' 1 $! & # & = # & # % "# a 1 a 2 a 3 a 4 a 5 a 6 a 7 a 8 a 9 $! &# &# &# %& " u v 1 $ & & = H & %! # # # " u v 1 $ & & & % - 8 DOF - Preserve colinearity 65'

65 Goal:'esImate'the'homographic' transformaion'between'two'images' H' AssumpIon:'Given'a'set'of'corresponding'points.' 66'

66 Goal:'esImate'the'homographic' transformaion'between'two'images' H' AssumpIon:'Given'a'set'of'corresponding'points.' QuesIon:'How'many'points'are'needed?' Hint:'DoF'for'H?' 8!' At'least'4'points' (8'equaIons)' 67'

67 DLT algorithm (Direct Linear Transformation) H p p! i i p! i = H p i 68'

68 DLT algorithm (direct Linear Transformation) Unknown [9x1] p! H p = 0 i i A h = 0 i! # H = # # "# h 1 h 2 h 3 h 4 h 5 h 6 h 7 h 8 h 9 $ & & & %&! # # h = # # "# h 1 h 2 h 9 $ & & & & %& Function of measurements [2x9] 9x1 2'independent'equaIons'' 69'

69 DLT algorithm (direct Linear Transformation) A 2x9 h 9x1 H A h = i A h = p i p i! A h = 2 A h = N 0 0 A h N = 0 Over determined Homogenous system 70'

70 DLT algorithm (direct Linear Transformation) A h N How to solve? 2 = Singular Value Decomposition (SVD)! 0 71'

71 DLT algorithm (direct Linear Transformation) A h N How to solve? 2 = Singular Value Decomposition (SVD)! 0 U Σ V T 2 n Last column of V gives h! H! Why?'See'pag'593'of'AZ' 72'

72 DLT algorithm (direct Linear Transformation) How to solve h 0? A = 2 N '

73 Clarification about SVD P = U D V T m n m n n n n n Has n orthogonal columns Orthogonal matrix This is one of the possible SVD decompositions This is typically used for efficiency The classic SVD is actually: P = U D V T m n m m m n n n orthogonal Orthogonal 74'

74 H' 75'

75 Epipolar Constraint X x 1 l 1 l 2 e 1 e 2 x 2 O 1 O 2 E x 2 is the epipolar line associated with x 2 (l 1 = E x 2 ) E T x 1 is the epipolar line associated with x 1 (l 2 = E T x 1 ) E is singular (rank two) E e 2 = 0 and E T e 1 = 0 E is 3x3 matrix; 5 DOF 22 CEE598 Visual Sensing for Civil Infrastructure Eng. & Mgmt. Mani Golparvar-Fard, 2015

76 Epipolar Constraint P p p O O P M P u p M K I 0 v unknown 23 CEE598 Visual Sensing for Civil Infrastructure Eng. & Mgmt. Mani Golparvar-Fard, 2015

77 Epipolar Constraint P p K p p p p K ' p O O p T T R p 0 (K 1 p) T 1 T R K p 0 p T K T 1 T R K p 0 p T F p 0 CEE598 Visual Sensing for Civil Infrastructure Eng. & Mgmt. Mani Golparvar-Fard,

78 Epipolar Constraint P p K p p p p K p O O p T F p 0 F = Fundamental Matrix (Faugeras and Luong, 1992) CEE598 Visual Sensing for Civil Infrastructure Eng. & Mgmt. Mani Golparvar-Fard,

79 Epipolar Constraint X x 1 x 2 e 1 e 2 O 1 O 2 F x 2 is the epipolar line associated with x 2 (l 1 = F x 2 ) F T x 1 is the epipolar line associated with x 1 (l 2 = F T x 1 ) F is singular (rank two) F e 2 = 0 and F T e 1 = 0 F is 3x3 matrix; 7 DOF 26 CEE598 Visual Sensing for Civil Infrastructure Eng. & Mgmt. Mani Golparvar-Fard, 2015

80 Why F is useful? x - Suppose F is known - No additional information about the scene and camera is given - Given a point on left image, how can I find the corresponding point on right image? 27 CEE598 Visual Sensing for Civil Infrastructure Eng. & Mgmt. Mani Golparvar-Fard, 2015

81 Why F is useful? F captures information about the epipolar geometry of 2 views + camera parameters MORE IMPORTANTLY: F gives constraints on how the scene changes under view point transformation (without reconstructing the scene!) Powerful tool in: 3D reconstruction Multi-view object/scene matching 28

82 Estimating F The Eight-Point Algorithm (Longuet-Higgins, 1981) (Hartley, 1995) P p p O O u u P p P p v v p T F p CEE598 Visual Sensing for Civil Infrastructure Eng. & Mgmt. Mani Golparvar-Fard,

83 Estimating F p T F p 0 Let s take 8 corresponding points 30 CEE598 Visual Sensing for Civil Infrastructure Eng. & Mgmt. Mani Golparvar-Fard, 2015

84 Estimating F 31 CEE598 Visual Sensing for Civil Infrastructure Eng. & Mgmt. Mani Golparvar-Fard, 2015

85 Estimating F Homogeneous system W f 0 f Rank 8 If N>8 A non-zero solution exists (unique) Lsq. solution by SVD! f 1 Fˆ CEE598 Visual Sensing for Civil Infrastructure Eng. & Mgmt. Mani Golparvar-Fard,

86 Rank-2 constraint p T Fˆ p 0 ^ The estimated F may have full rank (det(f) 0) (F should have rank=2 instead) ^ Find F that minimizes F Fˆ 0 Frobenius norm Subject to det(f)=0 SVD (again!) can be used to solve this problem 33 CEE598 Visual Sensing for Civil Infrastructure Eng. & Mgmt. Mani Golparvar-Fard, 2015

87 Data courtesy of R. Mohr and B. Boufama. CEE598 Visual Sensing for Civil Infrastructure Eng. & Mgmt. Mani Golparvar-Fard,

88 Mean errors: 10.0pixel 9.1pixel 35 CEE598 Visual Sensing for Civil Infrastructure Eng. & Mgmt. Mani Golparvar-Fard, 2015

89 Normalization Is the accuracy in estimating F function of the ref. system in the image plane? E.g. under similarity transformation (T = scale + translation): q i T i p i q i T i p i Does the accuracy in estimating F change if a transformation T is applied? 36 CEE598 Visual Sensing for Civil Infrastructure Eng. & Mgmt. Mani Golparvar-Fard, 2015

90 Normalization The accuracy in estimating F does change if a transformation T is applied There exists a T for which accuracy is maximized 37 CEE598 Visual Sensing for Civil Infrastructure Eng. & Mgmt. Mani Golparvar-Fard, 2015

91 W f Homogeneous system If N>8 Lsq. solution by SVD! f 1 W f 0 Fˆ uv s ~ Last column of ones -> numerical values are unbalanced; Small errors in measurements (u, v) are amplified 38 CEE598 Visual Sensing for Civil Infrastructure Eng. & Mgmt. Mani Golparvar-Fard, 2015

92 What'we'will'learn'today?' IntroducIon'to'stereo'vision' Epipolar'geometry:'a'gentle'intro' Parallel'images'&'image'recIficaIon' Solving'the'correspondence'problem' Homographic'transformaIon' AcIve'stereo'vision'system' ' Reading:( '[HZ]'Chapters:'4,'9,'11' '[FP]'Chapters:'10 '' 76'

93 Ac5ve(stereo((point)' P' projector ' p ' Replace'one'of'the'two'cameras'by'a'projector' A 'Single'camera'' A 'Projector'geometry'calibrated' A 'What s'the'advantage'of'having'the'projector?'' O 2' Correspondence'problem'solved!' 77'

94 Ac5ve(stereo((stripe)'' projector ' A Projector'and'camera'are'parallel' A 'Correspondence'problem'solved!' O ' 78'

95 Ac5ve(stereo((shadows)'' J.'Bouguet'&'P.'Perona,'99' S.'Savarese,'J.'Bouguet'&'Perona,'00'' Light'source ' O ' A '1'camera,1'light'source' A 'very'cheap'setup' A 'calibrated'light'source' 79'

96 Ac5ve(stereo((shadows)'' J.'Bouguet'&'P.'Perona,'99' S.'Savarese,'J.'Bouguet'&'Perona,'00'' 80'

97 Ac5ve(stereo((colorAcoded'stripes)'' L.'Zhang,'B.'Curless,'and'S.'M.'Seitz'2002' S.'Rusinkiewicz'&'Levoy'2002'' projector ' A'Dense'reconstrucIon''' A 'Correspondence'problem'again' A 'Get'around'it'by'using'color'codes' O ' 81'

98 Ac5ve(stereo((colorAcoded'stripes)'' Rapid'shape'acquisiIon:'Projector'+'stereo'cameras' L.'Zhang,'B.'Curless,'and'S.'M.'Seitz.'Rapid'Shape'AcquisiIon'Using'Color'Structured'Light'and'MulIApass'Dynamic' Programming.'3DPVT'2002' 82'

99 Ac5ve(stereo((stripe)'' Digital Michelangelo Project OpIcal'triangulaIon' 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' 83'

100 Laser scanned models The#Digital#Michelangelo#Project,'Levoy'et'al.' 84' Slide credit: S. Seitz

101 Laser scanned models The#Digital#Michelangelo#Project,'Levoy'et'al.' 85' Slide credit: S. Seitz

102 Laser scanned models The#Digital#Michelangelo#Project,'Levoy'et'al.' 86' Slide credit: S. Seitz

103 Laser scanned models The#Digital#Michelangelo#Project,'Levoy'et'al.' 87' Slide credit: S. Seitz

104 Laser scanned models 1.0'mm'resoluIon'(56'million'triangles)'' The#Digital#Michelangelo#Project,'Levoy'et'al.' 88' Slide credit: S. Seitz

105 What'we'have'learned'today' IntroducIon'to'stereo'vision' Epipolar'geometry:'a'gentle'intro' Parallel'images'&'image'recIficaIon' Solving'the'correspondence'problem' Homographic'transformaIon' AcIve'stereo'vision'system' ' Reading:( '[HZ]'Chapters:'4,'9,'11' '[FP]'Chapters:'10 '' 89'

Lecture 9 & 10: Stereo Vision

Lecture 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 information

Lecture 9: Epipolar Geometry

Lecture 9: Epipolar Geometry Lecture 9: Epipolar Geometry Professor Fei Fei Li Stanford Vision Lab 1 What we will learn today? Why is stereo useful? Epipolar constraints Essential and fundamental matrix Estimating F (Problem Set 2

More information

Epipolar Geometry and Stereo Vision

Epipolar 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 information

Stereo. 11/02/2012 CS129, Brown James Hays. Slides by Kristen Grauman

Stereo. 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 information

Epipolar Geometry and Stereo Vision

Epipolar 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 information

Stereo vision. Many slides adapted from Steve Seitz

Stereo 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 information

BIL Computer Vision Apr 16, 2014

BIL 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 information

Stereo 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 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 information

Lecture 5 Epipolar Geometry

Lecture 5 Epipolar Geometry Lecture 5 Epipolar Geometry Professor Silvio Savarese Computational Vision and Geometry Lab Silvio Savarese Lecture 5-24-Jan-18 Lecture 5 Epipolar Geometry Why is stereo useful? Epipolar constraints Essential

More information

Lecture 6 Stereo Systems Multi-view geometry

Lecture 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 information

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 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 information

Recovering structure from a single view Pinhole perspective projection

Recovering structure from a single view Pinhole perspective projection EPIPOLAR GEOMETRY The slides are from several sources through James Hays (Brown); Silvio Savarese (U. of Michigan); Svetlana Lazebnik (U. Illinois); Bill Freeman and Antonio Torralba (MIT), including their

More information

Stereo. Many slides adapted from Steve Seitz

Stereo. 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 information

Lecture 10: Multi-view geometry

Lecture 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 information

Introduction à la vision artificielle X

Introduction à 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 information

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...

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... 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 information

Lecture 14: Basic Multi-View Geometry

Lecture 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 information

Computer Vision I. Announcement. Stereo Vision Outline. Stereo II. CSE252A Lecture 15

Computer 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 information

Reminder: 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. 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 information

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 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 information

Computer Vision Lecture 17

Computer 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 information

Computer Vision Lecture 17

Computer 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 information

Lecture 10: Multi view geometry

Lecture 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 information

Image Based Reconstruction II

Image 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 information

Cameras and Stereo CSE 455. Linda Shapiro

Cameras 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 information

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

55: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 information

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

Today. 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 information

Stereo and Epipolar geometry

Stereo 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 information

CS5670: Computer Vision

CS5670: 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 information

CS231M Mobile Computer Vision Structure from motion

CS231M Mobile Computer Vision Structure from motion CS231M Mobile Computer Vision Structure from motion - Cameras - Epipolar geometry - Structure from motion Pinhole camera Pinhole perspective projection f o f = focal length o = center of the camera z y

More information

Two-view geometry Computer Vision Spring 2018, Lecture 10

Two-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 information

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

Image 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 information

EECS 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 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 information

Multiple View Geometry

Multiple 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 information

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

Recap: 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 information

Stereo Vision. MAN-522 Computer Vision

Stereo 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 information

Final project bits and pieces

Final 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 information

CEE598 - Visual Sensing for Civil Infrastructure Eng. & Mgmt.

CEE598 - 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 information

calibrated coordinates Linear transformation pixel coordinates

calibrated 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 information

Multiple View Geometry

Multiple 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 information

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

CS 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 information

Announcements. Stereo

Announcements. 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 information

Epipolar geometry. x x

Epipolar 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 information

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

CS 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 information

Stereo Vision Computer Vision (Kris Kitani) Carnegie Mellon University

Stereo 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

Recap from Previous Lecture

Recap 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 information

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

Camera 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 information

Announcements. Stereo

Announcements. Stereo Announcements Stereo Homework 1 is due today, 11:59 PM Homework 2 will be assigned on Thursday Reading: Chapter 7: Stereopsis CSE 252A Lecture 8 Binocular Stereopsis: Mars Given two images of a scene where

More information

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

Colorado 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 information

Project 2 due today Project 3 out today. Readings Szeliski, Chapter 10 (through 10.5)

Project 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 information

Week 2: Two-View Geometry. Padua Summer 08 Frank Dellaert

Week 2: Two-View Geometry. Padua Summer 08 Frank Dellaert Week 2: Two-View Geometry Padua Summer 08 Frank Dellaert Mosaicking Outline 2D Transformation Hierarchy RANSAC Triangulation of 3D Points Cameras Triangulation via SVD Automatic Correspondence Essential

More information

Public Library, Stereoscopic Looking Room, Chicago, by Phillips, 1923

Public 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 information

Lecture 14: Computer Vision

Lecture 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 information

Dense 3D Reconstruction. Christiano Gava

Dense 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 information

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

55: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 information

Chaplin, Modern Times, 1936

Chaplin, 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 information

Epipolar Geometry and Stereo Vision

Epipolar 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 information

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

Computer 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 information

Structure from Motion and Multi- view Geometry. Last lecture

Structure 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 information

Multi-view geometry problems

Multi-view geometry problems Multi-view geometry Multi-view geometry problems Structure: Given projections o the same 3D point in two or more images, compute the 3D coordinates o that point? Camera 1 Camera 2 R 1,t 1 R 2,t 2 Camera

More information

Rectification and Distortion Correction

Rectification and Distortion Correction Rectification and Distortion Correction Hagen Spies March 12, 2003 Computer Vision Laboratory Department of Electrical Engineering Linköping University, Sweden Contents Distortion Correction Rectification

More information

Depth from two cameras: stereopsis

Depth from two cameras: stereopsis Depth from two cameras: stereopsis Epipolar Geometry Canonical Configuration Correspondence Matching School of Computer Science & Statistics Trinity College Dublin Dublin 2 Ireland www.scss.tcd.ie Lecture

More information

Fundamental 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. 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 information

Stereo 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 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 information

What have we leaned so far?

What 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 information

Dense 3D Reconstruction. Christiano Gava

Dense 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 information

CS 231A: Computer Vision (Winter 2018) Problem Set 2

CS 231A: Computer Vision (Winter 2018) Problem Set 2 CS 231A: Computer Vision (Winter 2018) Problem Set 2 Due Date: Feb 09 2018, 11:59pm Note: In this PS, using python2 is recommended, as the data files are dumped with python2. Using python3 might cause

More information

The end of affine cameras

The 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 information

Stereo and structured light

Stereo 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 information

CS201 Computer Vision Camera Geometry

CS201 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 information

Structure from motion

Structure 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 information

Depth from two cameras: stereopsis

Depth from two cameras: stereopsis Depth from two cameras: stereopsis Epipolar Geometry Canonical Configuration Correspondence Matching School of Computer Science & Statistics Trinity College Dublin Dublin 2 Ireland www.scss.tcd.ie Lecture

More information

CS4495/6495 Introduction to Computer Vision. 3B-L3 Stereo correspondence

CS4495/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 information

MAPI Computer Vision. Multiple View Geometry

MAPI Computer Vision. Multiple View Geometry MAPI Computer Vision Multiple View Geometry Geometry o Multiple Views 2- and 3- view geometry p p Kpˆ [ K R t]p Geometry o Multiple Views 2- and 3- view geometry Epipolar Geometry The epipolar geometry

More information

Fundamentals of Stereo Vision Michael Bleyer LVA Stereo Vision

Fundamentals 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 information

Introduction to Computer Vision. Week 10, Winter 2010 Instructor: Prof. Ko Nishino

Introduction to Computer Vision. Week 10, Winter 2010 Instructor: Prof. Ko Nishino Introduction to Computer Vision Week 10, Winter 2010 Instructor: Prof. Ko Nishino Today How do we recover geometry from 2 views? Stereo Can we recover geometry from a sequence of images Structure-from-Motion

More information

Structure from motion

Structure from motion Multi-view geometry Structure rom motion Camera 1 Camera 2 R 1,t 1 R 2,t 2 Camera 3 R 3,t 3 Figure credit: Noah Snavely Structure rom motion? Camera 1 Camera 2 R 1,t 1 R 2,t 2 Camera 3 R 3,t 3 Structure:

More information

Structure from motion

Structure 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 information

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

Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book) Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book) Guido Gerig CS-GY 6643, Spring 2016 gerig@nyu.edu Credits: M. Shah, UCF CAP5415, lecture 23 http://www.cs.ucf.edu/courses/cap6411/cap5415/,

More information

Image Transfer Methods. Satya Prakash Mallick Jan 28 th, 2003

Image Transfer Methods. Satya Prakash Mallick Jan 28 th, 2003 Image Transfer Methods Satya Prakash Mallick Jan 28 th, 2003 Objective Given two or more images of the same scene, the objective is to synthesize a novel view of the scene from a view point where there

More information

Project 3 code & artifact due Tuesday Final project proposals due noon Wed (by ) Readings Szeliski, Chapter 10 (through 10.5)

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 information

Stereo. Outline. Multiple views 3/29/2017. Thurs Mar 30 Kristen Grauman UT Austin. Multi-view geometry, matching, invariant features, stereo vision

Stereo. 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 information

LUMS Mine Detector Project

LUMS Mine Detector Project LUMS Mine Detector Project Using visual information to control a robot (Hutchinson et al. 1996). Vision may or may not be used in the feedback loop. Visual (image based) features such as points, lines

More information

Perception II: Pinhole camera and Stereo Vision

Perception II: Pinhole camera and Stereo Vision Perception II: Pinhole camera and Stereo Vision Davide Scaramuzza Margarita Chli, Paul Furgale, Marco Hutter, Roland Siegwart 1 Mobile Robot Control Scheme knowledge, data base mission commands Localization

More information

But First: Multi-View Projective Geometry

But First: Multi-View Projective Geometry View Morphing (Seitz & Dyer, SIGGRAPH 96) Virtual Camera Photograph Morphed View View interpolation (ala McMillan) but no depth no camera information Photograph But First: Multi-View Projective Geometry

More information

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

3D Sensing and Reconstruction Readings: Ch 12: , Ch 13: , 3D Sensing and Reconstruction Readings: Ch 12: 12.5-6, Ch 13: 13.1-3, 13.9.4 Perspective Geometry Camera Model Stereo Triangulation 3D Reconstruction by Space Carving 3D Shape from X means getting 3D coordinates

More information

1 Projective Geometry

1 Projective Geometry CIS8, Machine Perception Review Problem - SPRING 26 Instructions. All coordinate systems are right handed. Projective Geometry Figure : Facade rectification. I took an image of a rectangular object, and

More information

An idea which can be used once is a trick. If it can be used more than once it becomes a method

An idea which can be used once is a trick. If it can be used more than once it becomes a method An idea which can be used once is a trick. If it can be used more than once it becomes a method - George Polya and Gabor Szego University of Texas at Arlington Rigid Body Transformations & Generalized

More information

Rectification and Disparity

Rectification and Disparity Rectification and Disparity Nassir Navab Slides prepared by Christian Unger What is Stereo Vision? Introduction A technique aimed at inferring dense depth measurements efficiently using two cameras. Wide

More information

Camera Geometry II. COS 429 Princeton University

Camera Geometry II. COS 429 Princeton University Camera Geometry II COS 429 Princeton University Outline Projective geometry Vanishing points Application: camera calibration Application: single-view metrology Epipolar geometry Application: stereo correspondence

More information

CS231A Course Notes 4: Stereo Systems and Structure from Motion

CS231A 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 information

Computer Vision I. Announcement

Computer Vision I. Announcement Announcement Stereo I HW3: Coming soon Stereo! CSE5A Lecture 3 Binocular Stereopsis: Mars Gien two images of a scene where relatie locations of cameras are known, estimate depth of all common scene points.

More information

Capturing, Modeling, Rendering 3D Structures

Capturing, 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 information

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

Machine 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 information

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

Structure from Motion. Introduction to Computer Vision CSE 152 Lecture 10 Structure from Motion CSE 152 Lecture 10 Announcements Homework 3 is due May 9, 11:59 PM Reading: Chapter 8: Structure from Motion Optional: Multiple View Geometry in Computer Vision, 2nd edition, Hartley

More information

Multiple View Geometry. Frank Dellaert

Multiple View Geometry. Frank Dellaert Multiple View Geometry Frank Dellaert Outline Intro Camera Review Stereo triangulation Geometry of 2 views Essential Matrix Fundamental Matrix Estimating E/F from point-matches Why Consider Multiple Views?

More information

3D Computer Vision. Depth Cameras. Prof. Didier Stricker. Oliver Wasenmüller

3D Computer Vision. Depth Cameras. Prof. Didier Stricker. Oliver Wasenmüller 3D Computer Vision Depth Cameras Prof. Didier Stricker Oliver Wasenmüller Kaiserlautern University http://ags.cs.uni-kl.de/ DFKI Deutsches Forschungszentrum für Künstliche Intelligenz http://av.dfki.de

More information

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

Index. 3D reconstruction, point algorithm, point algorithm, point algorithm, point algorithm, 263 Index 3D reconstruction, 125 5+1-point algorithm, 284 5-point algorithm, 270 7-point algorithm, 265 8-point algorithm, 263 affine point, 45 affine transformation, 57 affine transformation group, 57 affine

More information

Epipolar Geometry and Stereo Vision

Epipolar 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 information

Transformations Between Two Images. Translation Rotation Rigid Similarity (scaled rotation) Affine Projective Pseudo Perspective Bi linear

Transformations Between Two Images. Translation Rotation Rigid Similarity (scaled rotation) Affine Projective Pseudo Perspective Bi linear Transformations etween Two Images Translation Rotation Rigid Similarit (scaled rotation) ffine Projective Pseudo Perspective i linear Fundamental Matri Lecture 13 pplications Stereo Structure from Motion

More information