+ All Categories
Home > Documents > Taking a Deeper Look at the Inverse Compositional AlgorithmFeature Tracking and Optical Flow SLAM...

Taking a Deeper Look at the Inverse Compositional AlgorithmFeature Tracking and Optical Flow SLAM...

Date post: 21-Feb-2021
Category:
Upload: others
View: 5 times
Download: 0 times
Share this document with a friend
62
Taking a Deeper Look at the Inverse Compositional Algorithm Andreas Geiger Autonomous Vision Group University of T¨ ubingen / MPI for Intelligent Systems June , 8 Autonomous Vision Group University of Tübingen MPI for Intelligent Systems
Transcript
Page 1: Taking a Deeper Look at the Inverse Compositional AlgorithmFeature Tracking and Optical Flow SLAM Panoramic Image Stitching Lucas and Kanade: An Iterative Image Registration Technique

Taking a Deeper Look at the Inverse Compositional Algorithm

Andreas Geiger

Autonomous Vision GroupUniversity of Tubingen / MPI for Intelligent Systems

June 17, 2018

Autonomous Vision Group

University of TübingenMPI for Intelligent Systems

Page 2: Taking a Deeper Look at the Inverse Compositional AlgorithmFeature Tracking and Optical Flow SLAM Panoramic Image Stitching Lucas and Kanade: An Iterative Image Registration Technique

Making Robust Image Alignment even more Robust

Andreas Geiger

Autonomous Vision GroupUniversity of Tubingen / MPI for Intelligent Systems

June 17, 2018

Autonomous Vision Group

University of TübingenMPI for Intelligent Systems

Page 3: Taking a Deeper Look at the Inverse Compositional AlgorithmFeature Tracking and Optical Flow SLAM Panoramic Image Stitching Lucas and Kanade: An Iterative Image Registration Technique

Making Robust Image Alignment even more Robustbut certainly not more Uncertain

Andreas Geiger

Autonomous Vision GroupUniversity of Tubingen / MPI for Intelligent Systems

June 17, 2018

Autonomous Vision Group

University of TübingenMPI for Intelligent Systems

Page 4: Taking a Deeper Look at the Inverse Compositional AlgorithmFeature Tracking and Optical Flow SLAM Panoramic Image Stitching Lucas and Kanade: An Iterative Image Registration Technique

Making Robust Image Alignment even more Robustbut certainly not more Uncertain

Andreas Geiger

Autonomous Vision GroupUniversity of Tubingen / MPI for Intelligent Systems

June 17, 2018

Autonomous Vision Group

University of TübingenMPI for Intelligent Systems

Page 5: Taking a Deeper Look at the Inverse Compositional AlgorithmFeature Tracking and Optical Flow SLAM Panoramic Image Stitching Lucas and Kanade: An Iterative Image Registration Technique

Taking a Deeper Look at theInverse Compositional Algorithm

[Lv, Dellaert, Rehg & Geiger, CVPR 2019]

Page 6: Taking a Deeper Look at the Inverse Compositional AlgorithmFeature Tracking and Optical Flow SLAM Panoramic Image Stitching Lucas and Kanade: An Iterative Image Registration Technique

A Seminal Paper

Page 7: Taking a Deeper Look at the Inverse Compositional AlgorithmFeature Tracking and Optical Flow SLAM Panoramic Image Stitching Lucas and Kanade: An Iterative Image Registration Technique

A Seminal Paper

Lucas and Kanade: An Iterative Image Registration Technique with an Application to Stereo Vision. IJCAI, 1981. 7

Page 8: Taking a Deeper Look at the Inverse Compositional AlgorithmFeature Tracking and Optical Flow SLAM Panoramic Image Stitching Lucas and Kanade: An Iterative Image Registration Technique

Applications of Image Registration

Feature Tracking and Optical Flow SLAM

Panoramic Image Stitching

Lucas and Kanade: An Iterative Image Registration Technique with an Application to Stereo Vision. IJCAI, 1981. 8

Page 9: Taking a Deeper Look at the Inverse Compositional AlgorithmFeature Tracking and Optical Flow SLAM Panoramic Image Stitching Lucas and Kanade: An Iterative Image Registration Technique

Lucas-Kanade Algorithm

Objective: Minimize photometric error between template T and image I

minξ‖I(ξ)−T(0)‖22

I I(ξ): image I transformed by warp parameters ξ

I T(0): templateI Note: This is a non-linear objective

Lucas and Kanade: An Iterative Image Registration Technique with an Application to Stereo Vision. IJCAI, 1981. 9

Page 10: Taking a Deeper Look at the Inverse Compositional AlgorithmFeature Tracking and Optical Flow SLAM Panoramic Image Stitching Lucas and Kanade: An Iterative Image Registration Technique

