You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/rotation_averager.md
+9-2Lines changed: 9 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,8 +50,15 @@ The gravity direction file is expected to be of the following format
50
50
```
51
51
IMAGE_NAME GX GY GZ
52
52
```
53
-
The gravity direction $g$ should $[0, 1, 0]$ if the image is parallel to the ground plane, and the estimated rotation would have the property that $R_i \cdot [0, 1, 0]^\top = g$.
54
-
If is acceptable if only a subset of all images have gravity direciton.
53
+
The gravity direction $g$ should $[0, 1, 0]$ if the image is orthogonal to the ground plane, and the estimated rotation would have the property that $R_i \cdot [0, 1, 0]^\top = g$.
54
+
More explicitly, suppose we can transpose a 3D point from the world coordinate to the image coordinate by RX + t = x. Here:
55
+
-`R` is a 3x3 rotation matrix that aligns the world coordinate system with the image coordinate system.
56
+
-`X` is a 3D point in the world coordinate system.
57
+
-`t` is a 3x1 translation vector that shifts the world coordinate system to the image coordinate system.
58
+
-`x` is the corresponding 3D point in the image coordinate system.
59
+
The gravity direction should be the second column of the rotation matrix `R`.
60
+
61
+
It is acceptable if only a subset of all images have gravity direction.
55
62
If the specified image name does not match any known image name from relative pose, it is ignored.
0 commit comments