Introduction to computer vision 10
Jean Ponce
Zuhaib Akhtar za2023@nyu.edu
Ayush Jain aj3152@nyu.edu
Slides will be available after classes
Structure from motion
Euclidean (= similarity) ambiguity
If M is unconstrained:�Projective ambiguity
Projective ambiguity
Structure from motion
center at�infinity
The Affine Structure-from-Motion Problem
Problem: estimate the m 2x4 matrices M and
the n positions P from the mn correspondences p .
i
j
ij
2mn equations in 8m+3n unknowns
Overconstrained problem, that can be solved
using (non-linear) least squares!
The Affine Ambiguity of Affine SFM
If M and P are solutions,
i
j
So are M’ and P’ where
i
j
and
Q is an affine
transformation.
When the intrinsic parameters are unknown
Types of ambiguity
Projective
15dof
Affine
12dof
Similarity
7dof
Euclidean
6dof
Preserves incidence, tangency, cross-ratios
Preserves parallellism, ratios of lengths along parallel ßlines
Preserves angles, ratios of length
Preserves angles, lengths
Affine Structure from Motion
Reprinted with permission from “Affine Structure from Motion,” by J.J. (Koenderink and A.J.Van Doorn, Journal of the Optical Society of America A,
8:377-385 (1990). © 1990 Optical Society of America.
Given m pictures of n points, can we recover
(structure)
(motion)
Affine projections induce affine transformations from planes
onto their images.
Planar
affine
6dof
Preserves parallellism, ratios of lengths along parallel lines
barycentric coordinates
Affine coordinate are planar affine invariants
..and so are (signed) ratios of distances along
parallel lines
Affine coordinate are planar affine invariants
and thus affine projection invariants..
..and so are (signed) ratios of distances along
parallel lines
Geometric affine scene reconstruction from two images
(Koenderink and Van Doorn, 1991).
Geometric affine scene reconstruction from two images
(Koenderink and Van Doorn, 1991).
Geometric affine scene reconstruction from two images
(Koenderink and Van Doorn, 1991).
Geometric affine scene reconstruction from two images
(Koenderink and Van Doorn, 1991).
Geometric affine scene reconstruction from two images
(Koenderink and Van Doorn, 1991).
Geometric affine scene reconstruction from two images
(Koenderink and Van Doorn, 1991).
The Affine Epipolar Constraint
The Affine Epipolar Constraint
Note: the epipolar lines are parallel.
Affine Epipolar Geometry
The Affine Fundamental Matrix
where
Without normalization
With normalization
Mean errors:
10.0pixel
9.1pixel
Mean errors:
1.0pixel
0.9pixel
Perspective case..
Mean errors: 3.24 and 3.15pixel (without normalization
160.92 and 158.54pixel).
Affine case..
The Affine Epipolar Constraint
Note: the epipolar lines are parallel.
An Affine Trick..
An Affine Trick..
Algebraic Scene Reconstruction Method
Affine reconstruction. Mean relative error: 3.2%
The Affine Structure-from-Motion Problem
Problem: estimate the m 2x4 matrices M and
the n positions P from the mn correspondences p .
i
j
ij
2mn equations in 8m+3n unknowns
Overconstrained problem, that can be solved
using (non-linear) least squares!
Multiple affine images (Tomasi & Kanade, 1992)
Idea 1: pick one of the points (or their center of mass)
as the origin to reduce the problem to a bilinear one
(WP projection preserves center of mass)
Multiple affine images (Tomasi & Kanade, 1992)
Idea 1: pick one of the points (or their center of mass)
as the origin to reduce the problem to a bilinear one
Idea 2: Use SVD to decompose D into A and P factors
(WP projection preserves center of mass)
Singular Value Decomposition
Singular Value Decomposition
Theorem: When A has rank p<n, the SVD takes the form
Multiple affine images (Tomasi & Kanade, 1992)
Affine reconstruction. Mean relative error: 2.8%