Motion estimation from image and inertial measurements

61
1 Motion estimation from image and inertial measurements Dennis Strelow and Sanjiv Singh

description

Motion estimation from image and inertial measurements. Dennis Strelow and Sanjiv Singh. On the web. Related materials: these slides related papers movies VRML models at: http://www.cs.cmu.edu/~dstrelow/northrop. Introduction (1). micro air vehicle (MAV) navigation. - PowerPoint PPT Presentation

Transcript of Motion estimation from image and inertial measurements

Page 1: Motion estimation from image and inertial measurements

1

Motion estimation from image and inertial measurements

Dennis Strelow and Sanjiv Singh

Page 2: Motion estimation from image and inertial measurements

2

On the web

Related materials:

these slides

related papers

movies

VRML models

at:

http://www.cs.cmu.edu/~dstrelow/northrop

Page 3: Motion estimation from image and inertial measurements

3

Introduction (1)

micro air vehicle (MAV) navigation

AeroVironment Black Widow AeroVironment Microbat

Page 4: Motion estimation from image and inertial measurements

4

Introduction (2)

mars rover navigation

Mars Exploration Rovers (MER) Hyperion

Page 5: Motion estimation from image and inertial measurements

5

Introduction (3)

robotic search and rescue

RhexCenter for Robot-Assisted Search and Rescue, U. of South Florida

Page 6: Motion estimation from image and inertial measurements

6

Introduction (4)

NASA ISS personal satellite assistant

Page 7: Motion estimation from image and inertial measurements

7

Introduction (5)

Each of these problems requires:

6 DOF motion

in unknown environments

without GPS or other absolute positioning

over the long term

…and some of the problems require:

small, light, and cheap sensors

Page 8: Motion estimation from image and inertial measurements

8

Introduction (6)

Monocular, image-based motion estimation is a good candidate

In particular, simultaneous estimation of:

multiframe motion

sparse scene structure

is the most promising approach

Page 9: Motion estimation from image and inertial measurements

9

Outline

Image-based motion estimation

Improving estimation

Improving feature tracking

Reacquisition

Page 10: Motion estimation from image and inertial measurements

10

Outline

Image-based motion estimation

refresher

difficulties

Improving estimation

Improving feature tracking

Reacquisition

Page 11: Motion estimation from image and inertial measurements

11

Image-based motion estimation: refresher (1)

A two-step process is typical…

First, sparse feature tracking:

Inputs: raw images

Outputs: projections

Page 12: Motion estimation from image and inertial measurements

12

Image-based motion estimation: refresher (2)

Page 13: Motion estimation from image and inertial measurements

13

Image-based motion estimation: refresher (3)

Second, estimation:

Input:

Outputs: 6 DOF camera position at the time of each

image 3D position of each tracked point

projections from tracker

Page 14: Motion estimation from image and inertial measurements

14

Image-based motion estimation: refresher (4)

Page 15: Motion estimation from image and inertial measurements

15

Image-based motion estimation: refresher (5)

Algorithms exist

For tracking:

Lucas-Kanade (Lucas and Kanade, 1981)

Page 16: Motion estimation from image and inertial measurements

16

Image-based motion estimation: refresher (6)

For estimation:

SVD-based factorization (Tomasi and Kanade, 1992)

bundle adjustment (various, 1950’s)

Kalman filtering (Broida and Chellappa, 1990)

variable state dimension filter (McLauchlan, 1996)

Page 17: Motion estimation from image and inertial measurements

17

Image-based motion estimation: difficulties (1)

So, the problem is solved?

Page 18: Motion estimation from image and inertial measurements

18

Image-based motion estimation: difficulties (2)

If so, where are the automatic systems for estimating the motion of:

in unknown environments?

from images in unknown environments?

Page 19: Motion estimation from image and inertial measurements

19

Image-based motion estimation: difficulties (3)

…and for automatically modeling

rooms

buildings

cities

from a handheld camera?

Page 20: Motion estimation from image and inertial measurements

20

Image-based motion estimation: difficulties (4)