Lucas-Kanade Algorithm

I Iteratively solve the taskξk+1 = ξk ◦∆ξ

I The warp increment ∆ξ is obtained by linearizing the objective

min∆ξ‖I(ξk + ∆ξ)−T(0)‖22

using first-order Taylor expansion:

min∆ξ

∥∥∥∥∥I(ξk) +∂I(ξk)

∂ξ∆ξ −T(0)

∥∥∥∥∥2

2

I ∂I(ξk)/∂ξ must be recomputed at every iteration k

Lucas and Kanade: An Iterative Image Registration Technique with an Application to Stereo Vision. IJCAI, 1981. 10

Page 11: Taking a Deeper Look at the Inverse Compositional AlgorithmFeature Tracking and Optical Flow SLAM Panoramic Image Stitching Lucas and Kanade: An Iterative Image Registration Technique

Lucas-Kanade Algorithm

I Iteratively solve the taskξk+1 = ξk ◦∆ξ

I The warp increment ∆ξ is obtained by linearizing the objective

min∆ξ‖I(ξk + ∆ξ)−T(0)‖22

using first-order Taylor expansion:

min∆ξ

∥∥∥∥∥I(ξk) +∂I(ξk)

∂ξ∆ξ −T(0)

∥∥∥∥∥2

2

I ∂I(ξk)/∂ξ must be recomputed at every iteration k

Lucas and Kanade: An Iterative Image Registration Technique with an Application to Stereo Vision. IJCAI, 1981. 10

Page 12: Taking a Deeper Look at the Inverse Compositional AlgorithmFeature Tracking and Optical Flow SLAM Panoramic Image Stitching Lucas and Kanade: An Iterative Image Registration Technique

Lucas-Kanade Algorithm

I Iteratively solve the taskξk+1 = ξk ◦∆ξ

I The warp increment ∆ξ is obtained by linearizing the objective

min∆ξ‖I(ξk + ∆ξ)−T(0)‖22

using first-order Taylor expansion:

min∆ξ

∥∥∥∥∥I(ξk) +∂I(ξk)

∂ξ∆ξ −T(0)

∥∥∥∥∥2

2

I ∂I(ξk)/∂ξ must be recomputed at every iteration k

Lucas and Kanade: An Iterative Image Registration Technique with an Application to Stereo Vision. IJCAI, 1981. 10

Page 13: Taking a Deeper Look at the Inverse Compositional AlgorithmFeature Tracking and Optical Flow SLAM Panoramic Image Stitching Lucas and Kanade: An Iterative Image Registration Technique

Inverse Compositional Algorithm

I Iteratively solve the taskξk+1 = ξk ◦ (∆ξ)−1

I The warp increment ∆ξ is obtained by linearizing the objective

min∆ξ‖I(ξk)−T(∆ξ)‖22

using first-order Taylor expansion:

min∆ξ

∥∥∥∥∥I(ξk)−T(0)− ∂T(0)

∂ξ∆ξ

∥∥∥∥∥2

2

I ∂T(0)/∂ξ does not depend on ξk and can thus be pre-computed

Baker and Matthews: Lucas-Kanade 20 Years On: A Unifying Framework: Part 1. Technical Report, Carnegie Mellon University, 2003. 11

Page 14: Taking a Deeper Look at the Inverse Compositional AlgorithmFeature Tracking and Optical Flow SLAM Panoramic Image Stitching Lucas and Kanade: An Iterative Image Registration Technique

Inverse Compositional Algorithm

I Iteratively solve the taskξk+1 = ξk ◦ (∆ξ)−1

I The warp increment ∆ξ is obtained by linearizing the objective

min∆ξ‖I(ξk)−T(∆ξ)‖22

using first-order Taylor expansion:

min∆ξ

∥∥∥∥∥I(ξk)−T(0)− ∂T(0)

∂ξ∆ξ

∥∥∥∥∥2

2

I ∂T(0)/∂ξ does not depend on ξk and can thus be pre-computed

Baker and Matthews: Lucas-Kanade 20 Years On: A Unifying Framework: Part 1. Technical Report, Carnegie Mellon University, 2003. 11

Page 15: Taking a Deeper Look at the Inverse Compositional AlgorithmFeature Tracking and Optical Flow SLAM Panoramic Image Stitching Lucas and Kanade: An Iterative Image Registration Technique

Inverse Compositional Algorithm

I Iteratively solve the taskξk+1 = ξk ◦ (∆ξ)−1

I The warp increment ∆ξ is obtained by linearizing the objective

min∆ξ‖I(ξk)−T(∆ξ)‖22

using first-order Taylor expansion:

min∆ξ

