hybrids mixed approaches stephan weiss

15
Jet Propulsion Laboratory California Institute of Technology Hybrids Mixed Approaches Stephan Weiss Computer Vision Group NASA-JPL / CalTech [email protected] (c) 2013 California Institute of Technology. Government sponsorship acknowledged.

Upload: hadung

Post on 02-Jan-2017

219 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Hybrids Mixed Approaches Stephan Weiss

Jet Propulsion LaboratoryCalifornia Institute of Technology

HybridsMixed Approaches

Stephan WeissComputer Vision Group

NASA-JPL / CalTech

[email protected]

(c) 2013 California Institute of Technology. Government sponsorship acknowledged.

Page 2: Hybrids Mixed Approaches Stephan Weiss

June 28, 2014 CVPR Tutorial on VSLAM -- S. Weiss 2

Jet Propulsion LaboratoryCalifornia Institute of Technology

Outline

● Why mixing?

● Parallel Tracking and Mapping– Benefits and Issues

● Including Optical Flow

● Semi-Direct Visual Odometry– A dense'ish approach

PTAM, Klein & Murray ISMAR 2007

Page 3: Hybrids Mixed Approaches Stephan Weiss

June 28, 2014 CVPR Tutorial on VSLAM -- S. Weiss 3

Jet Propulsion LaboratoryCalifornia Institute of Technology

Why Mixing?

● Different approaches have different benefits– Mix to get “best” properties for specific application

● Visual odometry– Fast, easy to implement– Frame-to-frame VO drifts temporally– No notion of the past (i.e. visited places)

● SLAM– Full SLAM is globally consistent– Closes loops– Slow and more complex to implement

● Sparse and dense realizations

● For robotic applications:– Fast local pose information mostly is sufficient– Slow scale drift still is important Newcombe & Davison CVPR 2010

Page 4: Hybrids Mixed Approaches Stephan Weiss

June 28, 2014 CVPR Tutorial on VSLAM -- S. Weiss 4

Jet Propulsion LaboratoryCalifornia Institute of Technology

PTAM: A FAST SLAM approach

Parallel Tracking And Mapping (PTAM)● Hybrid between BA, localization with known landmarks, and

sparse VO ● Ran on a cell phone processor back in 2009● Designed for small workspaces

– Reduced to windowed VO for large environments

● Allows to track many features – Favorable over many camera poses

[Klein & Murray ISMAR 2007]

[Weiss et al. JFR 2013]

n=features, m=camera poses[Strasdat et al. ICRA 2010]

[Klein & Murray ISMAR 2009]

Page 5: Hybrids Mixed Approaches Stephan Weiss

June 28, 2014 CVPR Tutorial on VSLAM -- S. Weiss 5

Jet Propulsion LaboratoryCalifornia Institute of Technology

PTAM: A FAST SLAM approach

Parallel Tracking And Mapping (PTAM)● BA part:

– Optimizes specific camera frames: keyframes– Optimizes 3D features in map– Runs in a separate thread in the background– Continuously optimizes the “world” if resources are available– Initialization and feature map required: can fail!

[Klein & Murray ISMAR07]

[Kneip et al. BMVC 2011]

Page 6: Hybrids Mixed Approaches Stephan Weiss

June 28, 2014 CVPR Tutorial on VSLAM -- S. Weiss 6

Jet Propulsion LaboratoryCalifornia Institute of Technology

PTAM: A FAST SLAM approach

Parallel Tracking And Mapping (PTAM)● Localization with known landmarks

– Only use “known” map features for pose estimation– Very fast: p3p algorithm, separate thread in foreground– Does not drift over time– Tracking: robust against view point and scale change

● Warp feature descriptors (still fast though)● Use different pyramidal levels

[Klein & Murray ISMAR07]

[Kneip et al. BMVC 2011]

Page 7: Hybrids Mixed Approaches Stephan Weiss

June 28, 2014 CVPR Tutorial on VSLAM -- S. Weiss 7

Jet Propulsion LaboratoryCalifornia Institute of Technology

PTAM: A FAST SLAM approach

Parallel Tracking And Mapping (PTAM)● Visual odometry