Estimation step can be very sensitive to:

incorrect or insufficient image feature tracking

camera modeling and calibration errors

outlier detection thresholds

sequences with degenerate camera motions

Page 21: Motion estimation from image and inertial measurements

21

Image-based motion estimation: difficulties (5)

…and for recursive methods in particular:

poor prior assumptions on the motion

poor approximations in state error modeling

Page 22: Motion estimation from image and inertial measurements

22

Image-based motion estimation: difficulties (6)

151 images, 23 points

Page 23: Motion estimation from image and inertial measurements

23

Image-based motion estimation: difficulties (7)

Page 24: Motion estimation from image and inertial measurements

24

Outline

Image-based motion estimation

Improving estimation

overview

image and inertial measurements

Improving feature tracking

Reacquisition

Page 25: Motion estimation from image and inertial measurements

25

Improving estimation: overview

Page 26: Motion estimation from image and inertial measurements

26

Improving estimation: overview

Page 27: Motion estimation from image and inertial measurements

27

Improving estimation: image and inertial (1)

Image and inertial measurements are highly complimentary

Inertial measurements can:

resolve the ambiguities in image-only estimates

establish the global scale

Page 28: Motion estimation from image and inertial measurements

28

Improving estimation: image and inertial (2)

Images measurements can:

reduce the drift in integrating inertial measurements

distinguish between rotation, gravity, acceleration, bias, noise in accelerometer readings

Page 29: Motion estimation from image and inertial measurements

29

Improving estimation: image and inertial (3)

Page 30: Motion estimation from image and inertial measurements

30

Improving estimation: image and inertial (4)

Page 31: Motion estimation from image and inertial measurements

31

Improving estimation: image and inertial (5)

Other examples:

• global scale typically within 5%

• better convergence than image-only estimation

Page 32: Motion estimation from image and inertial measurements

32

Improving estimation: image and inertial (6)

Many more details in:

Dennis Strelow and Sanjiv Singh. Motion estimation from image and inertial measurements. International Journal of Robotics Research, to appear.

Page 33: Motion estimation from image and inertial measurements

33

Outline

Image-based motion estimation

Improving estimation

Improving feature tracking

Lucas-Kanade

Lucas-Kanade and real sequences

The “smalls” tracker

Reacquisition

Page 34: Motion estimation from image and inertial measurements

34

Improving feature tracking: Lucas-Kanade (1)

Lucas-Kanade has been the go-to feature tracker from shape-from-motion

iteratively minimize the intensity matching error…

…with respect to the feature’s position in the new image

Page 35: Motion estimation from image and inertial measurements

35

Improving feature tracking: Lucas-Kanade (2)

Additional heuristics used to apply Lucas-Kanade to shape-from-motion:

task: heuristic:

choose features to track high image texture

detect mistracking or occlusion

convergence and matching error

handle large motions image pyramid

Page 36: Motion estimation from image and inertial measurements

36

Improving feature tracking: Lucas-Kanade (3)

Lucas-Kanade advantages:

fast

subpixel resolution

can handle some large motions well

uses general minimization, so easily extendible

Page 37: Motion estimation from image and inertial measurements

37

Improving feature tracking: Lucas-Kanade (4)

0.1 average pixel reprojection error!

Page 38: Motion estimation from image and inertial measurements

38

Improving feature tracking: Lucas-Kanade and real sequences (1)

But Lucas-Kanade performs poorly on many real sequences…

Page 39: Motion estimation from image and inertial measurements

39

Improving feature tracking: Lucas-Kanade and real sequences (2)

…and image-based motion estimation can be sensitive to errors in feature tracking

Page 40: Motion estimation from image and inertial measurements

40

Improving feature tracking: Lucas-Kanade and real sequences (3)

Page 41: Motion estimation from image and inertial measurements

41

Improving feature tracking: Lucas-Kanade and real sequences (4)

Page 42: Motion estimation from image and inertial measurements

42

Improving feature tracking: Lucas-Kanade and real sequences (5)

