Problem Set 7
CMSC
426
Assigned
Thursday, April 29; Due Thursday, May 6
9 27 21 24 24 9
I = 19 22 10 19 19 19
19 43 38 36 33 25
24 29 9 24 24 24
This has the same form used in class. Each column represents the coordinates of a different point, the first two rows give the u and v coordinates of the points in the first image, the second two rows give the coordinates for the second image. Produce a new matrix, J, in which all translation in I has been removed.
J =
6 6 6 3 21 24
6 18 6 15 3 12
29 29 8 10 ?? 41
10 30 10 25 5 ??
Two entries in this matrix are missing.
Use the rank constraint to fill them in.
Note this is a bit of a trick question.
Instead, I suggest solving the problem with
J2 =
16
12 11
26 16
43
45
40 10
15 35
25
5 0
10 10
?? 20
43
40 10
33 21
??
You may solve this problem with either J or J2.
For extra credit, solve the problem with both, and explain why the
original formulation is a bit tricky.
J =
21 0 24 6 9 18
0 18 12 15 0 18
34 15 41 26 21 u
0 30 20 25 0 v
Two entries are missing, denoted by u and v. Write an equation that describes the location that (u,v) must have in the second image. Why can’t we just use the rank constraint to fill them in, as we did with problem 2?
. Note this
is a bit of a trick question. Instead,
I suggest solving the problem with
J2 =
54
47 47
44 35
48
10
45 0
30 35
45
30
40 40
40 10
u
46
47 20
34 57
v
You may solve this problem with either J or J2. For extra credit, solve the problem with both, and explain why the original formulation is a bit tricky.
J =
9 15 12 6 6 15
9 3 21 3 15 21
21 20 37 29 32 20
15 5 35 5 25 35
15 25 20 10 10 25
21 3 49 31 47 21
Using singular value decomposition (svd in MATLAB), factor J into two matrices, S and P, so that J = S*P. P will be a matrix representing possible 3D coordinates of points, so it should be 3x6.
I1 =
6 24 12 9 15 15
25 22 7 13 25 16
15 45 17 31 30 27
34 29 4 14 34 19
I2 =
7 37 17 12 22 22
34 39 8 38 38 25
32 28 8 16 32 20
13 21 5 29 17 13
Determine whether it is possible that these are images of the same 3D points. Explain your reasoning.