∥∥∥∥∥I(ξk)−T(0)− ∂T(0)

∂ξ∆ξ

∥∥∥∥∥2

2

I ∂T(0)/∂ξ does not depend on ξk and can thus be pre-computed

Baker and Matthews: Lucas-Kanade 20 Years On: A Unifying Framework: Part 1. Technical Report, Carnegie Mellon University, 2003. 11

Page 16: Taking a Deeper Look at the Inverse Compositional AlgorithmFeature Tracking and Optical Flow SLAM Panoramic Image Stitching Lucas and Kanade: An Iterative Image Registration Technique

Comparison

Lucas-Kanade Algorithm

ξk+1 = ξk ◦∆ξ

min∆ξ‖I(ξk + ∆ξ)−T(0)‖22

min∆ξ

∥∥∥∥∥I(ξk) +∂I(ξk)

∂ξ∆ξ −T(0)

∥∥∥∥∥2

2

Inverse Compositional Algorithm

ξk+1 = ξk ◦ (∆ξ)−1

min∆ξ‖I(ξk)−T(∆ξ)‖22

min∆ξ

∥∥∥∥∥I(ξk)−T(0)− ∂T(0)

∂ξ∆ξ

∥∥∥∥∥2

2

I The Inverse Compositional Algorithm is more computationally efficient!

Baker and Matthews: Lucas-Kanade 20 Years On: A Unifying Framework: Part 1. Technical Report, Carnegie Mellon University, 2003. 12

Page 17: Taking a Deeper Look at the Inverse Compositional AlgorithmFeature Tracking and Optical Flow SLAM Panoramic Image Stitching Lucas and Kanade: An Iterative Image Registration Technique

Robust M-Estimation

I To handle outliers, robust estimation can be used:

min∆ξ

rk(∆ξ)T Wrk(∆ξ)

rk(∆ξ) = I(ξk)−T(∆ξ)

I The diagonal weight matrix W is determined by the implicit robust loss ρ(·)

Baker, Gross, Matthews and Ishikawa: Lucas-Kanade 20 Years On: A Unifying Framework: Part 2. Technical Report, Carnegie Mellon University, 2003. 13

Page 18: Taking a Deeper Look at the Inverse Compositional AlgorithmFeature Tracking and Optical Flow SLAM Panoramic Image Stitching Lucas and Kanade: An Iterative Image Registration Technique

Optimization

I The minimizer of rk(∆ξ)T Wrk(∆ξ) leads to the Gauss-Newton update:

∆ξ = (JTWJ)−1

JTWrk(0)

with Jacobian J = ∂T(0)/∂ξ

I As the approximate Hessian JTWJ easily becomes ill-conditioned,a damping term is added in practice, resulting in a trust-region update:

∆ξ = (JTWJ + λ diag(JTWJ))−1

JTWrk(0)

I For different λ, the update varies between the Gauss-Newton direction andsteepest descent. In practice, λ is chosen based on simple heuristics.

Baker, Gross, Matthews and Ishikawa: Lucas-Kanade 20 Years On: A Unifying Framework: Part 2. Technical Report, Carnegie Mellon University, 2003. 14

Page 19: Taking a Deeper Look at the Inverse Compositional AlgorithmFeature Tracking and Optical Flow SLAM Panoramic Image Stitching Lucas and Kanade: An Iterative Image Registration Technique

Optimization

I The minimizer of rk(∆ξ)T Wrk(∆ξ) leads to the Gauss-Newton update:

∆ξ = (JTWJ)−1

JTWrk(0)

with Jacobian J = ∂T(0)/∂ξ

I As the approximate Hessian JTWJ easily becomes ill-conditioned,a damping term is added in practice, resulting in a trust-region update:

∆ξ = (JTWJ + λ diag(JTWJ))−1

JTWrk(0)

I For different λ, the update varies between the Gauss-Newton direction andsteepest descent. In practice, λ is chosen based on simple heuristics.

Baker, Gross, Matthews and Ishikawa: Lucas-Kanade 20 Years On: A Unifying Framework: Part 2. Technical Report, Carnegie Mellon University, 2003. 14

Page 20: Taking a Deeper Look at the Inverse Compositional AlgorithmFeature Tracking and Optical Flow SLAM Panoramic Image Stitching Lucas and Kanade: An Iterative Image Registration Technique

Optimization

I The minimizer of rk(∆ξ)T Wrk(∆ξ) leads to the Gauss-Newton update:

∆ξ = (JTWJ)−1

JTWrk(0)

with Jacobian J = ∂T(0)/∂ξ

I As the approximate Hessian JTWJ easily becomes ill-conditioned,a damping term is added in practice, resulting in a trust-region update:

∆ξ = (JTWJ + λ diag(JTWJ))−1

