Skip to content

Commit 01060b4

Browse files
lpanafCopilotahojnnes
authored
improved readme (#194)
* improved readme * Update docs/rotation_averager.md Co-authored-by: Copilot <[email protected]> * Update docs/getting_started.md Co-authored-by: Copilot <[email protected]> * Update docs/rotation_averager.md Co-authored-by: Copilot <[email protected]> * Update docs/getting_started.md Co-authored-by: Johannes Schönberger <[email protected]> * Update docs/getting_started.md Co-authored-by: Johannes Schönberger <[email protected]> --------- Co-authored-by: Copilot <[email protected]> Co-authored-by: Johannes Schönberger <[email protected]>
1 parent e02a801 commit 01060b4

File tree

3 files changed

+16
-3
lines changed

3 files changed

+16
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ glomap mapper --database_path DATABASE_PATH --output_path OUTPUT_PATH --image_pa
4141
```
4242
For more details on the command line interface, one can type `glomap -h` or `glomap mapper -h` for help.
4343

44-
We also provide a guide on improving the obtained reconstruction, which can be found [here](docs/getting_started.md)
44+
We also provide a guide on improving the obtained reconstruction, which can be found [here](docs/getting_started.md).
4545

4646
Note:
4747
- GLOMAP depends on two external libraries - [COLMAP](https://github.com/colmap/colmap) and [PoseLib](https://github.com/PoseLib/PoseLib).

docs/getting_started.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,9 @@ retriangulation should already been performed.
4444
The number of global positioning and bundle adjustment iterations can be limited
4545
using the `--GlobalPositioning.max_num_iterations` and
4646
`--BundleAdjustment.max_num_iterations` options.
47+
48+
#### Enable GPU-based solver
49+
50+
If Ceres 2.3 or above is installed and cuDSS is installed, GLOMAP supports GPU
51+
accelerated optimization. The process can be largely sped up with flags
52+
`--GlobalPositioning.use_gpu 1 --BundleAdjustment.use_gpu`.

docs/rotation_averager.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,15 @@ The gravity direction file is expected to be of the following format
5050
```
5151
IMAGE_NAME GX GY GZ
5252
```
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.
5562
If the specified image name does not match any known image name from relative pose, it is ignored.
5663

5764
### Output

0 commit comments

Comments
 (0)