Top Banner
Geometry Reconstruction March 22, 2007
45

Geometry Reconstruction

Dec 31, 2015

Download

Documents

jessamine-frye

Geometry Reconstruction. March 22, 2007. Fundamental Matrix. p. Epipolar line. O R. O L. T. Epipoles. An important problem: Determine the epipolar geometry. That is, the correspondence between a point on one camera and its epipolar line on the other camera. Geometry Reconstruction. - PowerPoint PPT Presentation
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Geometry Reconstruction

Geometry Reconstruction

March 22, 2007

Page 2: Geometry Reconstruction

Fundamental Matrix

An important problem: Determine the epipolar geometry. That is, the correspondence between a point on one camera and its epipolar line on the other camera.

p

O

L

OR

Epipoles

Epipolar line

T

Page 3: Geometry Reconstruction

Geometry Reconstruction

Use eight-point algorithm, we can recover the fundamental matrix F.

Knowing the fundamental matrix is lot easier.

Page 4: Geometry Reconstruction

Geometry Reconstruction

Knowing the fundamental matrix, and a pair of corresponding pixels, we would like to obtain the 3D position of the corresponding scene point.

There are three cases:

1. Calibrated cameras and extrinsic parameters are known.

2. Calibrated cameras with unknown extrinsic parameters

3. Uncalibrated cameras.

Page 5: Geometry Reconstruction

Calibrated Cameras (Triangulation)

The geometric reconstruction is absolute (without ambiguity).

Pl

Pr

Page 6: Geometry Reconstruction

Calibrated Camera with Unknown Extrinsic Parameters

The geometric reconstruction is only up to a scale.

Pl

Pr

Main point: we don’t know T (the baseline of the system) and we have no way to ascertain the scale of the scene.

We have only the essential matrix or fundamental matrix to work with.

Page 7: Geometry Reconstruction

Calibrated Camera with Unknown Extrinsic Parameters

pr, pl are the left and right image points in camera coordinates

Intrinsic parameters allow to go from pixel coordinates to camera coordinates.

We get E from a few correspondences. But E is only determined up to a scale!

Page 8: Geometry Reconstruction

Calibrated Camera with Unknown Extrinsic Parameters

Pl

Pr

We have no T, no information on scale.

From E:

Et E = St S=

Find a set of (T, R).

Page 9: Geometry Reconstruction

Uncalibrated Cameras

We have two images, and that’s it!

The reconstruction is only up to a global projective transformation.

Page 10: Geometry Reconstruction

Uncalibrated Cameras

The ambiguity is easy to see.

Only F and pr, pl are known and F is known only up to a scale. (xl, xr are 4-by-1 vectors in homogeneous coordinates).

H a nonsigular 4x4 matrix

Page 11: Geometry Reconstruction

Uncalibrated Cameras

Projective Transform:

Given a 3D point, x=(x1, x2, x3). In homogenous coordinates, it is x= (x1, x2, x3, 1). If Hx = (y1, y2, y3, y4), then the image of the 3D point x under the projective transform H is (y1/y4, y2/y4, y3/y4).

It is a 15-dimensional (non-linear) transformation group.

It is important that we know there is ambiguity in reconstruction, but it is only up to a 15-dimensional transformation group. Ambiguity is global not local.

Page 12: Geometry Reconstruction

You have a weird camera…. A better camera perhaps.

Impossible result

Page 13: Geometry Reconstruction
Page 14: Geometry Reconstruction

Uncalibrated Cameras

Normalize Prt to [ I3 | 0 ]. Find a Pl

t that satisfy the equations above.

Pl = [ S F | e’ ] for some skew-symmetric matrix S and e’ the left epipole will do

Let S = [ e’ ] x

Page 15: Geometry Reconstruction
Page 16: Geometry Reconstruction
Page 17: Geometry Reconstruction
Page 18: Geometry Reconstruction

More about the class

1. We will cover two (and half) more topics: Shape from shading (differential geometry), optical flows (motions) and perhaps recognition (Chapters 10-13 in Horns’ book )

2. Office hours: Normally 2-4 on Friday. But come by anytime you need to discuss issues/problems with me. (Send email to see if I am in office.)

3. Assignments: To be discussed.

4. Solutions: Will be available starting today. TA has a busy semester so far.

5. Problem 4 will be available shortly ( couldn’t make the Monday deadline).

Page 19: Geometry Reconstruction

Summary

Page 20: Geometry Reconstruction
Page 21: Geometry Reconstruction

Metric Reconstruction

More sophisticated method using other constraints will reduce the projective ambiguity down to a global unknown similarity transform. Assume

1. both cameras have the same intrinsic parameters

2. Sufficiently many orthogonal lines have been identified.

Covered in advanced vision class.

Page 22: Geometry Reconstruction
Page 23: Geometry Reconstruction

Reconstruction From N-Views

(Projective) Reconstruction from a possibly large set of images.

Problem:

• Set of 3D points, Xj

• Set of cameras Pi

• For each camera, image points xji (the input data)

• Find Pi, Xj, such that Pi Xj = xji

Page 24: Geometry Reconstruction

N views and M points:

Total number of parameters: 11N+3M.

Number of Equations: NM

With enough points and views, we have number of equations > total number of parameters. The problem is over-constrained. (What about N=2?)

Reconstruction From N-Views

Page 25: Geometry Reconstruction
Page 26: Geometry Reconstruction
Page 27: Geometry Reconstruction
Page 28: Geometry Reconstruction

Tomasi and kanade

Page 29: Geometry Reconstruction

Factorization

Page 30: Geometry Reconstruction

Factorization

m is the number views and n is the number of points.

Page 31: Geometry Reconstruction

SVD and factorization

Page 32: Geometry Reconstruction

Projective Factorization

Page 33: Geometry Reconstruction

Iterative Optimization

Page 34: Geometry Reconstruction
Page 35: Geometry Reconstruction

State of the Art

Input: A video sequence

Output: Camera Matrices and 3D locations of the points (up to a global similarity transform).

Page 36: Geometry Reconstruction

Stereo Correspondence Problem

Page 37: Geometry Reconstruction
Page 38: Geometry Reconstruction

Solving Stereo Correspondence Problem

1. Intensity Correlation

2. Edge Matching

Page 39: Geometry Reconstruction

Intensity Correlation

Page 40: Geometry Reconstruction

Intensity Correlation

Page 41: Geometry Reconstruction

Intensity Correlation

Page 42: Geometry Reconstruction

Edge Correlation

Page 43: Geometry Reconstruction

Why Stereo Correspondence Problem Hard?

Distorted Subwindows if disparity is not constant (complicates correlation)

Page 44: Geometry Reconstruction

Why Stereo Correspondence Problem Hard?

Page 45: Geometry Reconstruction

Why Stereo Correspondence Problem Hard?