$25
1.Singular Value Decomposition (4 pts): This is an important tool that allows us to solve systems of equations π΄π₯β ≈ β0β,|π₯β| = 1. This is useful in camera calibration, where we get such a system of equations and want a non-zero parameter vector π₯β. See Szeliski for an introduction to SVD.
You can think of the SVD as follows:
It takes the component of input π₯β in the π’1 direction, scales it by π1 and outputs it in the π£1
Repeat for all π’π, ππ, and π£π.
The output vector is the sum of all the contributions
Suppose that 2×2 matrix M has singular value decomposition
π ]]
Without computing M, predict the value of ππ₯β for π₯β and π₯β based on the SVD properties. Hint: Note that in both cases πππ₯β has a simple form, so does
π·πππ₯β, and finally, so does ππ·πππ₯β. Now compute M and use it to verify π[1] and
1
1 .
π[ ]
−1
Let matrix π have singular value decomposition π = ππ·ππ. Show that matrix πππ has SVD πππ = ππ·2ππ.
Camera Calibration (10 pts): One restriction in camera calibration is that the world points chosen must not lie in a single plane, that is, they cannot be co-planar, otherwise calibration will fail. To see this, suppose that there are K world points π₯βππ,1 ≤ π ≤ πΎ. We know that we need at least 6 points for calibration, πΎ. Consider what happens if all world points lie in a single plane represented by πΜ (π,π,π,π), defined by π₯Μπ (Szeliski, eqn. 2.7).
Plane containing π₯βππ
The calibration equation is given by π΄πβββ = β0β, written out as
π₯π π¦π π§π π¦π π₯1ππ§1π π₯ π
π¦π π¦1ππ§1π π¦
π¦πΎπ π¦πΎππ§πΎπ π¦πΎπ] π
Ideally, there should be a single vector πβββ such that π΄πβββ (or ). This is the πβββ that we hope to find through the singular value decomposition of π΄. The key concept here is the rank of a matrix, which is the number of independent rows, also the number of independent columns. For this πβββ to exist and be unique, π΄ must have rank = 11 (or 12 with a very small value for the smallest singular value π12. Show that if all world points are co-planar, then π΄ cannot have rank greater than 9 by finding 3 independent non-zero vectors πβββ such that
π΄πβββ = β0β. (These independent vectors establish that the nullspace of π΄ has rank at least 3; hence π΄’s rank cannot exceed 12-3=9.) In this case, it is not possible to find a unique πβββ such that π΄πβββ = β0β and the calibration procedure fails.
Hint: The non-zero vectors πβββ are mostly 0s. Use the fact that if all world points are coplanar, then π₯Μππ .
Focus of Expansion (8 pts): Suppose that the viewer (camera) is moving. We can model this in the imaging equations as
2
πΆ = π
πβπ +πββ and πβπΌ |πβ| πβπΆ
πβ
πβπβπΆ
by letting R and πββ depend on time, π
. Assume that the camera is
translating with velocity πββπΆ π πββ and that there is no rotation, π π
(π‘) = 0 . As we know
ππ‘ππ‘
from experience, points in the image will seem to move. As we saw in class, image points will appear to move with velocity
πΌ π πβπΌ(πβπΌ ×πββπΆ)×πβ).
πββ
ππ‘ πβπβπΆ
The Focus of Expansion (FOE) is the point in the image toward which the camera appears to be moving, given by the projection of πββπΆ into the image. That is,
πΌ |πβ|πββπΆ.
πβ FOE
πβπββπΆ
Show that for any world point πβπ, its image point πβπΌ will appear to move with velocity
πββπΌ = π(πβπΌ −πβπΌFOE),
proving that image points appear to move toward or away from the FOE. What is k?