Efficient & Robust LK for Mobile Vision
Instructor - Simon Lucey
16-623 - Designing Computer Vision Apps
Efficient & Robust LK for Mobile Vision Instructor - Simon - - PowerPoint PPT Presentation
Efficient & Robust LK for Mobile Vision Instructor - Simon Lucey 16-623 - Designing Computer Vision Apps Direct Method Indirect Method (ours) (ORB+RANSAC) H. Alismail, B. Browning, S. Lucey Bit-Planes: Dense Subpixel Alignment of
Instructor - Simon Lucey
16-623 - Designing Computer Vision Apps
Direct Method (ours) Indirect Method (ORB+RANSAC)
Direct Method (ours) Indirect Method (ORB+RANSAC)
Direct Method (ours) Indirect Method (ORB+RANSAC)
4
5
5
“We consider this image to always be static....”
6
7
∂I(x0
1)
∂x0T
1
∂I(x0
N)
∂x0T
N
∂W(x1;p) ∂pT
∂W(xN;p) ∂pT
8
“Template” “Source Image”
8
“Template” “Source Image”
1
9
∂I(x0
1)
∂x0T
1
∂I(x0
N)
∂x0T
N
∂W(x1;p) ∂pT
∂W(xN;p) ∂pT
10
Step 1: Warp Image Step 2: Estimate Gradients
∗
∗
“Horizontal” “Vertical”
10
Step 1: Warp Image Step 2: Estimate Gradients
∗
∗
“Horizontal” “Vertical”
10
Step 1: Warp Image Step 2: Estimate Gradients
∗
∗
“Horizontal” “Vertical”
11
Step 1: Estimate Gradients Step 2: Warp Gradients
∗
∗
“Horizontal” “Vertical”
ryI
rxI
11
Step 1: Estimate Gradients Step 2: Warp Gradients
∗
∗
“Horizontal” “Vertical”
ryI
rxI
12
∂I(x0
1)
∂x0T
1
∂I(x0
N)
∂x0T
N
∂W(x1;p) ∂pT
∂W(xN;p) ∂pT
13
14
15
16
I JI
17
Step 1: Step 2:
I JT I [T (0) − I(p)]
18
18
19
∆x ||y − F(x) − ∂F(x)
2
Step 1: Step 2:
x ||y − F(x)||2 2
“Carl Friedrich Gauss” “Isaac Newton”
20
I(x + ∆x) − I(x)
Efficient search is essential on mobile and desktop!!
26
“Is there any way we can pre-compute any of this?”
I JI
∂I(x0
1)
∂x0T
1
∂I(x0
N)
∂x0T
N
∂W(x1;p) ∂pT
∂W(xN;p) ∂pT
27
27
27
“Why is this useful if the template must be static?”
∆p N
n=1
2
∆p N
n=1
2
3
1
2
∆p∗ N
n=1
2
∆p∗ N
n=1
2
3
1
2
∆p∗ N
n=1
2
“Static”
3
1
2
30
x2 x3 x0
3
x1 x0
1
x02 where: x0 = W(x; p) x = W(x; 0) 0 + ∆p∗
30
“for non-linear warp”
x2 x3 x0
3
x1 x0
1
x02 where: x0 = W(x; p) x = W(x; 0) 0 + ∆p∗
31
31
x2 x3
x0
3
x1
x0
1
x0
2
where: x0 = W(x; p) x = W(x; 0) 0 + ∆p∗
x2
x3 x03 x1 x0
1
x02 where: x0 = W(x; p) x = W(x; 0) p −1 ∆p∗
x2
x3 x03 x1 x0
1
x02 where: x0 = W(x; p) x = W(x; 0) p −1 ∆p∗
x2 x3
x03 x1 x01 x0
2
where: x0 = W(x; p) x = W(x; 0) p + ∆p
x2
x3 x03 x1 x0
1
x02 where: x0 = W(x; p) x = W(x; 0) p −1 ∆p∗
x2 x3
x03 x1 x01 x0
2
where: x0 = W(x; p) x = W(x; 0) p + ∆p
33
x2
x3
x0
3
x1 x0
1
x02 where: x0 = W(x; p) x = W(x; 0) p −1 ∆p∗
34
Step 1: Step 2:
∆p ||T (0) + ∂T (0)
2
T
35
Step 1: Step 2:
T JT T [I(p) − T (0)]
T JT
35
Step 1: Step 2:
T JT T [I(p) − T (0)]
“Static” “Inverse Composition”
T JT
36
∂T (x1) ∂xT
1
∂T (xN) ∂xT
N
∂W(x1;0) ∂pT
∂W(xN;0) ∂pT
∂I{W(x1;p)} ∂W(x1;p)T
∂I{W(xN;p)} ∂W(xN;p)T
∂W(x1;p) ∂pT
∂W(xN;p) ∂pT
“Constantly changing” “Static”
36
∂T (x1) ∂xT
1
∂T (xN) ∂xT
N
∂W(x1;0) ∂pT
∂W(xN;0) ∂pT
∂I{W(x1;p)} ∂W(x1;p)T
∂I{W(xN;p)} ∂W(xN;p)T
∂W(x1;p) ∂pT
∂W(xN;p) ∂pT
“Constantly changing” “Static”
37
38
Planar template tracking runtime in frames per second on single core Intel Core i7 2.8 Ghz.
not robust to outliers (e.g.
line to be quite wrong.
be helpful here.
not robust to outliers (e.g.
line to be quite wrong.
be helpful here.
∆p η{T (0) + ∂T (0)
L2 L1
Robust Error
η{x}
x
44
Step 1: Step 2:
∆p ||ψ{T (0)} + ∂ψ{T (0)}
2
“Raw Pixels” “BitPlanes”
able 2. Planar template tracking runtime in frames
Planar template tracking runtime in frames per second on single core Intel Core i7 2.8 Ghz.
Unifying Framework”, IJCV 2004.
Alignment on Densely Sampled Sparse Features”,
Springer Book on Dense Registration Methods 2015.
CMU Tech Report 06-11.
In Defense of Gradient-Based Alignment