Page 43: Motion estimation from image and inertial measurements

43

Improving feature tracking: Lucas-Kanade and real sequences (6)

Why does Lucas-Kanade perform poorly on many real sequences?

the heuristics are poor

the features are tracked independently

task: heuristic:

choose features to track high image texture

detect mistracking or occlusion

convergence and matching error

handle large motions image pyramid

Page 44: Motion estimation from image and inertial measurements

44

Improving feature tracking: the “smalls” tracker (1)

smalls is a new feature tracker for shape-from-motion and similar applications

eliminates the heuristics normally used with Lucas-Kanade

enforces the rigid scene constraint

Page 45: Motion estimation from image and inertial measurements

45

Improving feature tracking: the “smalls” tracker (2)

Leonard Smalls; tracker, manhunter

Page 46: Motion estimation from image and inertial measurements

46

Improving feature tracking: the “smalls” tracker (3)

epipolar geometry

1-D matchingalong epipolar lines

geometric mistracking detection

feature death and birthoutput

to 6 DOFfeatur

esestimatio

n

Page 47: Motion estimation from image and inertial measurements

47

Improving feature tracking: the “smalls” tracker (3)

epipolar geometry

1-D matchingalong epipolar lines

geometric mistracking detection

feature death and birthoutput

to 6 DOF

SIFT

features

estimation

features

Page 48: Motion estimation from image and inertial measurements

48

Improving feature tracking: the “smalls” tracker (4)

SIFT keypoints (Lowe, IJCV 2004):

image interest points

can be extracted despite of large changes in viewpoint

to subpixel accuracy

A keypoint’s feature vectors in two images usually match

Page 49: Motion estimation from image and inertial measurements

49

Improving feature tracking: the “smalls” tracker (5)

Epipolar geometry between adjacent images is determined using…

SIFT extraction and matching

two-frame bundle adjustment

RANSAC

epipolar geometrySIFTfeatur

es

Page 50: Motion estimation from image and inertial measurements

50

Improving feature tracking: the “smalls” tracker (6)

Search for new feature locations constrained to epipolar lines:

1. initial position from nearby SIFT matches

2. discrete SSD search (e.g., 60 pixels)

3. 1-D Lucas-Kanade refines the match

1-D matchingalong epipolar lines

Page 51: Motion estimation from image and inertial measurements

51

Improving feature tracking: the “smalls” tracker (7)

Mistracked or occluded features are detected using geometric consistency between triples of images

geometric mistracking detection

• three-frame bundle adjustment

• RANSAC

Page 52: Motion estimation from image and inertial measurements

52

Improving feature tracking: the “smalls” tracker (8)

After tracking in each image:

features are pruned to maintain a minimum separation

new features are selected in those parts of the image not already covered

feature death and birthoutput

to 6 DOFfeatur

esestimatio

n

Page 53: Motion estimation from image and inertial measurements

53

Improving feature tracking: the “smalls” tracker (9)

Page 54: Motion estimation from image and inertial measurements

54

Improving feature tracking: the “smalls” tracker (10)

Page 55: Motion estimation from image and inertial measurements

55

Improving feature tracking: the “smalls” tracker (11)

Page 56: Motion estimation from image and inertial measurements

56

Improving feature tracking: the “smalls” tracker (12)

Page 57: Motion estimation from image and inertial measurements

57

Outline

Image-based motion estimation

Improving image-based motion estimation

Improving feature tracking

Reacquisition

Page 58: Motion estimation from image and inertial measurements

58

Reacquisition (1)

Image-based motion estimates from any system will drift:

if the features we see are always changing

given sufficient time

if we don’t recognize when we’ve revisited a location

Page 59: Motion estimation from image and inertial measurements

59

Reacquisition (2)

Page 60: Motion estimation from image and inertial measurements

60

Reacquisition (3)

Page 61: Motion estimation from image and inertial measurements

61

Thanks!

Related materials:

these slides

related papers

movies

VRML models

at:

http://www.cs.cmu.edu/~dstrelow/northrop