JTWrk(0)

I For different λ, the update varies between the Gauss-Newton direction andsteepest descent. In practice, λ is chosen based on simple heuristics.

Baker, Gross, Matthews and Ishikawa: Lucas-Kanade 20 Years On: A Unifying Framework: Part 2. Technical Report, Carnegie Mellon University, 2003. 14

Page 21: Taking a Deeper Look at the Inverse Compositional AlgorithmFeature Tracking and Optical Flow SLAM Panoramic Image Stitching Lucas and Kanade: An Iterative Image Registration Technique

Robust Inverse Compositional Algorithm

Baker, Gross, Matthews and Ishikawa: Lucas-Kanade 20 Years On: A Unifying Framework: Part 2. Technical Report, Carnegie Mellon University, 2003. 15

Page 22: Taking a Deeper Look at the Inverse Compositional AlgorithmFeature Tracking and Optical Flow SLAM Panoramic Image Stitching Lucas and Kanade: An Iterative Image Registration Technique

What is the problem?

Limitations:I Easily gets trapped in local minima as residuals often highly non-linear

I Choosing a robust loss function ρ is difficult as residual distribution unknownI The objective does not capture high-order statistics of the inputs (W is diagonal)I Damping heuristics are suboptimal and do not depend on the input

Our ApproachI Unroll the algorithm into a parameterized feed-forward networkI Relax assumptions above but preserves advantages of robust estimationI Trained end-to-end from data

Baker, Gross, Matthews and Ishikawa: Lucas-Kanade 20 Years On: A Unifying Framework: Part 2. Technical Report, Carnegie Mellon University, 2003. 16

Page 23: Taking a Deeper Look at the Inverse Compositional AlgorithmFeature Tracking and Optical Flow SLAM Panoramic Image Stitching Lucas and Kanade: An Iterative Image Registration Technique

What is the problem?

Limitations:I Easily gets trapped in local minima as residuals often highly non-linearI Choosing a robust loss function ρ is difficult as residual distribution unknown

I The objective does not capture high-order statistics of the inputs (W is diagonal)I Damping heuristics are suboptimal and do not depend on the input

Our ApproachI Unroll the algorithm into a parameterized feed-forward networkI Relax assumptions above but preserves advantages of robust estimationI Trained end-to-end from data

Baker, Gross, Matthews and Ishikawa: Lucas-Kanade 20 Years On: A Unifying Framework: Part 2. Technical Report, Carnegie Mellon University, 2003. 16

Page 24: Taking a Deeper Look at the Inverse Compositional AlgorithmFeature Tracking and Optical Flow SLAM Panoramic Image Stitching Lucas and Kanade: An Iterative Image Registration Technique

What is the problem?

Limitations:I Easily gets trapped in local minima as residuals often highly non-linearI Choosing a robust loss function ρ is difficult as residual distribution unknownI The objective does not capture high-order statistics of the inputs (W is diagonal)

I Damping heuristics are suboptimal and do not depend on the input

Our ApproachI Unroll the algorithm into a parameterized feed-forward networkI Relax assumptions above but preserves advantages of robust estimationI Trained end-to-end from data

Baker, Gross, Matthews and Ishikawa: Lucas-Kanade 20 Years On: A Unifying Framework: Part 2. Technical Report, Carnegie Mellon University, 2003. 16

Page 25: Taking a Deeper Look at the Inverse Compositional AlgorithmFeature Tracking and Optical Flow SLAM Panoramic Image Stitching Lucas and Kanade: An Iterative Image Registration Technique

What is the problem?

Limitations:I Easily gets trapped in local minima as residuals often highly non-linearI Choosing a robust loss function ρ is difficult as residual distribution unknownI The objective does not capture high-order statistics of the inputs (W is diagonal)I Damping heuristics are suboptimal and do not depend on the input

Our ApproachI Unroll the algorithm into a parameterized feed-forward networkI Relax assumptions above but preserves advantages of robust estimationI Trained end-to-end from data

Baker, Gross, Matthews and Ishikawa: Lucas-Kanade 20 Years On: A Unifying Framework: Part 2. Technical Report, Carnegie Mellon University, 2003. 16

Page 26: Taking a Deeper Look at the Inverse Compositional AlgorithmFeature Tracking and Optical Flow SLAM Panoramic Image Stitching Lucas and Kanade: An Iterative Image Registration Technique

What is the problem?

Limitations:I Easily gets trapped in local minima as residuals often highly non-linearI Choosing a robust loss function ρ is difficult as residual distribution unknownI The objective does not capture high-order statistics of the inputs (W is diagonal)I Damping heuristics are suboptimal and do not depend on the input

