Katerina Nikiforova | knikifor
[[1.15417802e+03 0.00000000e+00 5.75066005e+02] [0.00000000e+00 1.15417802e+03 4.31939090e+02] [0.00000000e+00 0.00000000e+00 1.00000000e+00]]
The algorithm is as follows:
1. Compute vanishing points from pairs of parallel lines l1 and l2 by finding their intersection at l1 x l2
2. Using 3 such points, create a constraint matrix A representing
d1^T w d2 = Aw = 0for orthogonal directions
[x1*x2+y1*y2, z1*x2+x1*z2, z1*y2+y1*z2, z1*z2]3. Solve for w using SVD 4. Use Cholesky composition to obtain K^-1, and invert to get K.
[[4.14317649e+03 8.83843584e+02 5.66086890e+02] [0.00000000e+00 1.28857021e+03 3.10005832e+02] [0.00000000e+00 0.00000000e+00 1.00000000e+00]]
Plane Pair | Angle (degrees) |
---|---|
Plane 1 & Plane 2 | 89.92 |
Plane 1 & Plane 3 | 89.92 |
Plane 2 & Plane 3 | 89.73 |
The algorithm is as follows:
1. Compute homography for imaged plane using four labeled pixel annotations and PNP w.r.t. coordinate system defined for plane.
2. Using 3 such homographies, create two constraints in matrix A where each H = [h1 | h2 | h3]
- The constraints will represent each plane's imaged circular points, which lie on the absolute conic. The constraints are
h1^T w h2 = A[2i]w = 0for each plane, as well as
h1^T w h1 - h2^T w h2 = A[2i+1]w = 0