Introduction to Computer Vision Harsh Sinha
Introduction to Computer Vision for Robotics
AE640A Autonomous Navigation
11th March, 2019
1 1
Introduction to Computer Vision for Robotics AE640A Autonomous - - PowerPoint PPT Presentation
Introduction to Computer Vision for Robotics AE640A Autonomous Navigation 11 th March, 2019 Harsh Sinha 1 Introduction to Computer Vision 1 From the last class Actual image plane behind the pinhole Focal distance Focal distance Harsh
Introduction to Computer Vision Harsh Sinha
AE640A Autonomous Navigation
11th March, 2019
1 1
Introduction to Computer Vision Harsh Sinha
2
Actual image plane behind the pinhole Focal distance Focal distance
Introduction to Computer Vision Harsh Sinha
3
p’ K M = K [I 0] R T P H
Introduction to Computer Vision Harsh Sinha
○ Introduction to Stereo Vision ○ Epipolar Geometry ○ The correspondence problem
○ Various methods for Stereo Matching ○ Stereo Block Matching ○ A look at SGBM
4
Introduction to Computer Vision Harsh Sinha
5
Introduction to Computer Vision Harsh Sinha
6 Credits: Kenji Hata, Silvio Savarese
Introduction to Computer Vision Harsh Sinha
7 Credits: Fei Fei Li
Introduction to Computer Vision Harsh Sinha
8 Credits: Fei Fei Li
Introduction to Computer Vision Harsh Sinha
9 Credits: Fei Fei Li
How do humans figure out 3D in 2D images?
Introduction to Computer Vision Harsh Sinha
10 Credits: Fei Fei Li
How do humans figure out 3D in 2D images? 1. Shading
Introduction to Computer Vision Harsh Sinha
11 Credits: Fei Fei Li
How do humans figure out 3D in 2D images? 1. Shading 2. Texture
Introduction to Computer Vision Harsh Sinha
12 Credits: Fei Fei Li
How do humans figure out 3D in 2D images? 1. Shading 2. Texture 3. Focus
Introduction to Computer Vision Harsh Sinha
13 Credits: Gaurav Pandey, Ford
The stereo problem:
vision, i.e, 3D with two sensors.
more specifically the depth, of
more images?
Introduction to Computer Vision Harsh Sinha
So, How do we go we go from Stereo Images to Depth Information ?
14
Introduction to Computer Vision Harsh Sinha
15 Credits: Gaurav Pandey, Ford
Introduction to Computer Vision Harsh Sinha
16
Introduction to Computer Vision Harsh Sinha
17
Note: We have the image planes parallel here. Creating such images from non parallel cameras is called rectification.
Introduction to Computer Vision Harsh Sinha
18 Credits: Gaurav Pandey, Ford
Introduction to Computer Vision Harsh Sinha
19 Credits: Fei Fei Li
Introduction to Computer Vision Harsh Sinha
20 Credits: Fei Fei Li
Given this point how do you find the corresponding point on the other image?
Introduction to Computer Vision Harsh Sinha
21 Credits: Fei Fei Li
Given this point how do you find the corresponding point on the other image? Search the whole image?
Introduction to Computer Vision Harsh Sinha
22
Difficult to solve accurately, very expensive without special methods
Given this point how do you find the corresponding point on the other image? Search the whole image?
Introduction to Computer Vision Harsh Sinha
23 Credits: Fei Fei Li
Introduction to Computer Vision Harsh Sinha
24 Credits: Fei Fei Li
Baseline Camera 1 Center Camera 2 Center Epipoles Epipolar Plane
Introduction to Computer Vision Harsh Sinha
25 Credits: Richard Hartley, Andrew Zisserman
Epipolar Pencil
Introduction to Computer Vision Harsh Sinha
26 Credits: Fei Fei Li
Introduction to Computer Vision Harsh Sinha
27 Credits: Fei Fei Li
Introduction to Computer Vision Harsh Sinha
28 Credits: Fei Fei Li
Easier to solve. Can use simple SSD or similar methods.
Search along this line for the closest point. Computationally way more efficient.
Introduction to Computer Vision Harsh Sinha
29 Credits: Fei Fei Li
Introduction to Computer Vision Harsh Sinha
30
Assumed to be canonical camera
Introduction to Computer Vision Harsh Sinha
31
Assumed to be canonical camera RTp’ - RTT is p’ in SO RTT also lies in plane => RTT x (RTp’ - RTT) is perpendicular to epipolar plane
Introduction to Computer Vision Harsh Sinha
32
Assumed to be canonical camera => RTT x (RTp’ - RTT) = RT(T x p’) is perpendicular to p => (RT(T x p’))Tp = 0 => (T x p’T)Rp = 0
Introduction to Computer Vision Harsh Sinha
33
From Linear Algebra, the cross product of two vectors can be written as :
Introduction to Computer Vision Harsh Sinha
34
From Linear Algebra, the cross product of two vectors can be written as : [ax] : skew symmetric
Introduction to Computer Vision Harsh Sinha
35 Credits: Fei Fei Li
Introduction to Computer Vision Harsh Sinha
36 Credits: Fei Fei Li
Introduction to Computer Vision Harsh Sinha
37
Why?
Introduction to Computer Vision Harsh Sinha
38
ax + by + c = 0 i.e L = [a b c]T represents a line in homogeneous coordinates. => zTL = 0 where, z = [x, y, 1]T
Introduction to Computer Vision Harsh Sinha
39
Introduction to Computer Vision Harsh Sinha
40
F: Fundamental Matrix
Introduction to Computer Vision Harsh Sinha
41 Credits: Richard Hartley, Andrew Zisserman
Introduction to Computer Vision Harsh Sinha
42 Credits: Robert Collins, Penn State
Introduction to Computer Vision Harsh Sinha
43 Credits: Robert Collins, Penn State
Introduction to Computer Vision Harsh Sinha
44 Credits: Robert Collins, Penn State
Introduction to Computer Vision Harsh Sinha
45 Credits: Robert Collins, Penn State
Introduction to Computer Vision Harsh Sinha
46 Credits: Robert Collins, Penn State
Introduction to Computer Vision Harsh Sinha
47 Credits: Robert Collins, Penn State
Introduction to Computer Vision Harsh Sinha
48
Introduction to Computer Vision Harsh Sinha
49
Introduction to Computer Vision Harsh Sinha
50
Introduction to Computer Vision Harsh Sinha
51
Introduction to Computer Vision Harsh Sinha
52
Introduction to Computer Vision Harsh Sinha
53
Introduction to Computer Vision Harsh Sinha
54
Introduction to Computer Vision Harsh Sinha
55
Introduction to Computer Vision Harsh Sinha
56
Introduction to Computer Vision Harsh Sinha
done in order to increase robustness in the depth prediction.
corresponding points on the two images.
57
Introduction to Computer Vision Harsh Sinha
58 Credits: Trym Vegard Haavardsholm
Introduction to Computer Vision Harsh Sinha
59 Credits: Trym Vegard Haavardsholm
Introduction to Computer Vision Harsh Sinha
60 Credits: HEIKO HIRSCHMÜLLER
Cost of pixel wise matching Penalty based on neighbours mismatches, I.e, penalty for neighbours having different disparity Minimize E
D*
Introduction to Computer Vision Harsh Sinha
61
Cost of pixel wise matching Penalty based on neighbours mismatches, I.e, penalty for neighbours having different disparity Minimize E
D*
Guess the Drawbacks!!
Introduction to Computer Vision Harsh Sinha
62
Cost of pixel wise matching Penalty based on neighbours mismatches, I.e, penalty for neighbours having different disparity Minimize E
D*
Guess the Drawbacks!!
Introduction to Computer Vision Harsh Sinha
63 Credits: HEIKO HIRSCHMÜLLER
Introduction to Computer Vision Harsh Sinha
64 Credits: HEIKO HIRSCHMÜLLER