Our ApproachI Unroll the algorithm into a parameterized feed-forward network

I Relax assumptions above but preserves advantages of robust estimationI Trained end-to-end from data

Baker, Gross, Matthews and Ishikawa: Lucas-Kanade 20 Years On: A Unifying Framework: Part 2. Technical Report, Carnegie Mellon University, 2003. 16

Page 27: Taking a Deeper Look at the Inverse Compositional AlgorithmFeature Tracking and Optical Flow SLAM Panoramic Image Stitching Lucas and Kanade: An Iterative Image Registration Technique

What is the problem?

Limitations:I Easily gets trapped in local minima as residuals often highly non-linearI Choosing a robust loss function ρ is difficult as residual distribution unknownI The objective does not capture high-order statistics of the inputs (W is diagonal)I Damping heuristics are suboptimal and do not depend on the input

Our ApproachI Unroll the algorithm into a parameterized feed-forward networkI Relax assumptions above but preserves advantages of robust estimation

I Trained end-to-end from data

Baker, Gross, Matthews and Ishikawa: Lucas-Kanade 20 Years On: A Unifying Framework: Part 2. Technical Report, Carnegie Mellon University, 2003. 16

Page 28: Taking a Deeper Look at the Inverse Compositional AlgorithmFeature Tracking and Optical Flow SLAM Panoramic Image Stitching Lucas and Kanade: An Iterative Image Registration Technique

What is the problem?

Limitations:I Easily gets trapped in local minima as residuals often highly non-linearI Choosing a robust loss function ρ is difficult as residual distribution unknownI The objective does not capture high-order statistics of the inputs (W is diagonal)I Damping heuristics are suboptimal and do not depend on the input

Our ApproachI Unroll the algorithm into a parameterized feed-forward networkI Relax assumptions above but preserves advantages of robust estimationI Trained end-to-end from data

Baker, Gross, Matthews and Ishikawa: Lucas-Kanade 20 Years On: A Unifying Framework: Part 2. Technical Report, Carnegie Mellon University, 2003. 16

Page 29: Taking a Deeper Look at the Inverse Compositional AlgorithmFeature Tracking and Optical Flow SLAM Panoramic Image Stitching Lucas and Kanade: An Iterative Image Registration Technique

Approach

Page 30: Taking a Deeper Look at the Inverse Compositional AlgorithmFeature Tracking and Optical Flow SLAM Panoramic Image Stitching Lucas and Kanade: An Iterative Image Registration Technique

Robust Inverse Compositional Algorithm

18

Page 31: Taking a Deeper Look at the Inverse Compositional AlgorithmFeature Tracking and Optical Flow SLAM Panoramic Image Stitching Lucas and Kanade: An Iterative Image Registration Technique

Robust Inverse Compositional Algorithm

I Two-view feature encoder Convolutional m-estimator Trust-region network18

Page 32: Taking a Deeper Look at the Inverse Compositional AlgorithmFeature Tracking and Optical Flow SLAM Panoramic Image Stitching Lucas and Kanade: An Iterative Image Registration Technique

Two-View Feature Encoder

I ConvNet φθ for extracting:I Image features Iθ = φθ([I,T])

I Template features Tθ = φθ([T, I])

I Both views passed as inputI Features capture high-order spatial and temporal information

19

Page 33: Taking a Deeper Look at the Inverse Compositional AlgorithmFeature Tracking and Optical Flow SLAM Panoramic Image Stitching Lucas and Kanade: An Iterative Image Registration Technique

Two-View Feature Encoder

I ConvNet φθ for extracting:I Image features Iθ = φθ([I,T])

I Template features Tθ = φθ([T, I])

I Both views passed as inputI Features capture high-order spatial and temporal information

19

Page 34: Taking a Deeper Look at the Inverse Compositional AlgorithmFeature Tracking and Optical Flow SLAM Panoramic Image Stitching Lucas and Kanade: An Iterative Image Registration Technique

Convolutional M-Estimator

I Robust weight function parameterized by ConvNet ψθI Input: feature maps I,T and residual rI Output: diagonal weight matrix Wθ = ψθ(I,T, r)

I Robust function is learned end-to-end from dataI Robust function conditioned on input image/template and pixel context

20

Page 35: Taking a Deeper Look at the Inverse Compositional AlgorithmFeature Tracking and Optical Flow SLAM Panoramic Image Stitching Lucas and Kanade: An Iterative Image Registration Technique

Convolutional M-Estimator

I Robust weight function parameterized by ConvNet ψθI Input: feature maps I,T and residual rI Output: diagonal weight matrix Wθ = ψθ(I,T, r)

I Robust function is learned end-to-end from dataI Robust function conditioned on input image/template and pixel context

20

