Docsity

Aulas Visão Computacional, Resumos de Engenharia Elétrica

Pré-visualização parcial do texto

Baixe Aulas Visão Computacional e outras Resumos em PDF para Engenharia Elétrica, somente na Docsity!

Ranjay Krishna Lecture 19 - March 11, 2025

Lecture 19

Structure from motion

Ranjay Krishna Lecture 19 - March 11, 2025

Administrative

A5 is out

  • Due May 14th

Exam

  • Mon, Mar 17 10:30-12:
  • Same room as lecture: G
  • List of topics posted on EdStem

Makeup exam

  • Friday 14th (emails have been sent out with location and time)

Ranjay Krishna Lecture 19 - March 11, 2025

So far: camera calibration

Estimate camera parameters (K[R|t) by measuring

  • real world points X (^) i in world space
  • the same points in pixel space x (^) i
  • Solve for K[R | t] using SVD after posing the problem as Ap = 0
    • where p are camera parameters and A is obtained from mapping X (^) i to x (^) i

Ranjay Krishna Lecture 19 - March 11, 2025

So far: in other words, we can estimate

camera motion given multiple images…

https://kornia.readt hedocs.io/en/latest /applications/image _matching.html

Ranjay Krishna Lecture 19 - March 11, 2025

If we knew the camera parameters, we would be able to find the 3D world coordinates of things

Camera 3 R 3 ,t (^3)

?

Camera 1 (^) Camera 2 R 1 ,t (^1) R 2 ,t^2

Triangulation: estimating 3D points from 2D correspondences

Ranjay Krishna Lecture 19 - March 11, 2025

First we need to estimate motion (R, t) from 2D correspondences (we already did this)

Camera 1 (^) Camera 2 Camera 3 R 1 ,t (^1) R 2 ,t^2

? (^)?? R 3 ,t (^3)

Noah SnavelySlide credit:

Ranjay Krishna Lecture 19 - March 11, 2025

● Triangulation ● Epipolar geometry ● Essential matrix ● Fundamental matrix ● Structure from motion

Today's agenda

Ranjay Krishna Lecture 19 - March 11, 2025

Triangulation

image 1 image 2

Given

camera 1 with matrix camera 2 with matrix

Ranjay Krishna Lecture 19 - March 11, 2025

Triangulation formalization

Given a set of (noisy) matched points

and camera matrices

Estimate the 3D point

Ranjay Krishna Lecture 19 - March 11, 2025

Triangulation equation

Q. Can we compute X from a single correspondence x?

known known

Ranjay Krishna Lecture 19 - March 11, 2025

Triangulation

Apply the pseudo-inverse of P on x. Then connect the two points. This procedure is called backprojection

image 1 image 2

camera 1 with matrix camera 2 with matrix

Why does this point map to x?

Ranjay Krishna Lecture 19 - 17 March 11, 2025

We lose information going from 3D to 2D. Specifically, we lose depth information

Scaling by is the same ray direction but differs by a scale factor corresponding to depth

How do we solve for unknowns in a similarity relation?

Ranjay Krishna Lecture 19 - March 11, 2025

Reminder: cross products from linear algebra Vector (cross) product takes two vectors and returns a vector perpendicular to both

cross product of two vectors in the same direction is zero vector

remember this!!!

Ranjay Krishna Lecture 19 - March 11, 2025

Reminder: cross products from linear algebra

Can also be written as a matrix multiplication

Skew symmetric