– Estimate R, T for first 2 keyframes: initialization– Add keyframe when entering unmapped area

● Use epipolar constraint and motion model– Use known 3D points for scale propagation– Interleaves with tracking and mapping thread!

[Klein & Murray ISMAR07]

Keyframe: typical outdoor scene

3D features

camera pose

pyramid levels

[Kneip et al. BMVC 2011]

Page 8: Hybrids Mixed Approaches Stephan Weiss

June 28, 2014 CVPR Tutorial on VSLAM -- S. Weiss 8

Jet Propulsion LaboratoryCalifornia Institute of Technology

PTAM: From Small to Large Workspaces

[Weiss et al. JFR 2013]

● Global BA is not tractable for large areas– Use local optimization/windowed techniques or iSAM2– Optimize local map with N closest key-frames

reduce algorithm to constant complexity● Introduces drifts: scale, position, attitude

Weiss et al. JFR 2013

Page 9: Hybrids Mixed Approaches Stephan Weiss

June 28, 2014 CVPR Tutorial on VSLAM -- S. Weiss 9

Jet Propulsion LaboratoryCalifornia Institute of Technology

PTAM & IOFMap Based Navigation with Map Free Fallback

● Robot applications: need pose information at any time● BA part of PTAM generates known feature map

– Needs 2-frame initialization– Can get corrupted/fail over time– How to determine if map is good? Re-initialization?– When to create a new keyframe?

● Non-Hybrid approaches:– Find global optimum or– Do not care about the past

Page 10: Hybrids Mixed Approaches Stephan Weiss

June 28, 2014 CVPR Tutorial on VSLAM -- S. Weiss 10

Jet Propulsion LaboratoryCalifornia Institute of Technology

PTAM & IOFMap Based Navigation with Map Free Fallback

● Mitigate map failures by using a map free approach– Optical flow only needs 2 images, provides velocity– Combined with inertial cues (IOF) yields metric velocity

(see morning lecture)

● Combination by separate algorithms, graph based or EKF based implementation (see morning lectures)

[Weiss et al. ICRA 2012]

Page 11: Hybrids Mixed Approaches Stephan Weiss

June 28, 2014 CVPR Tutorial on VSLAM -- S. Weiss 11

Jet Propulsion LaboratoryCalifornia Institute of Technology

PTAMRemoving the Features

● Repetitive structures are difficult to disambiguate● Motion blur can cause feature loss● Example: PTAM outlier statistics

– Critical at keyrfame creation– Lot of computation power for outliers

[Weiss et al. JFR 2013]

Page 12: Hybrids Mixed Approaches Stephan Weiss

June 28, 2014 CVPR Tutorial on VSLAM -- S. Weiss 12

Jet Propulsion LaboratoryCalifornia Institute of Technology

PTAMRemoving the Features

[Weiss et al. JFR 2013]

640x480 (Klein & Murray )

80x60 (Klein & Murray )

● Remove outlier-heavy pyramidal levels in map– More accurate map, less drift– Beneficial for motion model: limit search region

Search cone based on motion model

Page 13: Hybrids Mixed Approaches Stephan Weiss

June 28, 2014 CVPR Tutorial on VSLAM -- S. Weiss 13

Jet Propulsion LaboratoryCalifornia Institute of Technology

PTAMRemoving the Features

[Forster et al. ICRA 2014]

● Use dense approach for initial alignment in tracking part– Use dense VO to replace motion model– Refine: sparse feature matching with map– Good initial motion estimate

disambiguates similar features and reduces wrong matches

– Speed-up of feature matching due to small search region

– Example: SVO

● Hybrid between sparse, dense, VO, and SLAM

Page 14: Hybrids Mixed Approaches Stephan Weiss

June 28, 2014 CVPR Tutorial on VSLAM -- S. Weiss 14

Jet Propulsion LaboratoryCalifornia Institute of Technology

PTAMRemoving the Features

[Forster et al. ICRA 2014]

Page 15: Hybrids Mixed Approaches Stephan Weiss

June 28, 2014 CVPR Tutorial on VSLAM -- S. Weiss 15

Jet Propulsion LaboratoryCalifornia Institute of Technology

Q & A