Page 36: Taking a Deeper Look at the Inverse Compositional AlgorithmFeature Tracking and Optical Flow SLAM Panoramic Image Stitching Lucas and Kanade: An Iterative Image Registration Technique

Trust Region Network

I Compute hypothetical updates for a set of damping proposals:

∆ξi = (JTWJ + λi diag(JTWJ))−1

JTWrk(0)

I Pass resulting residuals to a neural net which predicts damping parameters:

λθ = νθ

(JTWJ,

[JTWr

(1)k+1, . . . ,J

TWr(N)k+1

])I Our experiments show that residual maps indeed contain valuable information

21

Page 37: Taking a Deeper Look at the Inverse Compositional AlgorithmFeature Tracking and Optical Flow SLAM Panoramic Image Stitching Lucas and Kanade: An Iterative Image Registration Technique

Trust Region Network

I Compute hypothetical updates for a set of damping proposals:

∆ξi = (JTWJ + λi diag(JTWJ))−1

JTWrk(0)

I Pass resulting residuals to a neural net which predicts damping parameters:

λθ = νθ

(JTWJ,

[JTWr

(1)k+1, . . . ,J

TWr(N)k+1

])

I Our experiments show that residual maps indeed contain valuable information

21

Page 38: Taking a Deeper Look at the Inverse Compositional AlgorithmFeature Tracking and Optical Flow SLAM Panoramic Image Stitching Lucas and Kanade: An Iterative Image Registration Technique

Trust Region Network

I Compute hypothetical updates for a set of damping proposals:

∆ξi = (JTWJ + λi diag(JTWJ))−1

JTWrk(0)

I Pass resulting residuals to a neural net which predicts damping parameters:

λθ = νθ

(JTWJ,

[JTWr

(1)k+1, . . . ,J

TWr(N)k+1

])I Our experiments show that residual maps indeed contain valuable information

21

Page 39: Taking a Deeper Look at the Inverse Compositional AlgorithmFeature Tracking and Optical Flow SLAM Panoramic Image Stitching Lucas and Kanade: An Iterative Image Registration Technique

Overview

22

Page 40: Taking a Deeper Look at the Inverse Compositional AlgorithmFeature Tracking and Optical Flow SLAM Panoramic Image Stitching Lucas and Kanade: An Iterative Image Registration Technique

Overview

22

Page 41: Taking a Deeper Look at the Inverse Compositional AlgorithmFeature Tracking and Optical Flow SLAM Panoramic Image Stitching Lucas and Kanade: An Iterative Image Registration Technique

Experimental Evaluation

Page 42: Taking a Deeper Look at the Inverse Compositional AlgorithmFeature Tracking and Optical Flow SLAM Panoramic Image Stitching Lucas and Kanade: An Iterative Image Registration Technique

RGB-D Image Alignment

The rigid body transformation Tξ warps pixel x as

Wξ(x) = KTξD(x)K−1 x

withI K: camera intrinsics D(x): depth at pixel xI Iθ(ξ) is obtained via bilinear sampling with z-buffering

24

Page 43: Taking a Deeper Look at the Inverse Compositional AlgorithmFeature Tracking and Optical Flow SLAM Panoramic Image Stitching Lucas and Kanade: An Iterative Image Registration Technique

Training Objective

3D End-Point-Error Loss:

L =1

|P|∑l∈L

∑p∈P‖Tgt p−T(ξl)p‖

22

withI p = D(x)K−1x: 3D point corresponding to pixel x in I

I L: set of coarse-to-fine pyramid levels

The EPE loss balances the influences of translation and rotation.

25

Page 44: Taking a Deeper Look at the Inverse Compositional AlgorithmFeature Tracking and Optical Flow SLAM Panoramic Image Stitching Lucas and Kanade: An Iterative Image Registration Technique

Datasets

Object Motion:I MovingObjects3D (ShapeNet objects moving in static 3D room)

Camera Motion:I BundleFusion [Dai et al., 2017]I DynamicBundleFusion [Lv et al., 2018]I TUM RGB-D SLAM [Sturm et al., 2012]

We subsample frames to increase the motion/difficulty.

26

Page 45: Taking a Deeper Look at the Inverse Compositional AlgorithmFeature Tracking and Optical Flow SLAM Panoramic Image Stitching Lucas and Kanade: An Iterative Image Registration Technique

Datasets

Object Motion:I MovingObjects3D (ShapeNet objects moving in static 3D room)

Camera Motion:I BundleFusion [Dai et al., 2017]I DynamicBundleFusion [Lv et al., 2018]I TUM RGB-D SLAM [Sturm et al., 2012]

We subsample frames to increase the motion/difficulty.

26

Page 46: Taking a Deeper Look at the Inverse Compositional AlgorithmFeature Tracking and Optical Flow SLAM Panoramic Image Stitching Lucas and Kanade: An Iterative Image Registration Technique

Datasets

27

Page 47: Taking a Deeper Look at the Inverse Compositional AlgorithmFeature Tracking and Optical Flow SLAM Panoramic Image Stitching Lucas and Kanade: An Iterative Image Registration Technique

BaselinesClassical Methods:I ICP implementation of Open3D [Zhou et al., 2018]I RGB-D Visual Odometry [Steinbrucker et al., 2011]

Direct Pose Regression:I Pose Regression with a FlowNetSimple backbone [Dosovitskiy et al., 2015]I Cascaded Pose RegressionI Pose Regression with IC Refinement [Li et al., 2018]

Learning-based Optimization:I LS-Net [Clark et al., 2018]I DeepLK [Wang et al., 2018]

28

Page 48: Taking a Deeper Look at the Inverse Compositional AlgorithmFeature Tracking and Optical Flow SLAM Panoramic Image Stitching Lucas and Kanade: An Iterative Image Registration Technique

BaselinesClassical Methods:I ICP implementation of Open3D [Zhou et al., 2018]I RGB-D Visual Odometry [Steinbrucker et al., 2011]

Direct Pose Regression:I Pose Regression with a FlowNetSimple backbone [Dosovitskiy et al., 2015]I Cascaded Pose RegressionI Pose Regression with IC Refinement [Li et al., 2018]

Learning-based Optimization:I LS-Net [Clark et al., 2018]I DeepLK [Wang et al., 2018]

28

Page 49: Taking a Deeper Look at the Inverse Compositional AlgorithmFeature Tracking and Optical Flow SLAM Panoramic Image Stitching Lucas and Kanade: An Iterative Image Registration Technique

BaselinesClassical Methods:I ICP implementation of Open3D [Zhou et al., 2018]I RGB-D Visual Odometry [Steinbrucker et al., 2011]

Direct Pose Regression:I Pose Regression with a FlowNetSimple backbone [Dosovitskiy et al., 2015]I Cascaded Pose RegressionI Pose Regression with IC Refinement [Li et al., 2018]

Learning-based Optimization:I LS-Net [Clark et al., 2018]I DeepLK [Wang et al., 2018]

28

Page 50: Taking a Deeper Look at the Inverse Compositional AlgorithmFeature Tracking and Optical Flow SLAM Panoramic Image Stitching Lucas and Kanade: An Iterative Image Registration Technique

Results on MovingObjects3D

17

.68

17

.74

17

.34

15

.33

12

.96

Po int-Point

ICP

Pose-CNN R. C lark et

a l . 2018

C. Wang et

a l . 2018

Ours

3D End Point Error ↓

29

Page 51: Taking a Deeper Look at the Inverse Compositional AlgorithmFeature Tracking and Optical Flow SLAM Panoramic Image Stitching Lucas and Kanade: An Iterative Image Registration Technique

Results on MovingObjects3D

T I I(ξGT) I(ξ∗)

30

Page 52: Taking a Deeper Look at the Inverse Compositional AlgorithmFeature Tracking and Optical Flow SLAM Panoramic Image Stitching Lucas and Kanade: An Iterative Image Registration Technique

Results on TUM RGB-D1

.03 2

.81

5.9

5

13

.83

0.6

9

1.1

4 2.0

9

5.8

8KEY FRAME 1 KEY FRAME 2 KEY FRAME 4 KEY FRAME 8

mRPE: translation (cm) ↓

0.5

5 1.3

9

3.9

9

9.2

0.4

5

0.6

3

1.1

3.7

6

KEY FRAME 1 KEY FRAME 2 KEY FRAME 4 KEY FRAME 8

mRPE: rotation (deg) ↓

Steinbrücker et al, 2011 Ours

31

Page 53: Taking a Deeper Look at the Inverse Compositional AlgorithmFeature Tracking and Optical Flow SLAM Panoramic Image Stitching Lucas and Kanade: An Iterative Image Registration Technique

Ablation Study on DynamicBundleFusion

Method 3D EPE (cm)

No learning 8.58Ours (A) 7.11Ours (A)+(B) 6.88Ours (A)+(B)+(C) 4.64Ours (A)+(B)+(C) (no WS) 3.82

32

Page 54: Taking a Deeper Look at the Inverse Compositional AlgorithmFeature Tracking and Optical Flow SLAM Panoramic Image Stitching Lucas and Kanade: An Iterative Image Registration Technique

Model Parameters and Inference Time

19

0.6

Pose-CNN Ours

Model parameters (M)14.2

7.24

Pose-CNN (3iterations)

Ours (12 iterations)

Inference time (ms)

33

Page 55: Taking a Deeper Look at the Inverse Compositional AlgorithmFeature Tracking and Optical Flow SLAM Panoramic Image Stitching Lucas and Kanade: An Iterative Image Registration Technique

Summary

I Generalization of Lucas-Kanade algorithm lifting several assumptions

I 3 modules:I Two-view Feature EncoderI Convolutional M-EstimatorI Trust Region Network

I End-to-end trainableI Evaluated on object motion and camera motion estimation tasksI Better generalization than image-to-pose regression modelsI Higher accuracy compared to classical (non-learned) models

Conclusion: Combining classical and deep methods increases robustness

34

Page 56: Taking a Deeper Look at the Inverse Compositional AlgorithmFeature Tracking and Optical Flow SLAM Panoramic Image Stitching Lucas and Kanade: An Iterative Image Registration Technique

Summary

I Generalization of Lucas-Kanade algorithm lifting several assumptionsI 3 modules:

I Two-view Feature EncoderI Convolutional M-EstimatorI Trust Region Network

I End-to-end trainableI Evaluated on object motion and camera motion estimation tasksI Better generalization than image-to-pose regression modelsI Higher accuracy compared to classical (non-learned) models

Conclusion: Combining classical and deep methods increases robustness

34

Page 57: Taking a Deeper Look at the Inverse Compositional AlgorithmFeature Tracking and Optical Flow SLAM Panoramic Image Stitching Lucas and Kanade: An Iterative Image Registration Technique

Summary

I Generalization of Lucas-Kanade algorithm lifting several assumptionsI 3 modules:

I Two-view Feature EncoderI Convolutional M-EstimatorI Trust Region Network

I End-to-end trainable

I Evaluated on object motion and camera motion estimation tasksI Better generalization than image-to-pose regression modelsI Higher accuracy compared to classical (non-learned) models

Conclusion: Combining classical and deep methods increases robustness

34

Page 58: Taking a Deeper Look at the Inverse Compositional AlgorithmFeature Tracking and Optical Flow SLAM Panoramic Image Stitching Lucas and Kanade: An Iterative Image Registration Technique

Summary

I Generalization of Lucas-Kanade algorithm lifting several assumptionsI 3 modules:

I Two-view Feature EncoderI Convolutional M-EstimatorI Trust Region Network

I End-to-end trainableI Evaluated on object motion and camera motion estimation tasks

I Better generalization than image-to-pose regression modelsI Higher accuracy compared to classical (non-learned) models

Conclusion: Combining classical and deep methods increases robustness

34

Page 59: Taking a Deeper Look at the Inverse Compositional AlgorithmFeature Tracking and Optical Flow SLAM Panoramic Image Stitching Lucas and Kanade: An Iterative Image Registration Technique

Summary

I Generalization of Lucas-Kanade algorithm lifting several assumptionsI 3 modules:

I Two-view Feature EncoderI Convolutional M-EstimatorI Trust Region Network

I End-to-end trainableI Evaluated on object motion and camera motion estimation tasksI Better generalization than image-to-pose regression models

I Higher accuracy compared to classical (non-learned) models

Conclusion: Combining classical and deep methods increases robustness

34

Page 60: Taking a Deeper Look at the Inverse Compositional AlgorithmFeature Tracking and Optical Flow SLAM Panoramic Image Stitching Lucas and Kanade: An Iterative Image Registration Technique

Summary

I Generalization of Lucas-Kanade algorithm lifting several assumptionsI 3 modules:

I Two-view Feature EncoderI Convolutional M-EstimatorI Trust Region Network

I End-to-end trainableI Evaluated on object motion and camera motion estimation tasksI Better generalization than image-to-pose regression modelsI Higher accuracy compared to classical (non-learned) models

Conclusion: Combining classical and deep methods increases robustness

34

Page 61: Taking a Deeper Look at the Inverse Compositional AlgorithmFeature Tracking and Optical Flow SLAM Panoramic Image Stitching Lucas and Kanade: An Iterative Image Registration Technique

Summary

I Generalization of Lucas-Kanade algorithm lifting several assumptionsI 3 modules:

I Two-view Feature EncoderI Convolutional M-EstimatorI Trust Region Network

I End-to-end trainableI Evaluated on object motion and camera motion estimation tasksI Better generalization than image-to-pose regression modelsI Higher accuracy compared to classical (non-learned) models

Conclusion: Combining classical and deep methods increases robustness

34

Page 62: Taking a Deeper Look at the Inverse Compositional AlgorithmFeature Tracking and Optical Flow SLAM Panoramic Image Stitching Lucas and Kanade: An Iterative Image Registration Technique

Thank you!http://autonomousvision.github.io


Recommended